/javaunohelper/

/cp-5.3 LibreOffice Help 子仓库文档基金会
summaryrefslogtreecommitdiff
path: root/source/text
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-01 09:51:27 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-16 11:07:30 -0500
commit61173c1b58efa79c0ba6b08348d2796a249d0186 (patch)
tree00ebf544db18942e2a1ecfc5e5fa16931127d38f /source/text
parent3dc2e7497f1798ae4ff6c5c8c562666bc10a393c (diff)
move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
Diffstat (limited to 'source/text')
-rw-r--r--source/text/sbasic/guide/control_properties.xhp59
-rw-r--r--source/text/sbasic/guide/create_dialog.xhp71
-rw-r--r--source/text/sbasic/guide/insert_control.xhp67
-rw-r--r--source/text/sbasic/guide/makefile.mk57
-rw-r--r--source/text/sbasic/guide/sample_code.xhp140
-rw-r--r--source/text/sbasic/guide/show_dialog.xhp73
-rw-r--r--source/text/sbasic/guide/translation.xhp115
-rw-r--r--source/text/sbasic/shared/00000002.xhp77
-rw-r--r--source/text/sbasic/shared/00000003.xhp445
-rw-r--r--source/text/sbasic/shared/01/06130000.xhp93
-rw-r--r--source/text/sbasic/shared/01/06130100.xhp53
-rw-r--r--source/text/sbasic/shared/01/06130500.xhp61
-rw-r--r--source/text/sbasic/shared/01/makefile.mk54
-rw-r--r--source/text/sbasic/shared/01000000.xhp52
-rw-r--r--source/text/sbasic/shared/01010210.xhp69
-rw-r--r--source/text/sbasic/shared/01020000.xhp52
-rw-r--r--source/text/sbasic/shared/01020100.xhp289
-rw-r--r--source/text/sbasic/shared/01020200.xhp59
-rw-r--r--source/text/sbasic/shared/01020300.xhp128
-rw-r--r--source/text/sbasic/shared/01020500.xhp59
-rw-r--r--source/text/sbasic/shared/01030000.xhp55
-rw-r--r--source/text/sbasic/shared/01030100.xhp55
-rw-r--r--source/text/sbasic/shared/01030200.xhp97
-rw-r--r--source/text/sbasic/shared/01030300.xhp74
-rw-r--r--source/text/sbasic/shared/01030400.xhp184
-rw-r--r--source/text/sbasic/shared/01040000.xhp240
-rw-r--r--source/text/sbasic/shared/01050000.xhp80
-rw-r--r--source/text/sbasic/shared/01050100.xhp70
-rw-r--r--source/text/sbasic/shared/01050200.xhp49
-rw-r--r--source/text/sbasic/shared/01050300.xhp66
-rw-r--r--source/text/sbasic/shared/01170100.xhp116
-rw-r--r--source/text/sbasic/shared/01170101.xhp455
-rw-r--r--source/text/sbasic/shared/01170103.xhp78
-rw-r--r--source/text/sbasic/shared/02/11010000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11020000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11030000.xhp65
-rw-r--r--source/text/sbasic/shared/02/11040000.xhp68
-rw-r--r--source/text/sbasic/shared/02/11050000.xhp71
-rw-r--r--source/text/sbasic/shared/02/11060000.xhp71
-rw-r--r--source/text/sbasic/shared/02/11070000.xhp64
-rw-r--r--source/text/sbasic/shared/02/11080000.xhp69
-rw-r--r--source/text/sbasic/shared/02/11090000.xhp87
-rw-r--r--source/text/sbasic/shared/02/11100000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11110000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11120000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11140000.xhp68
-rw-r--r--source/text/sbasic/shared/02/11150000.xhp67
-rw-r--r--source/text/sbasic/shared/02/11160000.xhp66
-rw-r--r--source/text/sbasic/shared/02/11170000.xhp65
-rw-r--r--source/text/sbasic/shared/02/11180000.xhp74
-rw-r--r--source/text/sbasic/shared/02/11190000.xhp62
-rw-r--r--source/text/sbasic/shared/02/20000000.xhp444
-rw-r--r--source/text/sbasic/shared/02/makefile.mk70
-rw-r--r--source/text/sbasic/shared/03000000.xhp60
-rw-r--r--source/text/sbasic/shared/03010000.xhp51
-rw-r--r--source/text/sbasic/shared/03010100.xhp51
-rw-r--r--source/text/sbasic/shared/03010101.xhp82
-rw-r--r--source/text/sbasic/shared/03010102.xhp96
-rw-r--r--source/text/sbasic/shared/03010103.xhp75
-rw-r--r--source/text/sbasic/shared/03010200.xhp49
-rw-r--r--source/text/sbasic/shared/03010201.xhp73
-rw-r--r--source/text/sbasic/shared/03010300.xhp53
-rw-r--r--source/text/sbasic/shared/03010301.xhp68
-rw-r--r--source/text/sbasic/shared/03010302.xhp68
-rw-r--r--source/text/sbasic/shared/03010303.xhp68
-rw-r--r--source/text/sbasic/shared/03010304.xhp84
-rw-r--r--source/text/sbasic/shared/03010305.xhp70
-rw-r--r--source/text/sbasic/shared/03020000.xhp54
-rw-r--r--source/text/sbasic/shared/03020100.xhp51
-rw-r--r--source/text/sbasic/shared/03020101.xhp79
-rw-r--r--source/text/sbasic/shared/03020102.xhp83
-rw-r--r--source/text/sbasic/shared/03020103.xhp91
-rw-r--r--source/text/sbasic/shared/03020104.xhp78
-rw-r--r--source/text/sbasic/shared/03020200.xhp58
-rw-r--r--source/text/sbasic/shared/03020201.xhp87
-rw-r--r--source/text/sbasic/shared/03020202.xhp99
-rw-r--r--source/text/sbasic/shared/03020203.xhp83
-rw-r--r--source/text/sbasic/shared/03020204.xhp89
-rw-r--r--source/text/sbasic/shared/03020205.xhp78
-rw-r--r--source/text/sbasic/shared/03020301.xhp84
-rw-r--r--source/text/sbasic/shared/03020302.xhp62
-rw-r--r--source/text/sbasic/shared/03020303.xhp91
-rw-r--r--source/text/sbasic/shared/03020304.xhp62
-rw-r--r--source/text/sbasic/shared/03020305.xhp63
-rw-r--r--source/text/sbasic/shared/03020400.xhp63
-rw-r--r--source/text/sbasic/shared/03020401.xhp74
-rw-r--r--source/text/sbasic/shared/03020402.xhp67
-rw-r--r--source/text/sbasic/shared/03020403.xhp77
-rw-r--r--source/text/sbasic/shared/03020404.xhp87
-rw-r--r--source/text/sbasic/shared/03020405.xhp85
-rw-r--r--source/text/sbasic/shared/03020406.xhp65
-rw-r--r--source/text/sbasic/shared/03020407.xhp63
-rw-r--r--source/text/sbasic/shared/03020408.xhp64
-rw-r--r--source/text/sbasic/shared/03020409.xhp82
-rw-r--r--source/text/sbasic/shared/03020410.xhp62
-rw-r--r--source/text/sbasic/shared/03020411.xhp102
-rw-r--r--source/text/sbasic/shared/03020412.xhp69
-rw-r--r--source/text/sbasic/shared/03020413.xhp67
-rw-r--r--source/text/sbasic/shared/03020414.xhp81
-rw-r--r--source/text/sbasic/shared/03020415.xhp64
-rw-r--r--source/text/sbasic/shared/03030000.xhp54
-rw-r--r--source/text/sbasic/shared/03030100.xhp59
-rw-r--r--source/text/sbasic/shared/03030101.xhp80
-rw-r--r--source/text/sbasic/shared/03030102.xhp70
-rw-r--r--source/text/sbasic/shared/03030103.xhp70
-rw-r--r--source/text/sbasic/shared/03030104.xhp70
-rw-r--r--source/text/sbasic/shared/03030105.xhp84
-rw-r--r--source/text/sbasic/shared/03030106.xhp70
-rw-r--r--source/text/sbasic/shared/03030107.xhp63
-rw-r--r--source/text/sbasic/shared/03030108.xhp62
-rw-r--r--source/text/sbasic/shared/03030110.xhp155
-rw-r--r--source/text/sbasic/shared/03030120.xhp188
-rw-r--r--source/text/sbasic/shared/03030130.xhp67
-rw-r--r--source/text/sbasic/shared/03030200.xhp53
-rw-r--r--source/text/sbasic/shared/03030201.xhp65
-rw-r--r--source/text/sbasic/shared/03030202.xhp65
-rw-r--r--source/text/sbasic/shared/03030203.xhp58
-rw-r--r--source/text/sbasic/shared/03030204.xhp66
-rw-r--r--source/text/sbasic/shared/03030205.xhp81
-rw-r--r--source/text/sbasic/shared/03030206.xhp79
-rw-r--r--source/text/sbasic/shared/03030300.xhp52
-rw-r--r--source/text/sbasic/shared/03030301.xhp59
-rw-r--r--source/text/sbasic/shared/03030302.xhp59
-rw-r--r--source/text/sbasic/shared/03030303.xhp66
-rw-r--r--source/text/sbasic/shared/03050000.xhp53
-rw-r--r--source/text/sbasic/shared/03050100.xhp71
-rw-r--r--source/text/sbasic/shared/03050200.xhp72
-rw-r--r--source/text/sbasic/shared/03050300.xhp62
-rw-r--r--source/text/sbasic/shared/03050500.xhp83
-rw-r--r--source/text/sbasic/shared/03060000.xhp55
-rw-r--r--source/text/sbasic/shared/03060100.xhp72
-rw-r--r--source/text/sbasic/shared/03060200.xhp70
-rw-r--r--source/text/sbasic/shared/03060300.xhp70
-rw-r--r--source/text/sbasic/shared/03060400.xhp69
-rw-r--r--source/text/sbasic/shared/03060500.xhp70
-rw-r--r--source/text/sbasic/shared/03060600.xhp70
-rw-r--r--source/text/sbasic/shared/03070000.xhp55
-rw-r--r--source/text/sbasic/shared/03070100.xhp68
-rw-r--r--source/text/sbasic/shared/03070200.xhp68
-rw-r--r--source/text/sbasic/shared/03070300.xhp68
-rw-r--r--source/text/sbasic/shared/03070400.xhp68
-rw-r--r--source/text/sbasic/shared/03070500.xhp64
-rw-r--r--source/text/sbasic/shared/03070600.xhp68
-rw-r--r--source/text/sbasic/shared/03080000.xhp56
-rw-r--r--source/text/sbasic/shared/03080100.xhp52
-rw-r--r--source/text/sbasic/shared/03080101.xhp76
-rw-r--r--source/text/sbasic/shared/03080102.xhp75
-rw-r--r--source/text/sbasic/shared/03080103.xhp76
-rw-r--r--source/text/sbasic/shared/03080104.xhp78
-rw-r--r--source/text/sbasic/shared/03080200.xhp50
-rw-r--r--source/text/sbasic/shared/03080201.xhp67
-rw-r--r--source/text/sbasic/shared/03080202.xhp70
-rw-r--r--source/text/sbasic/shared/03080300.xhp50
-rw-r--r--source/text/sbasic/shared/03080301.xhp68
-rw-r--r--source/text/sbasic/shared/03080302.xhp73
-rw-r--r--source/text/sbasic/shared/03080400.xhp49
-rw-r--r--source/text/sbasic/shared/03080401.xhp66
-rw-r--r--source/text/sbasic/shared/03080500.xhp50
-rw-r--r--source/text/sbasic/shared/03080501.xhp65
-rw-r--r--source/text/sbasic/shared/03080502.xhp65
-rw-r--r--source/text/sbasic/shared/03080600.xhp49
-rw-r--r--source/text/sbasic/shared/03080601.xhp68
-rw-r--r--source/text/sbasic/shared/03080700.xhp49
-rw-r--r--source/text/sbasic/shared/03080701.xhp99
-rw-r--r--source/text/sbasic/shared/03080800.xhp50
-rw-r--r--source/text/sbasic/shared/03080801.xhp77
-rw-r--r--source/text/sbasic/shared/03080802.xhp63
-rw-r--r--source/text/sbasic/shared/03090000.xhp53
-rw-r--r--source/text/sbasic/shared/03090100.xhp51
-rw-r--r--source/text/sbasic/shared/03090101.xhp75
-rw-r--r--source/text/sbasic/shared/03090102.xhp73
-rw-r--r--source/text/sbasic/shared/03090103.xhp59
-rw-r--r--source/text/sbasic/shared/03090200.xhp51
-rw-r--r--source/text/sbasic/shared/03090201.xhp107
-rw-r--r--source/text/sbasic/shared/03090202.xhp110
-rw-r--r--source/text/sbasic/shared/03090203.xhp64
-rw-r--r--source/text/sbasic/shared/03090300.xhp51
-rw-r--r--source/text/sbasic/shared/03090301.xhp84
-rw-r--r--source/text/sbasic/shared/03090302.xhp73
-rw-r--r--source/text/sbasic/shared/03090303.xhp80
-rw-r--r--source/text/sbasic/shared/03090400.xhp60
-rw-r--r--source/text/sbasic/shared/03090401.xhp70
-rw-r--r--source/text/sbasic/shared/03090402.xhp71
-rw-r--r--source/text/sbasic/shared/03090403.xhp75
-rw-r--r--source/text/sbasic/shared/03090404.xhp75
-rw-r--r--source/text/sbasic/shared/03090405.xhp66
-rw-r--r--source/text/sbasic/shared/03090406.xhp90
-rw-r--r--source/text/sbasic/shared/03090407.xhp67
-rw-r--r--source/text/sbasic/shared/03090408.xhp59
-rw-r--r--source/text/sbasic/shared/03090409.xhp65
-rw-r--r--source/text/sbasic/shared/03090410.xhp70
-rw-r--r--source/text/sbasic/shared/03090411.xhp54
-rw-r--r--source/text/sbasic/shared/03090412.xhp94
-rw-r--r--source/text/sbasic/shared/03100000.xhp100
-rw-r--r--source/text/sbasic/shared/03100050.xhp56
-rw-r--r--source/text/sbasic/shared/03100060.xhp56
-rw-r--r--source/text/sbasic/shared/03100070.xhp56
-rw-r--r--source/text/sbasic/shared/03100080.xhp56
-rw-r--r--source/text/sbasic/shared/03100100.xhp74
-rw-r--r--source/text/sbasic/shared/03100300.xhp65
-rw-r--r--source/text/sbasic/shared/03100400.xhp65
-rw-r--r--source/text/sbasic/shared/03100500.xhp66
-rw-r--r--source/text/sbasic/shared/03100600.xhp66
-rw-r--r--source/text/sbasic/shared/03100700.xhp65
-rw-r--r--source/text/sbasic/shared/03100900.xhp66
-rw-r--r--source/text/sbasic/shared/03101000.xhp114
-rw-r--r--source/text/sbasic/shared/03101100.xhp73
-rw-r--r--source/text/sbasic/shared/03101110.xhp76
-rw-r--r--source/text/sbasic/shared/03101120.xhp74
-rw-r--r--source/text/sbasic/shared/03101130.xhp74
-rw-r--r--source/text/sbasic/shared/03101140.xhp74
-rw-r--r--source/text/sbasic/shared/03101300.xhp73
-rw-r--r--source/text/sbasic/shared/03101400.xhp73
-rw-r--r--source/text/sbasic/shared/03101500.xhp73
-rw-r--r--source/text/sbasic/shared/03101600.xhp73
-rw-r--r--source/text/sbasic/shared/03101700.xhp70
-rw-r--r--source/text/sbasic/shared/03102000.xhp74
-rw-r--r--source/text/sbasic/shared/03102100.xhp120
-rw-r--r--source/text/sbasic/shared/03102101.xhp101
-rw-r--r--source/text/sbasic/shared/03102200.xhp64
-rw-r--r--source/text/sbasic/shared/03102300.xhp67
-rw-r--r--source/text/sbasic/shared/03102400.xhp65
-rw-r--r--source/text/sbasic/shared/03102450.xhp57
-rw-r--r--source/text/sbasic/shared/03102600.xhp65
-rw-r--r--source/text/sbasic/shared/03102700.xhp67
-rw-r--r--source/text/sbasic/shared/03102800.xhp59
-rw-r--r--source/text/sbasic/shared/03102900.xhp75
-rw-r--r--source/text/sbasic/shared/03103000.xhp75
-rw-r--r--source/text/sbasic/shared/03103100.xhp64
-rw-r--r--source/text/sbasic/shared/03103200.xhp60
-rw-r--r--source/text/sbasic/shared/03103300.xhp63
-rw-r--r--source/text/sbasic/shared/03103400.xhp58
-rw-r--r--source/text/sbasic/shared/03103450.xhp58
-rw-r--r--source/text/sbasic/shared/03103500.xhp74
-rw-r--r--source/text/sbasic/shared/03103600.xhp209
-rw-r--r--source/text/sbasic/shared/03103700.xhp66
-rw-r--r--source/text/sbasic/shared/03103800.xhp71
-rw-r--r--source/text/sbasic/shared/03103900.xhp76
-rw-r--r--source/text/sbasic/shared/03104000.xhp60
-rw-r--r--source/text/sbasic/shared/03104100.xhp57
-rw-r--r--source/text/sbasic/shared/03104200.xhp60
-rw-r--r--source/text/sbasic/shared/03104300.xhp61
-rw-r--r--source/text/sbasic/shared/03104400.xhp62
-rw-r--r--source/text/sbasic/shared/03104500.xhp71
-rw-r--r--source/text/sbasic/shared/03104600.xhp63
-rw-r--r--source/text/sbasic/shared/03104700.xhp55
-rw-r--r--source/text/sbasic/shared/03110000.xhp49
-rw-r--r--source/text/sbasic/shared/03110100.xhp80
-rw-r--r--source/text/sbasic/shared/03120000.xhp53
-rw-r--r--source/text/sbasic/shared/03120100.xhp53
-rw-r--r--source/text/sbasic/shared/03120101.xhp69
-rw-r--r--source/text/sbasic/shared/03120102.xhp69
-rw-r--r--source/text/sbasic/shared/03120103.xhp68
-rw-r--r--source/text/sbasic/shared/03120104.xhp65
-rw-r--r--source/text/sbasic/shared/03120105.xhp59
-rw-r--r--source/text/sbasic/shared/03120200.xhp50
-rw-r--r--source/text/sbasic/shared/03120201.xhp70
-rw-r--r--source/text/sbasic/shared/03120202.xhp71
-rw-r--r--source/text/sbasic/shared/03120300.xhp64
-rw-r--r--source/text/sbasic/shared/03120301.xhp109
-rw-r--r--source/text/sbasic/shared/03120302.xhp67
-rw-r--r--source/text/sbasic/shared/03120303.xhp74
-rw-r--r--source/text/sbasic/shared/03120304.xhp86
-rw-r--r--source/text/sbasic/shared/03120305.xhp73
-rw-r--r--source/text/sbasic/shared/03120306.xhp80
-rw-r--r--source/text/sbasic/shared/03120307.xhp75
-rw-r--r--source/text/sbasic/shared/03120308.xhp88
-rw-r--r--source/text/sbasic/shared/03120309.xhp73
-rw-r--r--source/text/sbasic/shared/03120310.xhp69
-rw-r--r--source/text/sbasic/shared/03120311.xhp73
-rw-r--r--source/text/sbasic/shared/03120312.xhp65
-rw-r--r--source/text/sbasic/shared/03120313.xhp65
-rw-r--r--source/text/sbasic/shared/03120314.xhp98
-rw-r--r--source/text/sbasic/shared/03120315.xhp61
-rw-r--r--source/text/sbasic/shared/03120400.xhp51
-rw-r--r--source/text/sbasic/shared/03120401.xhp76
-rw-r--r--source/text/sbasic/shared/03120402.xhp67
-rw-r--r--source/text/sbasic/shared/03120403.xhp83
-rw-r--r--source/text/sbasic/shared/03130000.xhp67
-rw-r--r--source/text/sbasic/shared/03130100.xhp62
-rw-r--r--source/text/sbasic/shared/03130500.xhp128
-rw-r--r--source/text/sbasic/shared/03130600.xhp67
-rw-r--r--source/text/sbasic/shared/03130700.xhp64
-rw-r--r--source/text/sbasic/shared/03130800.xhp65
-rw-r--r--source/text/sbasic/shared/03131000.xhp60
-rw-r--r--source/text/sbasic/shared/03131300.xhp58
-rw-r--r--source/text/sbasic/shared/03131400.xhp58
-rw-r--r--source/text/sbasic/shared/03131500.xhp56
-rw-r--r--source/text/sbasic/shared/03131600.xhp70
-rw-r--r--source/text/sbasic/shared/03131700.xhp59
-rw-r--r--source/text/sbasic/shared/03131800.xhp61
-rw-r--r--source/text/sbasic/shared/03131900.xhp83
-rw-r--r--source/text/sbasic/shared/03132000.xhp129
-rw-r--r--source/text/sbasic/shared/03132100.xhp63
-rw-r--r--source/text/sbasic/shared/03132200.xhp64
-rw-r--r--source/text/sbasic/shared/03132300.xhp60
-rw-r--r--source/text/sbasic/shared/03132400.xhp60
-rw-r--r--source/text/sbasic/shared/03132500.xhp53
-rw-r--r--source/text/sbasic/shared/05060700.xhp384
-rw-r--r--source/text/sbasic/shared/keys.xhp120
-rw-r--r--source/text/sbasic/shared/main0211.xhp84
-rw-r--r--source/text/sbasic/shared/main0601.xhp68
-rw-r--r--source/text/sbasic/shared/makefile.mk322
-rw-r--r--source/text/scalc/00/00000004.xhp52
-rw-r--r--source/text/scalc/00/00000402.xhp70
-rw-r--r--source/text/scalc/00/00000403.xhp49
-rw-r--r--source/text/scalc/00/00000404.xhp203
-rw-r--r--source/text/scalc/00/00000405.xhp118
-rw-r--r--source/text/scalc/00/00000406.xhp100
-rw-r--r--source/text/scalc/00/00000407.xhp47
-rw-r--r--source/text/scalc/00/00000412.xhp218
-rw-r--r--source/text/scalc/00/makefile.mk59
-rw-r--r--source/text/scalc/01/01120000.xhp60
-rw-r--r--source/text/scalc/01/02110000.xhp199
-rw-r--r--source/text/scalc/01/02120000.xhp53
-rw-r--r--source/text/scalc/01/02120100.xhp201
-rw-r--r--source/text/scalc/01/02140000.xhp78
-rw-r--r--source/text/scalc/01/02140100.xhp53
-rw-r--r--source/text/scalc/01/02140200.xhp53
-rw-r--r--source/text/scalc/01/02140300.xhp53
-rw-r--r--source/text/scalc/01/02140400.xhp53
-rw-r--r--source/text/scalc/01/02140500.xhp64
-rw-r--r--source/text/scalc/01/02140600.xhp109
-rw-r--r--source/text/scalc/01/02150000.xhp77
-rw-r--r--source/text/scalc/01/02160000.xhp89
-rw-r--r--source/text/scalc/01/02170000.xhp62
-rw-r--r--source/text/scalc/01/02180000.xhp69
-rw-r--r--source/text/scalc/01/02190000.xhp54
-rw-r--r--source/text/scalc/01/02190100.xhp60
-rw-r--r--source/text/scalc/01/02190200.xhp68
-rw-r--r--source/text/scalc/01/02200000.xhp53
-rw-r--r--source/text/scalc/01/02210000.xhp49
-rw-r--r--source/text/scalc/01/03070000.xhp68
-rw-r--r--source/text/scalc/01/03080000.xhp53
-rw-r--r--source/text/scalc/01/03090000.xhp58
-rw-r--r--source/text/scalc/01/03100000.xhp62
-rw-r--r--source/text/scalc/01/04010000.xhp61
-rw-r--r--source/text/scalc/01/04010100.xhp59
-rw-r--r--source/text/scalc/01/04010200.xhp59
-rw-r--r--source/text/scalc/01/04020000.xhp77
-rw-r--r--source/text/scalc/01/04030000.xhp52
-rw-r--r--source/text/scalc/01/04040000.xhp55
-rw-r--r--source/text/scalc/01/04050000.xhp85
-rw-r--r--source/text/scalc/01/04050100.xhp60
-rw-r--r--source/text/scalc/01/04060000.xhp113
-rw-r--r--source/text/scalc/01/04060100.xhp82
-rw-r--r--source/text/scalc/01/04060101.xhp766
-rw-r--r--source/text/scalc/01/04060102.xhp224
-rw-r--r--source/text/scalc/01/04060103.xhp779
-rw-r--r--source/text/scalc/01/04060104.xhp764
-rw-r--r--source/text/scalc/01/04060105.xhp178
-rw-r--r--source/text/scalc/01/04060106.xhp1497
-rw-r--r--source/text/scalc/01/04060107.xhp1280
-rw-r--r--source/text/scalc/01/04060108.xhp162
-rw-r--r--source/text/scalc/01/04060109.xhp627
-rw-r--r--source/text/scalc/01/04060110.xhp664
-rw-r--r--source/text/scalc/01/04060111.xhp180
-rw-r--r--source/text/scalc/01/04060112.xhp717
-rw-r--r--source/text/scalc/01/04060115.xhp310
-rw-r--r--source/text/scalc/01/04060116.xhp747
-rw-r--r--source/text/scalc/01/04060118.xhp607
-rw-r--r--source/text/scalc/01/04060119.xhp619
-rw-r--r--source/text/scalc/01/04060120.xhp124
-rw-r--r--source/text/scalc/01/04060181.xhp457
-rw-r--r--source/text/scalc/01/04060182.xhp335
-rw-r--r--source/text/scalc/01/04060183.xhp206
-rw-r--r--source/text/scalc/01/04060184.xhp368
-rw-r--r--source/text/scalc/01/04060185.xhp531
-rw-r--r--source/text/scalc/01/04060199.xhp310
-rw-r--r--source/text/scalc/01/04070000.xhp60
-rw-r--r--source/text/scalc/01/04070100.xhp81
-rw-r--r--source/text/scalc/01/04070200.xhp62
-rw-r--r--source/text/scalc/01/04070300.xhp70
-rw-r--r--source/text/scalc/01/04070400.xhp79
-rw-r--r--source/text/scalc/01/04080000.xhp79
-rw-r--r--source/text/scalc/01/04090000.xhp67
-rw-r--r--source/text/scalc/01/05020000.xhp75
-rw-r--r--source/text/scalc/01/05020600.xhp68
-rw-r--r--source/text/scalc/01/05030000.xhp58
-rw-r--r--source/text/scalc/01/05030200.xhp62
-rw-r--r--source/text/scalc/01/05030300.xhp78
-rw-r--r--source/text/scalc/01/05030400.xhp61
-rw-r--r--source/text/scalc/01/05040000.xhp58
-rw-r--r--source/text/scalc/01/05040200.xhp64
-rw-r--r--source/text/scalc/01/05050000.xhp69
-rw-r--r--source/text/scalc/01/05050100.xhp68
-rw-r--r--source/text/scalc/01/05050300.xhp52
-rw-r--r--source/text/scalc/01/05060000.xhp58
-rw-r--r--source/text/scalc/01/05070000.xhp55
-rw-r--r--source/text/scalc/01/05070500.xhp110
-rw-r--r--source/text/scalc/01/05080000.xhp58
-rw-r--r--source/text/scalc/01/05080100.xhp53
-rw-r--r--source/text/scalc/01/05080200.xhp53
-rw-r--r--source/text/scalc/01/05080300.xhp73
-rw-r--r--source/text/scalc/01/05080400.xhp53
-rw-r--r--source/text/scalc/01/05100000.xhp176
-rw-r--r--source/text/scalc/01/05100100.xhp28
-rw-r--r--source/text/scalc/01/05100200.xhp27
-rw-r--r--source/text/scalc/01/05110000.xhp91
-rw-r--r--source/text/scalc/01/05120000.xhp98
-rw-r--r--source/text/scalc/01/06020000.xhp83
-rw-r--r--source/text/scalc/01/06030000.xhp66
-rw-r--r--source/text/scalc/01/06030100.xhp58
-rw-r--r--source/text/scalc/01/06030200.xhp58
-rw-r--r--source/text/scalc/01/06030300.xhp56
-rw-r--r--source/text/scalc/01/06030400.xhp52
-rw-r--r--source/text/scalc/01/06030500.xhp52
-rw-r--r--source/text/scalc/01/06030600.xhp52
-rw-r--r--source/text/scalc/01/06030700.xhp57
-rw-r--r--source/text/scalc/01/06030800.xhp53
-rw-r--r--source/text/scalc/01/06030900.xhp71
-rw-r--r--source/text/scalc/01/06031000.xhp53
-rw-r--r--source/text/scalc/01/06040000.xhp62
-rw-r--r--source/text/scalc/01/06050000.xhp90
-rw-r--r--source/text/scalc/01/06060000.xhp60
-rw-r--r--source/text/scalc/01/06060100.xhp61
-rw-r--r--source/text/scalc/01/06060200.xhp57
-rw-r--r--source/text/scalc/01/06070000.xhp59
-rw-r--r--source/text/scalc/01/06080000.xhp61
-rw-r--r--source/text/scalc/01/06130000.xhp78
-rw-r--r--source/text/scalc/01/06990000.xhp54
-rw-r--r--source/text/scalc/01/07080000.xhp57
-rw-r--r--source/text/scalc/01/07090000.xhp53
-rw-r--r--source/text/scalc/01/12010000.xhp65
-rw-r--r--source/text/scalc/01/12010100.xhp57
-rw-r--r--source/text/scalc/01/12020000.xhp59
-rw-r--r--source/text/scalc/01/12030000.xhp56
-rw-r--r--source/text/scalc/01/12030100.xhp79
-rw-r--r--source/text/scalc/01/12030200.xhp107
-rw-r--r--source/text/scalc/01/12040000.xhp59
-rw-r--r--source/text/scalc/01/12040100.xhp56
-rw-r--r--source/text/scalc/01/12040201.xhp84
-rw-r--r--source/text/scalc/01/12040300.xhp60
-rw-r--r--source/text/scalc/01/12040400.xhp55
-rw-r--r--source/text/scalc/01/12040500.xhp52
-rw-r--r--source/text/scalc/01/12050000.xhp57
-rw-r--r--source/text/scalc/01/12050100.xhp85
-rw-r--r--source/text/scalc/01/12050200.xhp69
-rw-r--r--source/text/scalc/01/12060000.xhp64
-rw-r--r--source/text/scalc/01/12070000.xhp72
-rw-r--r--source/text/scalc/01/12070100.xhp57
-rw-r--r--source/text/scalc/01/12080000.xhp65
-rw-r--r--source/text/scalc/01/12080100.xhp53
-rw-r--r--source/text/scalc/01/12080200.xhp58
-rw-r--r--source/text/scalc/01/12080300.xhp58
-rw-r--r--source/text/scalc/01/12080400.xhp57
-rw-r--r--source/text/scalc/01/12080500.xhp106
-rw-r--r--source/text/scalc/01/12080600.xhp52
-rw-r--r--source/text/scalc/01/12080700.xhp51
-rw-r--r--source/text/scalc/01/12090000.xhp53
-rw-r--r--source/text/scalc/01/12090100.xhp61
-rw-r--r--source/text/scalc/01/12090101.xhp65
-rw-r--r--source/text/scalc/01/12090102.xhp126
-rw-r--r--source/text/scalc/01/12090103.xhp121
-rw-r--r--source/text/scalc/01/12090104.xhp62
-rw-r--r--source/text/scalc/01/12090105.xhp176
-rw-r--r--source/text/scalc/01/12090106.xhp78
-rw-r--r--source/text/scalc/01/12090200.xhp54
-rw-r--r--source/text/scalc/01/12090300.xhp46
-rw-r--r--source/text/scalc/01/12090400.xhp68
-rw-r--r--source/text/scalc/01/12100000.xhp51
-rw-r--r--source/text/scalc/01/12120000.xhp57
-rw-r--r--source/text/scalc/01/12120100.xhp163
-rw-r--r--source/text/scalc/01/12120200.xhp63
-rw-r--r--source/text/scalc/01/12120300.xhp76
-rw-r--r--source/text/scalc/01/format_graphic.xhp56
-rw-r--r--source/text/scalc/01/func_date.xhp62
-rw-r--r--source/text/scalc/01/func_datedif.xhp104
-rw-r--r--source/text/scalc/01/func_datevalue.xhp60
-rw-r--r--source/text/scalc/01/func_day.xhp57
-rw-r--r--source/text/scalc/01/func_days.xhp56
-rw-r--r--source/text/scalc/01/func_days360.xhp55
-rw-r--r--source/text/scalc/01/func_eastersunday.xhp60
-rw-r--r--source/text/scalc/01/func_edate.xhp59
-rw-r--r--source/text/scalc/01/func_eomonth.xhp61
-rw-r--r--source/text/scalc/01/func_hour.xhp60
-rw-r--r--source/text/scalc/01/func_minute.xhp60
-rw-r--r--source/text/scalc/01/func_month.xhp56
-rw-r--r--source/text/scalc/01/func_networkdays.xhp60
-rw-r--r--source/text/scalc/01/func_now.xhp55
-rw-r--r--source/text/scalc/01/func_second.xhp58
-rw-r--r--source/text/scalc/01/func_time.xhp59
-rw-r--r--source/text/scalc/01/func_timevalue.xhp62
-rw-r--r--source/text/scalc/01/func_today.xhp55
-rw-r--r--source/text/scalc/01/func_weekday.xhp62
-rw-r--r--source/text/scalc/01/func_weeknum.xhp61
-rw-r--r--source/text/scalc/01/func_weeknumadd.xhp60
-rw-r--r--source/text/scalc/01/func_workday.xhp60
-rw-r--r--source/text/scalc/01/func_year.xhp60
-rw-r--r--source/text/scalc/01/func_yearfrac.xhp110
-rw-r--r--source/text/scalc/01/makefile.mk232
-rw-r--r--source/text/scalc/01/solver.xhp111
-rw-r--r--source/text/scalc/01/solver_options.xhp58
-rw-r--r--source/text/scalc/01/text2columns.xhp73
-rw-r--r--source/text/scalc/02/02130000.xhp68
-rw-r--r--source/text/scalc/02/02140000.xhp74
-rw-r--r--source/text/scalc/02/02150000.xhp68
-rw-r--r--source/text/scalc/02/02160000.xhp67
-rw-r--r--source/text/scalc/02/02170000.xhp67
-rw-r--r--source/text/scalc/02/06010000.xhp72
-rw-r--r--source/text/scalc/02/06030000.xhp69
-rw-r--r--source/text/scalc/02/06040000.xhp64
-rw-r--r--source/text/scalc/02/06050000.xhp50
-rw-r--r--source/text/scalc/02/06060000.xhp67
-rw-r--r--source/text/scalc/02/06070000.xhp67
-rw-r--r--source/text/scalc/02/06080000.xhp67
-rw-r--r--source/text/scalc/02/08010000.xhp52
-rw-r--r--source/text/scalc/02/08080000.xhp65
-rw-r--r--source/text/scalc/02/10050000.xhp72
-rw-r--r--source/text/scalc/02/10060000.xhp71
-rw-r--r--source/text/scalc/02/18010000.xhp86
-rw-r--r--source/text/scalc/02/18020000.xhp67
-rw-r--r--source/text/scalc/02/makefile.mk69
-rw-r--r--source/text/scalc/04/01020000.xhp762
-rw-r--r--source/text/scalc/04/makefile.mk52
-rw-r--r--source/text/scalc/05/02140000.xhp348
-rw-r--r--source/text/scalc/05/empty_cells.xhp84
-rw-r--r--source/text/scalc/05/makefile.mk53
-rw-r--r--source/text/scalc/guide/address_auto.xhp71
-rw-r--r--source/text/scalc/guide/auto_off.xhp82
-rw-r--r--source/text/scalc/guide/autofilter.xhp79
-rw-r--r--source/text/scalc/guide/autoformat.xhp96
-rw-r--r--source/text/scalc/guide/background.xhp82
-rw-r--r--source/text/scalc/guide/borders.xhp228
-rw-r--r--source/text/scalc/guide/calc_date.xhp79
-rw-r--r--source/text/scalc/guide/calc_series.xhp94
-rw-r--r--source/text/scalc/guide/calc_timevalues.xhp56
-rw-r--r--source/text/scalc/guide/calculate.xhp70
-rw-r--r--source/text/scalc/guide/cell_enter.xhp71
-rw-r--r--source/text/scalc/guide/cell_protect.xhp95
-rw-r--r--source/text/scalc/guide/cell_unprotect.xhp64
-rw-r--r--source/text/scalc/guide/cellcopy.xhp90
-rw-r--r--source/text/scalc/guide/cellreference_dragdrop.xhp79
-rw-r--r--source/text/scalc/guide/cellreferences.xhp96
-rw-r--r--source/text/scalc/guide/cellreferences_url.xhp77
-rw-r--r--source/text/scalc/guide/cellstyle_by_formula.xhp84
-rw-r--r--source/text/scalc/guide/cellstyle_conditional.xhp156
-rw-r--r--source/text/scalc/guide/cellstyle_minusvalue.xhp65
-rw-r--r--source/text/scalc/guide/consolidate.xhp100
-rw-r--r--source/text/scalc/guide/csv_files.xhp115
-rw-r--r--source/text/scalc/guide/csv_formula.xhp98
-rw-r--r--source/text/scalc/guide/currency_format.xhp71
-rw-r--r--source/text/scalc/guide/database_define.xhp77
-rw-r--r--source/text/scalc/guide/database_filter.xhp102
-rw-r--r--source/text/scalc/guide/database_sort.xhp70
-rw-r--r--source/text/scalc/guide/datapilot.xhp55
-rw-r--r--source/text/scalc/guide/datapilot_createtable.xhp89
-rw-r--r--source/text/scalc/guide/datapilot_deletetable.xhp56
-rw-r--r--source/text/scalc/guide/datapilot_edittable.xhp64
-rw-r--r--source/text/scalc/guide/datapilot_filtertable.xhp77
-rw-r--r--source/text/scalc/guide/datapilot_grouping.xhp73
-rw-r--r--source/text/scalc/guide/datapilot_tipps.xhp58
-rw-r--r--source/text/scalc/guide/datapilot_updatetable.xhp59
-rw-r--r--source/text/scalc/guide/dbase_files.xhp117
-rw-r--r--source/text/scalc/guide/design.xhp83
-rw-r--r--source/text/scalc/guide/edit_multitables.xhp70
-rw-r--r--source/text/scalc/guide/filters.xhp69
-rw-r--r--source/text/scalc/guide/finding.xhp105
-rw-r--r--source/text/scalc/guide/format_table.xhp87
-rw-r--r--source/text/scalc/guide/format_value.xhp84
-rw-r--r--source/text/scalc/guide/format_value_userdef.xhp136
-rw-r--r--source/text/scalc/guide/formula_copy.xhp88
-rw-r--r--source/text/scalc/guide/formula_enter.xhp79
-rw-r--r--source/text/scalc/guide/formula_value.xhp67
-rw-r--r--source/text/scalc/guide/formulas.xhp118
-rw-r--r--source/text/scalc/guide/fraction_enter.xhp63
-rw-r--r--source/text/scalc/guide/goalseek.xhp77
-rw-r--r--source/text/scalc/guide/html_doc.xhp82
-rw-r--r--source/text/scalc/guide/integer_leading_zero.xhp101
-rw-r--r--source/text/scalc/guide/keyboard.xhp117
-rw-r--r--source/text/scalc/guide/line_fix.xhp75
-rw-r--r--source/text/scalc/guide/main.xhp163
-rw-r--r--source/text/scalc/guide/makefile.mk137
-rw-r--r--source/text/scalc/guide/mark_cells.xhp115
-rw-r--r--source/text/scalc/guide/matrixformula.xhp79
-rw-r--r--source/text/scalc/guide/move_dragdrop.xhp130
-rw-r--r--source/text/scalc/guide/multi_tables.xhp78
-rw-r--r--source/text/scalc/guide/multioperation.xhp137
-rw-r--r--source/text/scalc/guide/multitables.xhp88
-rw-r--r--source/text/scalc/guide/note_insert.xhp78
-rw-r--r--source/text/scalc/guide/numbers_text.xhp97
-rw-r--r--source/text/scalc/guide/print_details.xhp105
-rw-r--r--source/text/scalc/guide/print_exact.xhp73
-rw-r--r--source/text/scalc/guide/print_landscape.xhp90
-rw-r--r--source/text/scalc/guide/print_title_row.xhp97
-rw-r--r--source/text/scalc/guide/printranges.xhp116
-rw-r--r--source/text/scalc/guide/relativ_absolut_ref.xhp72
-rw-r--r--source/text/scalc/guide/rename_table.xhp102
-rw-r--r--source/text/scalc/guide/rounding_numbers.xhp96
-rw-r--r--source/text/scalc/guide/row_height.xhp83
-rw-r--r--source/text/scalc/guide/scenario.xhp96
-rw-r--r--source/text/scalc/guide/sorted_list.xhp69
-rw-r--r--source/text/scalc/guide/specialfilter.xhp266
-rw-r--r--source/text/scalc/guide/super_subscript.xhp70
-rw-r--r--source/text/scalc/guide/table_cellmerge.xhp73
-rw-r--r--source/text/scalc/guide/table_rotate.xhp77
-rw-r--r--source/text/scalc/guide/table_view.xhp69
-rw-r--r--source/text/scalc/guide/text_numbers.xhp62
-rw-r--r--source/text/scalc/guide/text_rotate.xhp66
-rw-r--r--source/text/scalc/guide/text_wrap.xhp69
-rw-r--r--source/text/scalc/guide/userdefined_function.xhp125
-rw-r--r--source/text/scalc/guide/validity.xhp104
-rw-r--r--source/text/scalc/guide/value_with_name.xhp103
-rw-r--r--source/text/scalc/guide/webquery.xhp118
-rw-r--r--source/text/scalc/guide/year2000.xhp61
-rw-r--r--source/text/scalc/main0000.xhp64
-rw-r--r--source/text/scalc/main0100.xhp59
-rw-r--r--source/text/scalc/main0101.xhp75
-rw-r--r--source/text/scalc/main0102.xhp79
-rw-r--r--source/text/scalc/main0103.xhp62
-rw-r--r--source/text/scalc/main0104.xhp79
-rw-r--r--source/text/scalc/main0105.xhp81
-rw-r--r--source/text/scalc/main0106.xhp68
-rw-r--r--source/text/scalc/main0107.xhp53
-rw-r--r--source/text/scalc/main0112.xhp69
-rw-r--r--source/text/scalc/main0200.xhp87
-rw-r--r--source/text/scalc/main0202.xhp151
-rw-r--r--source/text/scalc/main0203.xhp82
-rw-r--r--source/text/scalc/main0205.xhp100
-rw-r--r--source/text/scalc/main0206.xhp64
-rw-r--r--source/text/scalc/main0208.xhp55
-rw-r--r--source/text/scalc/main0210.xhp72
-rw-r--r--source/text/scalc/main0214.xhp70
-rw-r--r--source/text/scalc/main0218.xhp85
-rw-r--r--source/text/scalc/main0503.xhp62
-rw-r--r--source/text/scalc/makefile.mk71
-rw-r--r--source/text/schart/00/00000004.xhp259
-rw-r--r--source/text/schart/00/makefile.mk52
-rw-r--r--source/text/schart/01/03010000.xhp95
-rw-r--r--source/text/schart/01/04010000.xhp71
-rw-r--r--source/text/schart/01/04020000.xhp100
-rw-r--r--source/text/schart/01/04030000.xhp106
-rw-r--r--source/text/schart/01/04040000.xhp77
-rw-r--r--source/text/schart/01/04050000.xhp133
-rw-r--r--source/text/schart/01/04050100.xhp149
-rw-r--r--source/text/schart/01/04060000.xhp107
-rw-r--r--source/text/schart/01/04070000.xhp89
-rw-r--r--source/text/schart/01/05010000.xhp72
-rw-r--r--source/text/schart/01/05010100.xhp62
-rw-r--r--source/text/schart/01/05010200.xhp62
-rw-r--r--source/text/schart/01/05020000.xhp63
-rw-r--r--source/text/schart/01/05020100.xhp63
-rw-r--r--source/text/schart/01/05020101.xhp57
-rw-r--r--source/text/schart/01/05020200.xhp61
-rw-r--r--source/text/schart/01/05020201.xhp108
-rw-r--r--source/text/schart/01/05030000.xhp58
-rw-r--r--source/text/schart/01/05040000.xhp64
-rw-r--r--source/text/schart/01/05040100.xhp60
-rw-r--r--source/text/schart/01/05040200.xhp59
-rw-r--r--source/text/schart/01/05040201.xhp123
-rw-r--r--source/text/schart/01/05040202.xhp103
-rw-r--r--source/text/schart/01/05050000.xhp66
-rw-r--r--source/text/schart/01/05050100.xhp63
-rw-r--r--source/text/schart/01/05060000.xhp53
-rw-r--r--source/text/schart/01/05070000.xhp58
-rw-r--r--source/text/schart/01/05080000.xhp53
-rw-r--r--source/text/schart/01/05120000.xhp57
-rw-r--r--source/text/schart/01/choose_chart_type.xhp153
-rw-r--r--source/text/schart/01/makefile.mk96
-rw-r--r--source/text/schart/01/smooth_line_properties.xhp76
-rw-r--r--source/text/schart/01/three_d_view.xhp177
-rw-r--r--source/text/schart/01/type_area.xhp65
-rw-r--r--source/text/schart/01/type_bubble.xhp61
-rw-r--r--source/text/schart/01/type_column_bar.xhp73
-rw-r--r--source/text/schart/01/type_column_line.xhp154
-rw-r--r--source/text/schart/01/type_line.xhp70
-rw-r--r--source/text/schart/01/type_net.xhp66
-rw-r--r--source/text/schart/01/type_pie.xhp65
-rw-r--r--source/text/schart/01/type_stock.xhp281
-rw-r--r--source/text/schart/01/type_xy.xhp106
-rw-r--r--source/text/schart/01/wiz_chart_elements.xhp121
-rw-r--r--source/text/schart/01/wiz_chart_type.xhp104
-rw-r--r--source/text/schart/01/wiz_data_range.xhp89
-rw-r--r--source/text/schart/01/wiz_data_series.xhp111
-rw-r--r--source/text/schart/02/01190000.xhp64
-rw-r--r--source/text/schart/02/01200000.xhp64
-rw-r--r--source/text/schart/02/01210000.xhp70
-rw-r--r--source/text/schart/02/01220000.xhp70
-rw-r--r--source/text/schart/02/02020000.xhp48
-rw-r--r--source/text/schart/02/makefile.mk56
-rw-r--r--source/text/schart/04/01020000.xhp110
-rw-r--r--source/text/schart/04/makefile.mk52
-rw-r--r--source/text/schart/main0000.xhp185
-rw-r--r--source/text/schart/main0202.xhp64
-rw-r--r--source/text/schart/main0503.xhp53
-rw-r--r--source/text/schart/makefile.mk54
-rw-r--r--source/text/sdraw/00/00000004.xhp45
-rw-r--r--source/text/sdraw/00/makefile.mk52
-rw-r--r--source/text/sdraw/01/04010000.xhp50
-rw-r--r--source/text/sdraw/01/makefile.mk52
-rw-r--r--source/text/sdraw/04/01020000.xhp476
-rw-r--r--source/text/sdraw/04/makefile.mk52
-rw-r--r--source/text/sdraw/guide/align_arrange.xhp119
-rw-r--r--source/text/sdraw/guide/color_define.xhp84
-rw-r--r--source/text/sdraw/guide/combine_etc.xhp150
-rw-r--r--source/text/sdraw/guide/cross_fading.xhp82
-rw-r--r--source/text/sdraw/guide/draw_sector.xhp82
-rw-r--r--source/text/sdraw/guide/duplicate_object.xhp81
-rw-r--r--source/text/sdraw/guide/eyedropper.xhp83
-rw-r--r--source/text/sdraw/guide/gradient.xhp110
-rw-r--r--source/text/sdraw/guide/graphic_insert.xhp74
-rw-r--r--source/text/sdraw/guide/groups.xhp102
-rw-r--r--source/text/sdraw/guide/join_objects.xhp68
-rw-r--r--source/text/sdraw/guide/join_objects3d.xhp75
-rw-r--r--source/text/sdraw/guide/keyboard.xhp90
-rw-r--r--source/text/sdraw/guide/main.xhp87
-rw-r--r--source/text/sdraw/guide/makefile.mk67
-rw-r--r--source/text/sdraw/guide/rotate_object.xhp81
-rw-r--r--source/text/sdraw/guide/text_enter.xhp155
-rw-r--r--source/text/sdraw/main0000.xhp61
-rw-r--r--source/text/sdraw/main0100.xhp59
-rw-r--r--source/text/sdraw/main0101.xhp74
-rw-r--r--source/text/sdraw/main0102.xhp75
-rw-r--r--source/text/sdraw/main0103.xhp60
-rw-r--r--source/text/sdraw/main0104.xhp75
-rw-r--r--source/text/sdraw/main0105.xhp69
-rw-r--r--source/text/sdraw/main0106.xhp59
-rw-r--r--source/text/sdraw/main0200.xhp89
-rw-r--r--source/text/sdraw/main0202.xhp71
-rw-r--r--source/text/sdraw/main0210.xhp96
-rw-r--r--source/text/sdraw/main0213.xhp86
-rw-r--r--source/text/sdraw/main0503.xhp62
-rw-r--r--source/text/sdraw/makefile.mk64
-rw-r--r--source/text/shared/00/00000001.xhp287
-rw-r--r--source/text/shared/00/00000002.xhp160
-rw-r--r--source/text/shared/00/00000003.xhp125
-rw-r--r--source/text/shared/00/00000004.xhp443
-rw-r--r--source/text/shared/00/00000005.xhp315
-rw-r--r--source/text/shared/00/00000007.xhp62
-rw-r--r--source/text/shared/00/00000010.xhp94
-rw-r--r--source/text/shared/00/00000011.xhp48
-rw-r--r--source/text/shared/00/00000020.xhp201
-rw-r--r--source/text/shared/00/00000021.xhp280
-rw-r--r--source/text/shared/00/00000099.xhp72
-rw-r--r--source/text/shared/00/00000200.xhp126
-rw-r--r--source/text/shared/00/00000206.xhp49
-rw-r--r--source/text/shared/00/00000207.xhp83
-rw-r--r--source/text/shared/00/00000208.xhp216
-rw-r--r--source/text/shared/00/00000210.xhp54
-rw-r--r--source/text/shared/00/00000215.xhp73
-rw-r--r--source/text/shared/00/00000401.xhp449
-rw-r--r--source/text/shared/00/00000402.xhp269
-rw-r--r--source/text/shared/00/00000403.xhp150
-rw-r--r--source/text/shared/00/00000404.xhp340
-rw-r--r--source/text/shared/00/00000406.xhp337
-rw-r--r--source/text/shared/00/00000407.xhp47
-rw-r--r--source/text/shared/00/00000408.xhp56
-rw-r--r--source/text/shared/00/00000409.xhp65
-rw-r--r--source/text/shared/00/00000450.xhp166
-rw-r--r--source/text/shared/00/00040500.xhp333
-rw-r--r--source/text/shared/00/00040501.xhp550
-rw-r--r--source/text/shared/00/00040502.xhp533
-rw-r--r--source/text/shared/00/00040503.xhp101
-rw-r--r--source/text/shared/00/01000000.xhp55
-rw-r--r--source/text/shared/00/01010000.xhp60
-rw-r--r--source/text/shared/00/01020000.xhp61
-rw-r--r--source/text/shared/00/01050000.xhp52
-rw-r--r--source/text/shared/00/icon_alt.xhp53
-rw-r--r--source/text/shared/00/makefile.mk86
-rw-r--r--source/text/shared/01/01010000.xhp264
-rw-r--r--source/text/shared/01/01010001.xhp61
-rw-r--r--source/text/shared/01/01010100.xhp158
-rw-r--r--source/text/shared/01/01010200.xhp66
-rw-r--r--source/text/shared/01/01010201.xhp87
-rw-r--r--source/text/shared/01/01010202.xhp87
-rw-r--r--source/text/shared/01/01010203.xhp68
-rw-r--r--source/text/shared/01/01010300.xhp61
-rw-r--r--source/text/shared/01/01010301.xhp69
-rw-r--r--source/text/shared/01/01010302.xhp57
-rw-r--r--source/text/shared/01/01010303.xhp73
-rw-r--r--source/text/shared/01/01010304.xhp79
-rw-r--r--source/text/shared/01/01020000.xhp180
-rw-r--r--source/text/shared/01/01020101.xhp55
-rw-r--r--source/text/shared/01/01020103.xhp72
-rw-r--r--source/text/shared/01/01050000.xhp63
-rw-r--r--source/text/shared/01/01060000.xhp57
-rw-r--r--source/text/shared/01/01070000.xhp104
-rw-r--r--source/text/shared/01/01070001.xhp71
-rw-r--r--source/text/shared/01/01100000.xhp64
-rw-r--r--source/text/shared/01/01100100.xhp62
-rw-r--r--source/text/shared/01/01100200.xhp95
-rw-r--r--source/text/shared/01/01100300.xhp60
-rw-r--r--source/text/shared/01/01100400.xhp106
-rw-r--r--source/text/shared/01/01100500.xhp137
-rw-r--r--source/text/shared/01/01100600.xhp97
-rw-r--r--source/text/shared/01/01110000.xhp57
-rw-r--r--source/text/shared/01/01110100.xhp126
-rw-r--r--source/text/shared/01/01110101.xhp75
-rw-r--r--source/text/shared/01/01110300.xhp72
-rw-r--r--source/text/shared/01/01110400.xhp53
-rw-r--r--source/text/shared/01/01130000.xhp307
-rw-r--r--source/text/shared/01/01140000.xhp90
-rw-r--r--source/text/shared/01/01160000.xhp95
-rw-r--r--source/text/shared/01/01160200.xhp52
-rw-r--r--source/text/shared/01/01160300.xhp79
-rw-r--r--source/text/shared/01/01170000.xhp56
-rw-r--r--source/text/shared/01/01180000.xhp52
-rw-r--r--source/text/shared/01/01190000.xhp80
-rw-r--r--source/text/shared/01/01990000.xhp51
-rw-r--r--source/text/shared/01/02010000.xhp65
-rw-r--r--source/text/shared/01/02020000.xhp54
-rw-r--r--source/text/shared/01/02030000.xhp52
-rw-r--r--source/text/shared/01/02040000.xhp56
-rw-r--r--source/text/shared/01/02050000.xhp62
-rw-r--r--source/text/shared/01/02060000.xhp71
-rw-r--r--source/text/shared/01/02070000.xhp212
-rw-r--r--source/text/shared/01/02090000.xhp56
-rw-r--r--source/text/shared/01/02100000.xhp287
-rw-r--r--source/text/shared/01/02100001.xhp363
-rw-r--r--source/text/shared/01/02100100.xhp73
-rw-r--r--source/text/shared/01/02100200.xhp179
-rw-r--r--source/text/shared/01/02100300.xhp72
-rw-r--r--source/text/shared/01/02110000.xhp208
-rw-r--r--source/text/shared/01/02180000.xhp103
-rw-r--r--source/text/shared/01/02180100.xhp65
-rw-r--r--source/text/shared/01/02190000.xhp57
-rw-r--r--source/text/shared/01/02200000.xhp63
-rw-r--r--source/text/shared/01/02200100.xhp52
-rw-r--r--source/text/shared/01/02200200.xhp56
-rw-r--r--source/text/shared/01/02210101.xhp97
-rw-r--r--source/text/shared/01/02220000.xhp276
-rw-r--r--source/text/shared/01/02220100.xhp73
-rw-r--r--source/text/shared/01/02230000.xhp72
-rw-r--r--source/text/shared/01/02230100.xhp118
-rw-r--r--source/text/shared/01/02230150.xhp57
-rw-r--r--source/text/shared/01/02230200.xhp83
-rw-r--r--source/text/shared/01/02230300.xhp60
-rw-r--r--source/text/shared/01/02230400.xhp53
-rw-r--r--source/text/shared/01/02230401.xhp185
-rw-r--r--source/text/shared/01/02230402.xhp127
-rw-r--r--source/text/shared/01/02230500.xhp53
-rw-r--r--source/text/shared/01/02240000.xhp59
-rw-r--r--source/text/shared/01/02250000.xhp168
-rw-r--r--source/text/shared/01/03010000.xhp104
-rw-r--r--source/text/shared/01/03020000.xhp55
-rw-r--r--source/text/shared/01/03040000.xhp57
-rw-r--r--source/text/shared/01/03050000.xhp54
-rw-r--r--source/text/shared/01/03060000.xhp59
-rw-r--r--source/text/shared/01/03110000.xhp64
-rw-r--r--source/text/shared/01/03150100.xhp54
-rw-r--r--source/text/shared/01/03170000.xhp60
-rw-r--r--source/text/shared/01/03990000.xhp54
-rw-r--r--source/text/shared/01/04050000.xhp102
-rw-r--r--source/text/shared/01/04060000.xhp63
-rw-r--r--source/text/shared/01/04060100.xhp50
-rw-r--r--source/text/shared/01/04060200.xhp51
-rw-r--r--source/text/shared/01/04100000.xhp73
-rw-r--r--source/text/shared/01/04140000.xhp65
-rw-r--r--source/text/shared/01/04150000.xhp64
-rw-r--r--source/text/shared/01/04150100.xhp72
-rw-r--r--source/text/shared/01/04150200.xhp72
-rw-r--r--source/text/shared/01/04150400.xhp53
-rw-r--r--source/text/shared/01/04150500.xhp53
-rw-r--r--source/text/shared/01/04160300.xhp70
-rw-r--r--source/text/shared/01/04160500.xhp59
-rw-r--r--source/text/shared/01/04180100.xhp63
-rw-r--r--source/text/shared/01/04990000.xhp52
-rw-r--r--source/text/shared/01/05010000.xhp69
-rw-r--r--source/text/shared/01/05020000.xhp81
-rw-r--r--source/text/shared/01/05020100.xhp125
-rw-r--r--source/text/shared/01/05020200.xhp200
-rw-r--r--source/text/shared/01/05020300.xhp146
-rw-r--r--source/text/shared/01/05020301.xhp1186
-rw-r--r--source/text/shared/01/05020400.xhp103
-rw-r--r--source/text/shared/01/05020500.xhp142
-rw-r--r--source/text/shared/01/05020600.xhp73
-rw-r--r--source/text/shared/01/05020700.xhp68
-rw-r--r--source/text/shared/01/05030000.xhp89
-rw-r--r--source/text/shared/01/05030100.xhp175
-rw-r--r--source/text/shared/01/05030300.xhp104
-rw-r--r--source/text/shared/01/05030500.xhp113
-rw-r--r--source/text/shared/01/05030600.xhp135
-rw-r--r--source/text/shared/01/05030700.xhp114
-rw-r--r--source/text/shared/01/05030800.xhp102
-rw-r--r--source/text/shared/01/05040100.xhp82
-rw-r--r--source/text/shared/01/05040200.xhp200
-rw-r--r--source/text/shared/01/05040300.xhp120
-rw-r--r--source/text/shared/01/05040400.xhp120
-rw-r--r--source/text/shared/01/05050000.xhp91
-rw-r--r--source/text/shared/01/05060000.xhp88
-rw-r--r--source/text/shared/01/05070000.xhp62
-rw-r--r--source/text/shared/01/05070100.xhp58
-rw-r--r--source/text/shared/01/05070200.xhp55
-rw-r--r--source/text/shared/01/05070300.xhp55
-rw-r--r--source/text/shared/01/05070400.xhp55
-rw-r--r--source/text/shared/01/05070500.xhp54
-rw-r--r--source/text/shared/01/05070600.xhp55
-rw-r--r--source/text/shared/01/05080000.xhp58
-rw-r--r--source/text/shared/01/05080100.xhp52
-rw-r--r--source/text/shared/01/05080200.xhp52
-rw-r--r--source/text/shared/01/05080300.xhp52
-rw-r--r--source/text/shared/01/05080400.xhp53
-rw-r--r--source/text/shared/01/05090000.xhp51
-rw-r--r--source/text/shared/01/05100000.xhp56
-rw-r--r--source/text/shared/01/05100100.xhp74
-rw-r--r--source/text/shared/01/05100200.xhp86
-rw-r--r--source/text/shared/01/05100500.xhp51
-rw-r--r--source/text/shared/01/05100600.xhp51
-rw-r--r--source/text/shared/01/05100700.xhp51
-rw-r--r--source/text/shared/01/05110000.xhp64
-rw-r--r--source/text/shared/01/05110100.xhp58
-rw-r--r--source/text/shared/01/05110200.xhp60
-rw-r--r--source/text/shared/01/05110300.xhp55
-rw-r--r--source/text/shared/01/05110400.xhp52
-rw-r--r--source/text/shared/01/05110500.xhp59
-rw-r--r--source/text/shared/01/05110600m.xhp73
-rw-r--r--source/text/shared/01/05110700.xhp54
-rw-r--r--source/text/shared/01/05110800.xhp54
-rw-r--r--source/text/shared/01/05120000.xhp62
-rw-r--r--source/text/shared/01/05120100.xhp53
-rw-r--r--source/text/shared/01/05120200.xhp56
-rw-r--r--source/text/shared/01/05120300.xhp56
-rw-r--r--source/text/shared/01/05120600.xhp73
-rw-r--r--source/text/shared/01/05140100.xhp51
-rw-r--r--source/text/shared/01/05150101.xhp45
-rw-r--r--source/text/shared/01/05190000.xhp68
-rw-r--r--source/text/shared/01/05190100.xhp57
-rw-r--r--source/text/shared/01/05200000.xhp59
-rw-r--r--source/text/shared/01/05200100.xhp100
-rw-r--r--source/text/shared/01/05200200.xhp89
-rw-r--r--source/text/shared/01/05200300.xhp72
-rw-r--r--source/text/shared/01/05210000.xhp63
-rw-r--r--source/text/shared/01/05210100.xhp147
-rw-r--r--source/text/shared/01/05210200.xhp52
-rw-r--r--source/text/shared/01/05210300.xhp100
-rw-r--r--source/text/shared/01/05210400.xhp90
-rw-r--r--source/text/shared/01/05210500.xhp86
-rw-r--r--source/text/shared/01/05210600.xhp94
-rw-r--r--source/text/shared/01/05210700.xhp91
-rw-r--r--source/text/shared/01/05220000.xhp108
-rw-r--r--source/text/shared/01/05230000.xhp66
-rw-r--r--source/text/shared/01/05230100.xhp117
-rw-r--r--source/text/shared/01/05230300.xhp72
-rw-r--r--source/text/shared/01/05230400.xhp67
-rw-r--r--source/text/shared/01/05230500.xhp82
-rw-r--r--source/text/shared/01/05240000.xhp59
-rw-r--r--source/text/shared/01/05240100.xhp54
-rw-r--r--source/text/shared/01/05240200.xhp54
-rw-r--r--source/text/shared/01/05250000.xhp73
-rw-r--r--source/text/shared/01/05250100.xhp55
-rw-r--r--source/text/shared/01/05250200.xhp56
-rw-r--r--source/text/shared/01/05250300.xhp56
-rw-r--r--source/text/shared/01/05250400.xhp55
-rw-r--r--source/text/shared/01/05250500.xhp58
-rw-r--r--source/text/shared/01/05250600.xhp59
-rw-r--r--source/text/shared/01/05260000.xhp89
-rw-r--r--source/text/shared/01/05260100.xhp54
-rw-r--r--source/text/shared/01/05260200.xhp53
-rw-r--r--source/text/shared/01/05260300.xhp58
-rw-r--r--source/text/shared/01/05260400.xhp52
-rw-r--r--source/text/shared/01/05260500.xhp52
-rw-r--r--source/text/shared/01/05260600.xhp51
-rw-r--r--source/text/shared/01/05270000.xhp58
-rw-r--r--source/text/shared/01/05280000.xhp353
-rw-r--r--source/text/shared/01/05290000.xhp69
-rw-r--r--source/text/shared/01/05290100.xhp51
-rw-r--r--source/text/shared/01/05290200.xhp51
-rw-r--r--source/text/shared/01/05290300.xhp56
-rw-r--r--source/text/shared/01/05290400.xhp54
-rw-r--r--source/text/shared/01/05320000.xhp134
-rw-r--r--source/text/shared/01/05340100.xhp62
-rw-r--r--source/text/shared/01/05340200.xhp55
-rw-r--r--source/text/shared/01/05340300.xhp157
-rw-r--r--source/text/shared/01/05340400.xhp221
-rw-r--r--source/text/shared/01/05340402.xhp52
-rw-r--r--source/text/shared/01/05340404.xhp52
-rw-r--r--source/text/shared/01/05340405.xhp53
-rw-r--r--source/text/shared/01/05340500.xhp50
-rw-r--r--source/text/shared/01/05340600.xhp50
-rw-r--r--source/text/shared/01/05350000.xhp58
-rw-r--r--source/text/shared/01/05350200.xhp153
-rw-r--r--source/text/shared/01/05350300.xhp84
-rw-r--r--source/text/shared/01/05350400.xhp107
-rw-r--r--source/text/shared/01/05350500.xhp240
-rw-r--r--source/text/shared/01/05350600.xhp83
-rw-r--r--source/text/shared/01/05360000.xhp88
-rw-r--r--source/text/shared/01/05990000.xhp55
-rw-r--r--source/text/shared/01/06010000.xhp123
-rw-r--r--source/text/shared/01/06010101.xhp51
-rw-r--r--source/text/shared/01/06010500.xhp82
-rw-r--r--source/text/shared/01/06010600.xhp69
-rw-r--r--source/text/shared/01/06010601.xhp71
-rw-r--r--source/text/shared/01/06020000.xhp78
-rw-r--r--source/text/shared/01/06030000.xhp105
-rw-r--r--source/text/shared/01/06040000.xhp68
-rw-r--r--source/text/shared/01/06040100.xhp289
-rw-r--r--source/text/shared/01/06040200.xhp84
-rw-r--r--source/text/shared/01/06040300.xhp83
-rw-r--r--source/text/shared/01/06040400.xhp94
-rw-r--r--source/text/shared/01/06040500.xhp72
-rw-r--r--source/text/shared/01/06040600.xhp114
-rw-r--r--source/text/shared/01/06040700.xhp59
-rw-r--r--source/text/shared/01/06050000.xhp78
-rw-r--r--source/text/shared/01/06050100.xhp61
-rw-r--r--source/text/shared/01/06050200.xhp57
-rw-r--r--source/text/shared/01/06050300.xhp58
-rw-r--r--source/text/shared/01/06050400.xhp59
-rw-r--r--source/text/shared/01/06050500.xhp241
-rw-r--r--source/text/shared/01/06050600.xhp99
-rw-r--r--source/text/shared/01/06130000.xhp160
-rw-r--r--source/text/shared/01/06130001.xhp61
-rw-r--r--source/text/shared/01/06130010.xhp59
-rw-r--r--source/text/shared/01/06130100.xhp63
-rw-r--r--source/text/shared/01/06130200.xhp69
-rw-r--r--source/text/shared/01/06130500.xhp58
-rw-r--r--source/text/shared/01/06140000.xhp62
-rw-r--r--source/text/shared/01/06140100.xhp157
-rw-r--r--source/text/shared/01/06140101.xhp51
-rw-r--r--source/text/shared/01/06140102.xhp50
-rw-r--r--source/text/shared/01/06140200.xhp109
-rw-r--r--source/text/shared/01/06140400.xhp113
-rw-r--r--source/text/shared/01/06140402.xhp53
-rw-r--r--source/text/shared/01/06140500.xhp83
-rw-r--r--source/text/shared/01/06150000.xhp137
-rw-r--r--source/text/shared/01/06150100.xhp54
-rw-r--r--source/text/shared/01/06150110.xhp68
-rw-r--r--source/text/shared/01/06150120.xhp74
-rw-r--r--source/text/shared/01/06150200.xhp81
-rw-r--r--source/text/shared/01/06150210.xhp53
-rw-r--r--source/text/shared/01/06200000.xhp122
-rw-r--r--source/text/shared/01/06201000.xhp75
-rw-r--r--source/text/shared/01/06202000.xhp61
-rw-r--r--source/text/shared/01/06990000.xhp56
-rw-r--r--source/text/shared/01/07010000.xhp57
-rw-r--r--source/text/shared/01/07080000.xhp51
-rw-r--r--source/text/shared/01/about_meta_tags.xhp104
-rw-r--r--source/text/shared/01/digitalsignatures.xhp75
-rw-r--r--source/text/shared/01/extensionupdate.xhp72
-rw-r--r--source/text/shared/01/formatting_mark.xhp72
-rw-r--r--source/text/shared/01/gallery.xhp82
-rw-r--r--source/text/shared/01/gallery_files.xhp72
-rw-r--r--source/text/shared/01/grid.xhp61
-rw-r--r--source/text/shared/01/guides.xhp58
-rw-r--r--source/text/shared/01/makefile.mk343
-rw-r--r--source/text/shared/01/mediaplayer.xhp86
-rw-r--r--source/text/shared/01/moviesound.xhp96
-rw-r--r--source/text/shared/01/online_update.xhp89
-rw-r--r--source/text/shared/01/online_update_dialog.xhp60
-rw-r--r--source/text/shared/01/packagemanager.xhp132
-rw-r--r--source/text/shared/01/password_dlg.xhp78
-rw-r--r--source/text/shared/01/password_main.xhp78
-rw-r--r--source/text/shared/01/ref_pdf_export.xhp287
-rw-r--r--source/text/shared/01/ref_pdf_send_as.xhp58
-rw-r--r--source/text/shared/01/securitywarning.xhp64
-rw-r--r--source/text/shared/01/selectcertificate.xhp55
-rw-r--r--source/text/shared/01/webhtml.xhp53
-rw-r--r--source/text/shared/01/xformsdata.xhp112
-rw-r--r--source/text/shared/01/xformsdataadd.xhp116
-rw-r--r--source/text/shared/01/xformsdataaddcon.xhp63
-rw-r--r--source/text/shared/01/xformsdatachange.xhp52
-rw-r--r--source/text/shared/01/xformsdataname.xhp73
-rw-r--r--source/text/shared/01/xformsdatatab.xhp117
-rw-r--r--source/text/shared/02/01110000.xhp64
-rw-r--r--source/text/shared/02/01140000.xhp377
-rw-r--r--source/text/shared/02/01170000.xhp664
-rw-r--r--source/text/shared/02/01170001.xhp97
-rw-r--r--source/text/shared/02/01170002.xhp56
-rw-r--r--source/text/shared/02/01170003.xhp42
-rw-r--r--source/text/shared/02/01170004.xhp95
-rw-r--r--source/text/shared/02/01170100.xhp129
-rw-r--r--source/text/shared/02/01170101.xhp893
-rw-r--r--source/text/shared/02/01170102.xhp719
-rw-r--r--source/text/shared/02/01170103.xhp117
-rw-r--r--source/text/shared/02/01170200.xhp59
-rw-r--r--source/text/shared/02/01170201.xhp126
-rw-r--r--source/text/shared/02/01170202.xhp183
-rw-r--r--source/text/shared/02/01170203.xhp182
-rw-r--r--source/text/shared/02/01170300.xhp67
-rw-r--r--source/text/shared/02/01170400.xhp54
-rw-r--r--source/text/shared/02/01170500.xhp57
-rw-r--r--source/text/shared/02/01170600.xhp83
-rw-r--r--source/text/shared/02/01170700.xhp60
-rw-r--r--source/text/shared/02/01170800.xhp55
-rw-r--r--source/text/shared/02/01170801.xhp57
-rw-r--r--source/text/shared/02/01170802.xhp57
-rw-r--r--source/text/shared/02/01170900.xhp72
-rw-r--r--source/text/shared/02/01170901.xhp57
-rw-r--r--source/text/shared/02/01170902.xhp56
-rw-r--r--source/text/shared/02/01170903.xhp58
-rw-r--r--source/text/shared/02/01170904.xhp64
-rw-r--r--source/text/shared/02/01171000.xhp62
-rw-r--r--source/text/shared/02/01171100.xhp54
-rw-r--r--source/text/shared/02/01171200.xhp71
-rw-r--r--source/text/shared/02/01171300.xhp56
-rw-r--r--source/text/shared/02/01171400.xhp64
-rw-r--r--source/text/shared/02/01220000.xhp66
-rw-r--r--source/text/shared/02/01230000.xhp70
-rw-r--r--source/text/shared/02/02010000.xhp67
-rw-r--r--source/text/shared/02/02020000.xhp76
-rw-r--r--source/text/shared/02/02030000.xhp83
-rw-r--r--source/text/shared/02/02040000.xhp66
-rw-r--r--source/text/shared/02/02050000.xhp66
-rw-r--r--source/text/shared/02/02130000.xhp66
-rw-r--r--source/text/shared/02/02140000.xhp107
-rw-r--r--source/text/shared/02/02160000.xhp89
-rw-r--r--source/text/shared/02/02170000.xhp61
-rw-r--r--source/text/shared/02/03110000.xhp66
-rw-r--r--source/text/shared/02/03120000.xhp66
-rw-r--r--source/text/shared/02/03130000.xhp80
-rw-r--r--source/text/shared/02/03140000.xhp63
-rw-r--r--source/text/shared/02/03150000.xhp61
-rw-r--r--source/text/shared/02/03200000.xhp61
-rw-r--r--source/text/shared/02/04210000.xhp78
-rw-r--r--source/text/shared/02/05020000.xhp66
-rw-r--r--source/text/shared/02/05090000.xhp71
-rw-r--r--source/text/shared/02/05110000.xhp72
-rw-r--r--source/text/shared/02/06050000.xhp74
-rw-r--r--source/text/shared/02/06060000.xhp74
-rw-r--r--source/text/shared/02/06100000.xhp71
-rw-r--r--source/text/shared/02/06110000.xhp71
-rw-r--r--source/text/shared/02/06120000.xhp75
-rw-r--r--source/text/shared/02/07010000.xhp48
-rw-r--r--source/text/shared/02/07060000.xhp53
-rw-r--r--source/text/shared/02/07070000.xhp80
-rw-r--r--source/text/shared/02/07070100.xhp70
-rw-r--r--source/text/shared/02/07070200.xhp52
-rw-r--r--source/text/shared/02/07080000.xhp48
-rw-r--r--source/text/shared/02/07090000.xhp54
-rw-r--r--source/text/shared/02/08010000.xhp49
-rw-r--r--source/text/shared/02/08020000.xhp52
-rw-r--r--source/text/shared/02/09010000.xhp78
-rw-r--r--source/text/shared/02/09020000.xhp50
-rw-r--r--source/text/shared/02/09030000.xhp66
-rw-r--r--source/text/shared/02/09060000.xhp65
-rw-r--r--source/text/shared/02/09070000.xhp99
-rw-r--r--source/text/shared/02/09070100.xhp98
-rw-r--r--source/text/shared/02/09070200.xhp63
-rw-r--r--source/text/shared/02/09070300.xhp64
-rw-r--r--source/text/shared/02/09070400.xhp64
-rw-r--r--source/text/shared/02/10010000.xhp67
-rw-r--r--source/text/shared/02/10020000.xhp67
-rw-r--r--source/text/shared/02/10030000.xhp67
-rw-r--r--source/text/shared/02/10040000.xhp67
-rw-r--r--source/text/shared/02/10100000.xhp50
-rw-r--r--source/text/shared/02/12000000.xhp78
-rw-r--r--source/text/shared/02/12010000.xhp66
-rw-r--r--source/text/shared/02/12020000.xhp65
-rw-r--r--source/text/shared/02/12030000.xhp67
-rw-r--r--source/text/shared/02/12040000.xhp66
-rw-r--r--source/text/shared/02/12050000.xhp77
-rw-r--r--source/text/shared/02/12070000.xhp72
-rw-r--r--source/text/shared/02/12070100.xhp88
-rw-r--r--source/text/shared/02/12070200.xhp64
-rw-r--r--source/text/shared/02/12070300.xhp50
-rw-r--r--source/text/shared/02/12080000.xhp65
-rw-r--r--source/text/shared/02/12090000.xhp78
-rw-r--r--source/text/shared/02/12090100.xhp98
-rw-r--r--source/text/shared/02/12090101.xhp145
-rw-r--r--source/text/shared/02/12100000.xhp62
-rw-r--r--source/text/shared/02/12100100.xhp68
-rw-r--r--source/text/shared/02/12100200.xhp332
-rw-r--r--source/text/shared/02/12110000.xhp69
-rw-r--r--source/text/shared/02/12120000.xhp67
-rw-r--r--source/text/shared/02/12130000.xhp71
-rw-r--r--source/text/shared/02/12140000.xhp68
-rw-r--r--source/text/shared/02/13010000.xhp50
-rw-r--r--source/text/shared/02/13020000.xhp121
-rw-r--r--source/text/shared/02/14010000.xhp68
-rw-r--r--source/text/shared/02/14020000.xhp65
-rw-r--r--source/text/shared/02/14020100.xhp69
-rw-r--r--source/text/shared/02/14020200.xhp66
-rw-r--r--source/text/shared/02/14030000.xhp68
-rw-r--r--source/text/shared/02/14040000.xhp65
-rw-r--r--source/text/shared/02/14050000.xhp64
-rw-r--r--source/text/shared/02/14060000.xhp65
-rw-r--r--source/text/shared/02/14070000.xhp67
-rw-r--r--source/text/shared/02/18010000.xhp79
-rw-r--r--source/text/shared/02/18030000.xhp66
-rw-r--r--source/text/shared/02/19090000.xhp59
-rw-r--r--source/text/shared/02/20020000.xhp62
-rw-r--r--source/text/shared/02/20030000.xhp53
-rw-r--r--source/text/shared/02/20040000.xhp81
-rw-r--r--source/text/shared/02/20050000.xhp107
-rw-r--r--source/text/shared/02/20060000.xhp52
-rw-r--r--source/text/shared/02/20090000.xhp47
-rw-r--r--source/text/shared/02/20100000.xhp47
-rw-r--r--source/text/shared/02/24010000.xhp288
-rw-r--r--source/text/shared/02/24020000.xhp71
-rw-r--r--source/text/shared/02/24030000.xhp63
-rw-r--r--source/text/shared/02/24040000.xhp63
-rw-r--r--source/text/shared/02/24050000.xhp63
-rw-r--r--source/text/shared/02/24060000.xhp66
-rw-r--r--source/text/shared/02/24070000.xhp66
-rw-r--r--source/text/shared/02/24080000.xhp63
-rw-r--r--source/text/shared/02/24090000.xhp63
-rw-r--r--source/text/shared/02/24100000.xhp68
-rw-r--r--source/text/shared/02/basicshapes.xhp75
-rw-r--r--source/text/shared/02/blockarrows.xhp79
-rw-r--r--source/text/shared/02/callouts.xhp63
-rw-r--r--source/text/shared/02/colortoolbar.xhp62
-rw-r--r--source/text/shared/02/flowcharts.xhp80
-rw-r--r--source/text/shared/02/fontwork.xhp61
-rw-r--r--source/text/shared/02/makefile.mk195
-rw-r--r--source/text/shared/02/more_controls.xhp72
-rw-r--r--source/text/shared/02/paintbrush.xhp71
-rw-r--r--source/text/shared/02/stars.xhp65
-rw-r--r--source/text/shared/02/symbolshapes.xhp71
-rw-r--r--source/text/shared/04/01010000.xhp1011
-rw-r--r--source/text/shared/04/01020000.xhp288
-rw-r--r--source/text/shared/04/makefile.mk53
-rw-r--r--source/text/shared/05/00000001.xhp69
-rw-r--r--source/text/shared/05/00000002.xhp56
-rw-r--r--source/text/shared/05/00000100.xhp46
-rw-r--r--source/text/shared/05/00000110.xhp220
-rw-r--r--source/text/shared/05/00000120.xhp74
-rw-r--r--source/text/shared/05/00000130.xhp66
-rw-r--r--source/text/shared/05/00000140.xhp79
-rw-r--r--source/text/shared/05/00000150.xhp87
-rw-r--r--source/text/shared/05/00000160.xhp95
-rw-r--r--source/text/shared/05/err_html.xhp53
-rw-r--r--source/text/shared/05/makefile.mk61
-rw-r--r--source/text/shared/07/09000000.xhp61
-rw-r--r--source/text/shared/07/makefile.mk52
-rw-r--r--source/text/shared/3dsettings_toolbar.xhp96
-rw-r--r--source/text/shared/autokorr/01000000.xhp64
-rw-r--r--source/text/shared/autokorr/02000000.xhp64
-rw-r--r--source/text/shared/autokorr/03000000.xhp64
-rw-r--r--source/text/shared/autokorr/04000000.xhp65
-rw-r--r--source/text/shared/autokorr/05000000.xhp63
-rw-r--r--source/text/shared/autokorr/06000000.xhp63
-rw-r--r--source/text/shared/autokorr/07000000.xhp63
-rw-r--r--source/text/shared/autokorr/08000000.xhp63
-rw-r--r--source/text/shared/autokorr/09000000.xhp63
-rw-r--r--source/text/shared/autokorr/10000000.xhp63
-rw-r--r--source/text/shared/autokorr/12000000.xhp59
-rw-r--r--source/text/shared/autokorr/13000000.xhp63
-rw-r--r--source/text/shared/autokorr/makefile.mk63
-rw-r--r--source/text/shared/autopi/01000000.xhp70
-rw-r--r--source/text/shared/autopi/01010000.xhp82
-rw-r--r--source/text/shared/autopi/01010100.xhp75
-rw-r--r--source/text/shared/autopi/01010200.xhp88
-rw-r--r--source/text/shared/autopi/01010300.xhp85
-rw-r--r--source/text/shared/autopi/01010400.xhp83
-rw-r--r--source/text/shared/autopi/01010500.xhp65
-rw-r--r--source/text/shared/autopi/01010600.xhp69
-rw-r--r--source/text/shared/autopi/01020000.xhp72
-rw-r--r--source/text/shared/autopi/01020100.xhp68
-rw-r--r--source/text/shared/autopi/01020200.xhp80
-rw-r--r--source/text/shared/autopi/01020300.xhp76
-rw-r--r--source/text/shared/autopi/01020400.xhp65
-rw-r--r--source/text/shared/autopi/01020500.xhp68
-rw-r--r--source/text/shared/autopi/01040000.xhp71
-rw-r--r--source/text/shared/autopi/01040100.xhp56
-rw-r--r--source/text/shared/autopi/01040200.xhp63
-rw-r--r--source/text/shared/autopi/01040300.xhp60
-rw-r--r--source/text/shared/autopi/01040400.xhp66
-rw-r--r--source/text/shared/autopi/01040500.xhp64
-rw-r--r--source/text/shared/autopi/01040600.xhp61
-rw-r--r--source/text/shared/autopi/01050000.xhp68
-rw-r--r--source/text/shared/autopi/01050100.xhp80
-rw-r--r--source/text/shared/autopi/01050200.xhp65
-rw-r--r--source/text/shared/autopi/01050300.xhp81
-rw-r--r--source/text/shared/autopi/01050400.xhp59
-rw-r--r--source/text/shared/autopi/01050500.xhp58
-rw-r--r--source/text/shared/autopi/01090000.xhp66
-rw-r--r--source/text/shared/autopi/01090100.xhp133
-rw-r--r--source/text/shared/autopi/01090200.xhp64
-rw-r--r--source/text/shared/autopi/01090210.xhp62
-rw-r--r--source/text/shared/autopi/01090220.xhp76
-rw-r--r--source/text/shared/autopi/01090300.xhp82
-rw-r--r--source/text/shared/autopi/01090400.xhp67
-rw-r--r--source/text/shared/autopi/01090500.xhp66
-rw-r--r--source/text/shared/autopi/01090600.xhp61
-rw-r--r--source/text/shared/autopi/01100000.xhp61
-rw-r--r--source/text/shared/autopi/01100100.xhp76
-rw-r--r--source/text/shared/autopi/01100150.xhp60
-rw-r--r--source/text/shared/autopi/01100200.xhp60
-rw-r--r--source/text/shared/autopi/01100300.xhp72
-rw-r--r--source/text/shared/autopi/01100400.xhp66
-rw-r--r--source/text/shared/autopi/01100500.xhp66
-rw-r--r--source/text/shared/autopi/01110000.xhp63
-rw-r--r--source/text/shared/autopi/01110100.xhp70
-rw-r--r--source/text/shared/autopi/01110200.xhp178
-rw-r--r--source/text/shared/autopi/01110300.xhp71
-rw-r--r--source/text/shared/autopi/01110400.xhp73
-rw-r--r--source/text/shared/autopi/01110500.xhp62
-rw-r--r--source/text/shared/autopi/01110600.xhp81
-rw-r--r--source/text/shared/autopi/01120000.xhp60
-rw-r--r--source/text/shared/autopi/01120100.xhp86
-rw-r--r--source/text/shared/autopi/01120200.xhp60
-rw-r--r--source/text/shared/autopi/01120300.xhp56
-rw-r--r--source/text/shared/autopi/01120400.xhp62
-rw-r--r--source/text/shared/autopi/01120500.xhp53
-rw-r--r--source/text/shared/autopi/01130000.xhp62
-rw-r--r--source/text/shared/autopi/01130100.xhp72
-rw-r--r--source/text/shared/autopi/01130200.xhp77
-rw-r--r--source/text/shared/autopi/01150000.xhp126
-rw-r--r--source/text/shared/autopi/01170000.xhp100
-rw-r--r--source/text/shared/autopi/01170200.xhp57
-rw-r--r--source/text/shared/autopi/01170300.xhp52
-rw-r--r--source/text/shared/autopi/01170400.xhp60
-rw-r--r--source/text/shared/autopi/01170500.xhp54
-rw-r--r--source/text/shared/autopi/makefile.mk128
-rw-r--r--source/text/shared/autopi/purchase.xhp61
-rw-r--r--source/text/shared/autopi/webwizard00.xhp63
-rw-r--r--source/text/shared/autopi/webwizard01.xhp53
-rw-r--r--source/text/shared/autopi/webwizard02.xhp64
-rw-r--r--source/text/shared/autopi/webwizard03.xhp63
-rw-r--r--source/text/shared/autopi/webwizard04.xhp86
-rw-r--r--source/text/shared/autopi/webwizard05.xhp58
-rw-r--r--source/text/shared/autopi/webwizard05bi.xhp53
-rw-r--r--source/text/shared/autopi/webwizard05is.xhp48
-rw-r--r--source/text/shared/autopi/webwizard06.xhp69
-rw-r--r--source/text/shared/autopi/webwizard07.xhp81
-rw-r--r--source/text/shared/autopi/webwizard07fc.xhp65
-rw-r--r--source/text/shared/explorer/database/02000000.xhp88
-rw-r--r--source/text/shared/explorer/database/02000002.xhp61
-rw-r--r--source/text/shared/explorer/database/02010100.xhp759
-rw-r--r--source/text/shared/explorer/database/02010101.xhp80
-rw-r--r--source/text/shared/explorer/database/04000000.xhp68
-rw-r--r--source/text/shared/explorer/database/04030000.xhp59
-rw-r--r--source/text/shared/explorer/database/05000000.xhp57
-rw-r--r--source/text/shared/explorer/database/05000001.xhp59
-rw-r--r--source/text/shared/explorer/database/05000002.xhp60
-rw-r--r--source/text/shared/explorer/database/05000003.xhp60
-rw-r--r--source/text/shared/explorer/database/05010000.xhp101
-rw-r--r--source/text/shared/explorer/database/05010100.xhp77
-rw-r--r--source/text/shared/explorer/database/05020000.xhp74
-rw-r--r--source/text/shared/explorer/database/05020100.xhp96
-rw-r--r--source/text/shared/explorer/database/05030000.xhp67
-rw-r--r--source/text/shared/explorer/database/05030100.xhp70
-rw-r--r--source/text/shared/explorer/database/05030200.xhp59
-rw-r--r--source/text/shared/explorer/database/05030300.xhp78
-rw-r--r--source/text/shared/explorer/database/05030400.xhp70
-rw-r--r--source/text/shared/explorer/database/05040000.xhp49
-rw-r--r--source/text/shared/explorer/database/05040100.xhp74
-rw-r--r--source/text/shared/explorer/database/05040200.xhp51
-rw-r--r--source/text/shared/explorer/database/11000002.xhp61
-rw-r--r--source/text/shared/explorer/database/11020000.xhp84
-rw-r--r--source/text/shared/explorer/database/11030000.xhp63
-rw-r--r--source/text/shared/explorer/database/11030100.xhp63
-rw-r--r--source/text/shared/explorer/database/11080000.xhp68
-rw-r--r--source/text/shared/explorer/database/11090000.xhp50
-rw-r--r--source/text/shared/explorer/database/11150200.xhp62
-rw-r--r--source/text/shared/explorer/database/11170000.xhp60
-rw-r--r--source/text/shared/explorer/database/11170100.xhp60
-rw-r--r--source/text/shared/explorer/database/30000000.xhp61
-rw-r--r--source/text/shared/explorer/database/30100000.xhp82
-rw-r--r--source/text/shared/explorer/database/dabaadvprop.xhp55
-rw-r--r--source/text/shared/explorer/database/dabaadvpropdat.xhp108
-rw-r--r--source/text/shared/explorer/database/dabaadvpropgen.xhp61
-rw-r--r--source/text/shared/explorer/database/dabadoc.xhp49
-rw-r--r--source/text/shared/explorer/database/dabaprop.xhp56
-rw-r--r--source/text/shared/explorer/database/dabapropadd.xhp101
-rw-r--r--source/text/shared/explorer/database/dabapropcon.xhp61
-rw-r--r--source/text/shared/explorer/database/dabapropgen.xhp89
-rw-r--r--source/text/shared/explorer/database/dabawiz00.xhp86
-rw-r--r--source/text/shared/explorer/database/dabawiz01.xhp82
-rw-r--r--source/text/shared/explorer/database/dabawiz02.xhp57
-rw-r--r--source/text/shared/explorer/database/dabawiz02access.xhp55
-rw-r--r--source/text/shared/explorer/database/dabawiz02adabas.xhp57
-rw-r--r--source/text/shared/explorer/database/dabawiz02ado.xhp72
-rw-r--r--source/text/shared/explorer/database/dabawiz02dbase.xhp51
-rw-r--r--source/text/shared/explorer/database/dabawiz02jdbc.xhp104
-rw-r--r--source/text/shared/explorer/database/dabawiz02ldap.xhp67
-rw-r--r--source/text/shared/explorer/database/dabawiz02mysql.xhp56
-rw-r--r--source/text/shared/explorer/database/dabawiz02odbc.xhp65
-rw-r--r--source/text/shared/explorer/database/dabawiz02oracle.xhp89
-rw-r--r--source/text/shared/explorer/database/dabawiz02spreadsheet.xhp53
-rw-r--r--source/text/shared/explorer/database/dabawiz02text.xhp81
-rw-r--r--source/text/shared/explorer/database/dabawiz03auth.xhp53
-rw-r--r--source/text/shared/explorer/database/main.xhp114
-rw-r--r--source/text/shared/explorer/database/makefile.mk138
-rw-r--r--source/text/shared/explorer/database/menubar.xhp54
-rw-r--r--source/text/shared/explorer/database/menuedit.xhp98
-rw-r--r--source/text/shared/explorer/database/menufile.xhp64
-rw-r--r--source/text/shared/explorer/database/menufilesave.xhp60
-rw-r--r--source/text/shared/explorer/database/menuinsert.xhp65
-rw-r--r--source/text/shared/explorer/database/menutools.xhp64
-rw-r--r--source/text/shared/explorer/database/menuview.xhp85
-rw-r--r--source/text/shared/explorer/database/migrate_macros.xhp68
-rw-r--r--source/text/shared/explorer/database/password.xhp54
-rw-r--r--source/text/shared/explorer/database/querywizard00.xhp60
-rw-r--r--source/text/shared/explorer/database/querywizard01.xhp59
-rw-r--r--source/text/shared/explorer/database/querywizard02.xhp69
-rw-r--r--source/text/shared/explorer/database/querywizard03.xhp70
-rw-r--r--source/text/shared/explorer/database/querywizard04.xhp69
-rw-r--r--source/text/shared/explorer/database/querywizard05.xhp54
-rw-r--r--source/text/shared/explorer/database/querywizard06.xhp70
-rw-r--r--source/text/shared/explorer/database/querywizard07.xhp52
-rw-r--r--source/text/shared/explorer/database/querywizard08.xhp61
-rw-r--r--source/text/shared/explorer/database/rep_datetime.xhp58
-rw-r--r--source/text/shared/explorer/database/rep_main.xhp253
-rw-r--r--source/text/shared/explorer/database/rep_navigator.xhp86
-rw-r--r--source/text/shared/explorer/database/rep_pagenumbers.xhp66
-rw-r--r--source/text/shared/explorer/database/rep_prop.xhp80
-rw-r--r--source/text/shared/explorer/database/rep_sort.xhp98
-rw-r--r--source/text/shared/explorer/database/tablewizard00.xhp59
-rw-r--r--source/text/shared/explorer/database/tablewizard01.xhp65
-rw-r--r--source/text/shared/explorer/database/tablewizard02.xhp75
-rw-r--r--source/text/shared/explorer/database/tablewizard03.xhp78
-rw-r--r--source/text/shared/explorer/database/tablewizard04.xhp69
-rw-r--r--source/text/shared/explorer/database/toolbars.xhp99
-rw-r--r--source/text/shared/fontwork_toolbar.xhp77
-rw-r--r--source/text/shared/guide/aaa_start.xhp66
-rw-r--r--source/text/shared/guide/accessibility.xhp65
-rw-r--r--source/text/shared/guide/active_help_on_off.xhp73
-rw-r--r--source/text/shared/guide/activex.xhp106
-rw-r--r--source/text/shared/guide/assistive.xhp104
-rw-r--r--source/text/shared/guide/autocorr_url.xhp84
-rw-r--r--source/text/shared/guide/autohide.xhp86
-rw-r--r--source/text/shared/guide/background.xhp82
-rw-r--r--source/text/shared/guide/border_paragraph.xhp114
-rw-r--r--source/text/shared/guide/border_table.xhp112
-rw-r--r--source/text/shared/guide/breaking_lines.xhp86
-rw-r--r--source/text/shared/guide/change_title.xhp69
-rw-r--r--source/text/shared/guide/chart_axis.xhp72
-rw-r--r--source/text/shared/guide/chart_barformat.xhp77
-rw-r--r--source/text/shared/guide/chart_insert.xhp119
-rw-r--r--source/text/shared/guide/chart_legend.xhp72
-rw-r--r--source/text/shared/guide/chart_title.xhp80
-rw-r--r--source/text/shared/guide/collab.xhp132
-rw-r--r--source/text/shared/guide/configure_overview.xhp67
-rw-r--r--source/text/shared/guide/contextmenu.xhp58
-rw-r--r--source/text/shared/guide/copy_drawfunctions.xhp76
-rw-r--r--source/text/shared/guide/copytable2application.xhp79
-rw-r--r--source/text/shared/guide/copytext2application.xhp98
-rw-r--r--source/text/shared/guide/ctl.xhp86
-rw-r--r--source/text/shared/guide/data_addressbook.xhp92
-rw-r--r--source/text/shared/guide/data_dbase2office.xhp92
-rw-r--r--source/text/shared/guide/data_enter_sql.xhp86
-rw-r--r--source/text/shared/guide/data_forms.xhp82
-rw-r--r--source/text/shared/guide/data_im_export.xhp111
-rw-r--r--source/text/shared/guide/data_new.xhp69
-rw-r--r--source/text/shared/guide/data_queries.xhp90
-rw-r--r--source/text/shared/guide/data_register.xhp77
-rw-r--r--source/text/shared/guide/data_report.xhp88
-rw-r--r--source/text/shared/guide/data_reports.xhp153
-rw-r--r--source/text/shared/guide/data_search.xhp66
-rw-r--r--source/text/shared/guide/data_search2.xhp87
-rw-r--r--source/text/shared/guide/data_tabledefine.xhp78
-rw-r--r--source/text/shared/guide/data_tables.xhp101
-rw-r--r--source/text/shared/guide/data_view.xhp70
-rw-r--r--source/text/shared/guide/database_main.xhp75
-rw-r--r--source/text/shared/guide/digital_signatures.xhp116
-rw-r--r--source/text/shared/guide/digitalsign_receive.xhp104
-rw-r--r--source/text/shared/guide/digitalsign_send.xhp116
-rw-r--r--source/text/shared/guide/doc_autosave.xhp96
-rw-r--r--source/text/shared/guide/doc_open.xhp106
-rw-r--r--source/text/shared/guide/doc_save.xhp141
-rw-r--r--source/text/shared/guide/dragdrop.xhp123
-rw-r--r--source/text/shared/guide/dragdrop_beamer.xhp88
-rw-r--r--source/text/shared/guide/dragdrop_fromgallery.xhp79
-rw-r--r--source/text/shared/guide/dragdrop_gallery.xhp91
-rw-r--r--source/text/shared/guide/dragdrop_graphic.xhp86
-rw-r--r--source/text/shared/guide/dragdrop_table.xhp87
-rw-r--r--source/text/shared/guide/edit_symbolbar.xhp78
-rw-r--r--source/text/shared/guide/email.xhp70
-rw-r--r--source/text/shared/guide/error_report.xhp64
-rw-r--r--source/text/shared/guide/export_ms.xhp76
-rw-r--r--source/text/shared/guide/fax.xhp91
-rw-r--r--source/text/shared/guide/filternavigator.xhp62
-rw-r--r--source/text/shared/guide/find_attributes.xhp97
-rw-r--r--source/text/shared/guide/flat_icons.xhp70
-rw-r--r--source/text/shared/guide/floating_toolbar.xhp104
-rw-r--r--source/text/shared/guide/fontwork.xhp127
-rw-r--r--source/text/shared/guide/formfields.xhp96
-rw-r--r--source/text/shared/guide/gallery_insert.xhp126
-rw-r--r--source/text/shared/guide/groups.xhp119
-rw-r--r--source/text/shared/guide/hyperlink_edit.xhp91
-rw-r--r--source/text/shared/guide/hyperlink_insert.xhp67
-rw-r--r--source/text/shared/guide/hyperlink_rel_abs.xhp78
-rw-r--r--source/text/shared/guide/imagemap.xhp85
-rw-r--r--source/text/shared/guide/import_ms.xhp108
-rw-r--r--source/text/shared/guide/insert_bitmap.xhp151
-rw-r--r--source/text/shared/guide/insert_graphic_drawit.xhp129
-rw-r--r--source/text/shared/guide/insert_specialchar.xhp76
-rw-r--r--source/text/shared/guide/integratinguno.xhp66
-rw-r--r--source/text/shared/guide/keyboard.xhp445
-rw-r--r--source/text/shared/guide/labels.xhp84
-rw-r--r--source/text/shared/guide/labels_database.xhp81
-rw-r--r--source/text/shared/guide/language_select.xhp222
-rw-r--r--source/text/shared/guide/line_intext.xhp136
-rw-r--r--source/text/shared/guide/lineend_define.xhp74
-rw-r--r--source/text/shared/guide/linestyle_define.xhp77
-rw-r--r--source/text/shared/guide/linestyles.xhp74
-rw-r--r--source/text/shared/guide/macro_recording.xhp115
-rw-r--r--source/text/shared/guide/main.xhp203
-rw-r--r--source/text/shared/guide/makefile.mk176
-rw-r--r--source/text/shared/guide/measurement_units.xhp76
-rw-r--r--source/text/shared/guide/microsoft_terms.xhp214
-rw-r--r--source/text/shared/guide/mobiledevicefilters.xhp147
-rw-r--r--source/text/shared/guide/ms_doctypes.xhp68
-rw-r--r--source/text/shared/guide/ms_import_export_limitations.xhp198
-rw-r--r--source/text/shared/guide/ms_user.xhp144
-rw-r--r--source/text/shared/guide/navigator.xhp72
-rw-r--r--source/text/shared/guide/navigator_setcursor.xhp79
-rw-r--r--source/text/shared/guide/navpane_on.xhp68
-rw-r--r--source/text/shared/guide/numbering_stop.xhp114
-rw-r--r--source/text/shared/guide/pageformat_max.xhp75
-rw-r--r--source/text/shared/guide/paintbrush.xhp156
-rw-r--r--source/text/shared/guide/pasting.xhp92
-rw-r--r--source/text/shared/guide/print_blackwhite.xhp114
-rw-r--r--source/text/shared/guide/print_faster.xhp85
-rw-r--r--source/text/shared/guide/protection.xhp152
-rw-r--r--source/text/shared/guide/redlining.xhp63
-rw-r--r--source/text/shared/guide/redlining_accept.xhp75
-rw-r--r--source/text/shared/guide/redlining_doccompare.xhp78
-rw-r--r--source/text/shared/guide/redlining_docmerge.xhp75
-rw-r--r--source/text/shared/guide/redlining_enter.xhp89
-rw-r--r--source/text/shared/guide/redlining_protect.xhp71
-rw-r--r--source/text/shared/guide/redlining_versions.xhp56
-rw-r--r--source/text/shared/guide/round_corner.xhp68
-rw-r--r--source/text/shared/guide/scripting.xhp229
-rw-r--r--source/text/shared/guide/space_hyphen.xhp72
-rw-r--r--source/text/shared/guide/spadmin.xhp229
-rw-r--r--source/text/shared/guide/standard_template.xhp102
-rw-r--r--source/text/shared/guide/start_parameters.xhp343
-rw-r--r--source/text/shared/guide/startcenter.xhp90
-rw-r--r--source/text/shared/guide/tabs.xhp174
-rw-r--r--source/text/shared/guide/text_color.xhp83
-rw-r--r--source/text/shared/guide/textmode_change.xhp75
-rw-r--r--source/text/shared/guide/undo_formatting.xhp93
-rw-r--r--source/text/shared/guide/version_number.xhp60
-rw-r--r--source/text/shared/guide/viewing_file_properties.xhp81
-rw-r--r--source/text/shared/guide/workfolder.xhp68
-rw-r--r--source/text/shared/guide/xforms.xhp109
-rw-r--r--source/text/shared/guide/xsltfilter.xhp76
-rw-r--r--source/text/shared/guide/xsltfilter_create.xhp162
-rw-r--r--source/text/shared/guide/xsltfilter_distribute.xhp90
-rw-r--r--source/text/shared/main0108.xhp84
-rw-r--r--source/text/shared/main0201.xhp185
-rw-r--r--source/text/shared/main0204.xhp84
-rw-r--r--source/text/shared/main0208.xhp52
-rw-r--r--source/text/shared/main0212.xhp108
-rw-r--r--source/text/shared/main0213.xhp215
-rw-r--r--source/text/shared/main0214.xhp69
-rw-r--r--source/text/shared/main0226.xhp96
-rw-r--r--source/text/shared/main0227.xhp227
-rw-r--r--source/text/shared/main0400.xhp54
-rw-r--r--source/text/shared/main0500.xhp46
-rw-r--r--source/text/shared/main0600.xhp59
-rw-r--r--source/text/shared/main0650.xhp57
-rw-r--r--source/text/shared/main0800.xhp49
-rw-r--r--source/text/shared/makefile.mk68
-rw-r--r--source/text/shared/optionen/01000000.xhp94
-rw-r--r--source/text/shared/optionen/01010000.xhp64
-rw-r--r--source/text/shared/optionen/01010100.xhp139
-rw-r--r--source/text/shared/optionen/01010200.xhp178
-rw-r--r--source/text/shared/optionen/01010300.xhp171
-rw-r--r--source/text/shared/optionen/01010301.xhp54
-rw-r--r--source/text/shared/optionen/01010400.xhp155
-rw-r--r--source/text/shared/optionen/01010401.xhp90
-rw-r--r--source/text/shared/optionen/01010500.xhp103
-rw-r--r--source/text/shared/optionen/01010501.xhp115
-rw-r--r--source/text/shared/optionen/01010600.xhp103
-rw-r--r--source/text/shared/optionen/01010700.xhp176
-rw-r--r--source/text/shared/optionen/01010800.xhp205
-rw-r--r--source/text/shared/optionen/01010900.xhp99
-rw-r--r--source/text/shared/optionen/01011000.xhp80
-rw-r--r--source/text/shared/optionen/01012000.xhp78
-rw-r--r--source/text/shared/optionen/01013000.xhp88
-rw-r--r--source/text/shared/optionen/01014000.xhp72
-rw-r--r--source/text/shared/optionen/01020000.xhp54
-rw-r--r--source/text/shared/optionen/01020100.xhp79
-rw-r--r--source/text/shared/optionen/01020300.xhp55
-rw-r--r--source/text/shared/optionen/01020400.xhp69
-rw-r--r--source/text/shared/optionen/01030000.xhp58
-rw-r--r--source/text/shared/optionen/01030300.xhp102
-rw-r--r--source/text/shared/optionen/01030500.xhp110
-rw-r--r--source/text/shared/optionen/01040000.xhp69
-rw-r--r--source/text/shared/optionen/01040200.xhp111
-rw-r--r--source/text/shared/optionen/01040300.xhp94
-rw-r--r--source/text/shared/optionen/01040301.xhp46
-rw-r--r--source/text/shared/optionen/01040400.xhp143
-rw-r--r--source/text/shared/optionen/01040500.xhp133
-rw-r--r--source/text/shared/optionen/01040600.xhp130
-rw-r--r--source/text/shared/optionen/01040700.xhp83
-rw-r--r--source/text/shared/optionen/01040900.xhp157
-rw-r--r--source/text/shared/optionen/01041000.xhp123
-rw-r--r--source/text/shared/optionen/01041100.xhp110
-rw-r--r--source/text/shared/optionen/01050000.xhp59
-rw-r--r--source/text/shared/optionen/01050100.xhp125
-rw-r--r--source/text/shared/optionen/01050300.xhp52
-rw-r--r--source/text/shared/optionen/01060000.xhp65
-rw-r--r--source/text/shared/optionen/01060100.xhp169
-rw-r--r--source/text/shared/optionen/01060300.xhp88
-rw-r--r--source/text/shared/optionen/01060400.xhp77
-rw-r--r--source/text/shared/optionen/01060401.xhp62
-rw-r--r--source/text/shared/optionen/01060500.xhp235
-rw-r--r--source/text/shared/optionen/01060600.xhp67
-rw-r--r--source/text/shared/optionen/01060700.xhp58
-rw-r--r--source/text/shared/optionen/01060800.xhp107
-rw-r--r--source/text/shared/optionen/01060900.xhp62
-rw-r--r--source/text/shared/optionen/01061000.xhp37
-rw-r--r--source/text/shared/optionen/01070000.xhp56
-rw-r--r--source/text/shared/optionen/01070100.xhp71
-rw-r--r--source/text/shared/optionen/01070300.xhp121
-rw-r--r--source/text/shared/optionen/01070400.xhp105
-rw-r--r--source/text/shared/optionen/01070500.xhp118
-rw-r--r--source/text/shared/optionen/01080000.xhp57
-rw-r--r--source/text/shared/optionen/01090000.xhp55
-rw-r--r--source/text/shared/optionen/01090100.xhp87
-rw-r--r--source/text/shared/optionen/01110000.xhp51
-rw-r--r--source/text/shared/optionen/01110100.xhp62
-rw-r--r--source/text/shared/optionen/01130100.xhp101
-rw-r--r--source/text/shared/optionen/01130200.xhp57
-rw-r--r--source/text/shared/optionen/01140000.xhp116
-rw-r--r--source/text/shared/optionen/01150000.xhp58
-rw-r--r--source/text/shared/optionen/01150100.xhp89
-rw-r--r--source/text/shared/optionen/01150200.xhp58
-rw-r--r--source/text/shared/optionen/01150300.xhp90
-rw-r--r--source/text/shared/optionen/01160000.xhp53
-rw-r--r--source/text/shared/optionen/01160100.xhp76
-rw-r--r--source/text/shared/optionen/01160200.xhp65
-rw-r--r--source/text/shared/optionen/01160201.xhp51
-rw-r--r--source/text/shared/optionen/improvement.xhp118
-rw-r--r--source/text/shared/optionen/java.xhp65
-rw-r--r--source/text/shared/optionen/javaclasspath.xhp63
-rw-r--r--source/text/shared/optionen/javaparameters.xhp70
-rw-r--r--source/text/shared/optionen/macrosecurity.xhp51
-rw-r--r--source/text/shared/optionen/macrosecurity_sl.xhp65
-rw-r--r--source/text/shared/optionen/macrosecurity_ts.xhp59
-rw-r--r--source/text/shared/optionen/mailmerge.xhp83
-rw-r--r--source/text/shared/optionen/makefile.mk136
-rw-r--r--source/text/shared/optionen/online_update.xhp80
-rw-r--r--source/text/shared/optionen/serverauthentication.xhp75
-rw-r--r--source/text/shared/optionen/testaccount.xhp51
-rw-r--r--source/text/shared/optionen/viewcertificate.xhp50
-rw-r--r--source/text/shared/optionen/viewcertificate_c.xhp50
-rw-r--r--source/text/shared/optionen/viewcertificate_d.xhp51
-rw-r--r--source/text/shared/optionen/viewcertificate_g.xhp48
-rw-r--r--source/text/shared/tree_strings.xhp173
-rw-r--r--source/text/simpress/00/00000004.xhp128
-rw-r--r--source/text/simpress/00/00000401.xhp47
-rw-r--r--source/text/simpress/00/00000402.xhp58
-rw-r--r--source/text/simpress/00/00000403.xhp125
-rw-r--r--source/text/simpress/00/00000404.xhp137
-rw-r--r--source/text/simpress/00/00000405.xhp64
-rw-r--r--source/text/simpress/00/00000406.xhp49
-rw-r--r--source/text/simpress/00/00000407.xhp95
-rw-r--r--source/text/simpress/00/00000413.xhp184
-rw-r--r--source/text/simpress/00/makefile.mk60
-rw-r--r--source/text/simpress/01/01170000.xhp60
-rw-r--r--source/text/simpress/01/01180000.xhp57
-rw-r--r--source/text/simpress/01/01180001.xhp83
-rw-r--r--source/text/simpress/01/01180002.xhp52
-rw-r--r--source/text/simpress/01/02110000.xhp174
-rw-r--r--source/text/simpress/01/02120000.xhp105
-rw-r--r--source/text/simpress/01/02130000.xhp64
-rw-r--r--source/text/simpress/01/02140000.xhp53
-rw-r--r--source/text/simpress/01/02150000.xhp65
-rw-r--r--source/text/simpress/01/02160000.xhp76
-rw-r--r--source/text/simpress/01/03050000.xhp49
-rw-r--r--source/text/simpress/01/03060000.xhp54
-rw-r--r--source/text/simpress/01/03070000.xhp59
-rw-r--r--source/text/simpress/01/03080000.xhp60
-rw-r--r--source/text/simpress/01/03090000.xhp58
-rw-r--r--source/text/simpress/01/03100000.xhp57
-rw-r--r--source/text/simpress/01/03110000.xhp57
-rw-r--r--source/text/simpress/01/03120000.xhp52
-rw-r--r--source/text/simpress/01/03130000.xhp79
-rw-r--r--source/text/simpress/01/03150000.xhp61
-rw-r--r--source/text/simpress/01/03150100.xhp61
-rw-r--r--source/text/simpress/01/03150300.xhp57
-rw-r--r--source/text/simpress/01/03151000.xhp54
-rw-r--r--source/text/simpress/01/03151100.xhp62
-rw-r--r--source/text/simpress/01/03151200.xhp51
-rw-r--r--source/text/simpress/01/03152000.xhp104
-rw-r--r--source/text/simpress/01/03180000.xhp74
-rw-r--r--source/text/simpress/01/04010000.xhp59
-rw-r--r--source/text/simpress/01/04020000.xhp62
-rw-r--r--source/text/simpress/01/04030000.xhp75
-rw-r--r--source/text/simpress/01/04030000m.xhp55
-rw-r--r--source/text/simpress/01/04030100.xhp60
-rw-r--r--source/text/simpress/01/04040000m.xhp55
-rw-r--r--source/text/simpress/01/04080100.xhp56
-rw-r--r--source/text/simpress/01/04110000.xhp59
-rw-r--r--source/text/simpress/01/04110100.xhp75
-rw-r--r--source/text/simpress/01/04110200.xhp53
-rw-r--r--source/text/simpress/01/04120000.xhp52
-rw-r--r--source/text/simpress/01/04130000.xhp59
-rw-r--r--source/text/simpress/01/04140000.xhp52
-rw-r--r--source/text/simpress/01/04990000.xhp59
-rw-r--r--source/text/simpress/01/04990100.xhp58
-rw-r--r--source/text/simpress/01/04990200.xhp57
-rw-r--r--source/text/simpress/01/04990300.xhp57
-rw-r--r--source/text/simpress/01/04990400.xhp57
-rw-r--r--source/text/simpress/01/04990500.xhp59
-rw-r--r--source/text/simpress/01/04990600.xhp53
-rw-r--r--source/text/simpress/01/04990700.xhp55
-rw-r--r--source/text/simpress/01/05090000m.xhp54
-rw-r--r--source/text/simpress/01/05100000.xhp130
-rw-r--r--source/text/simpress/01/05110500m.xhp66
-rw-r--r--source/text/simpress/01/05120000.xhp58
-rw-r--r--source/text/simpress/01/05120100.xhp78
-rw-r--r--source/text/simpress/01/05120500m.xhp67
-rw-r--r--source/text/simpress/01/05130000.xhp57
-rw-r--r--source/text/simpress/01/05140000.xhp70
-rw-r--r--source/text/simpress/01/05150000.xhp98
-rw-r--r--source/text/simpress/01/05170000.xhp87
-rw-r--r--source/text/simpress/01/05250000.xhp58
-rw-r--r--source/text/simpress/01/05250500.xhp57
-rw-r--r--source/text/simpress/01/05250600.xhp59
-rw-r--r--source/text/simpress/01/05250700.xhp59
-rw-r--r--source/text/simpress/01/06030000.xhp52
-rw-r--r--source/text/simpress/01/06040000.xhp93
-rw-r--r--source/text/simpress/01/06050000.xhp239
-rw-r--r--source/text/simpress/01/06060000.xhp140
-rw-r--r--source/text/simpress/01/06070000.xhp117
-rw-r--r--source/text/simpress/01/06080000.xhp119
-rw-r--r--source/text/simpress/01/06100000.xhp81
-rw-r--r--source/text/simpress/01/06100100.xhp59
-rw-r--r--source/text/simpress/01/13050000.xhp58
-rw-r--r--source/text/simpress/01/13050100.xhp53
-rw-r--r--source/text/simpress/01/13050200.xhp79
-rw-r--r--source/text/simpress/01/13050300.xhp69
-rw-r--r--source/text/simpress/01/13050400.xhp54
-rw-r--r--source/text/simpress/01/13050500.xhp58
-rw-r--r--source/text/simpress/01/13050600.xhp58
-rw-r--r--source/text/simpress/01/13050700.xhp57
-rw-r--r--source/text/simpress/01/13140000.xhp54
-rw-r--r--source/text/simpress/01/13150000.xhp56
-rw-r--r--source/text/simpress/01/13160000.xhp52
-rw-r--r--source/text/simpress/01/13170000.xhp57
-rw-r--r--source/text/simpress/01/13180000.xhp55
-rw-r--r--source/text/simpress/01/13180100.xhp55
-rw-r--r--source/text/simpress/01/13180200.xhp55
-rw-r--r--source/text/simpress/01/13180300.xhp54
-rw-r--r--source/text/simpress/01/animationeffect.xhp63
-rw-r--r--source/text/simpress/01/effectoptions.xhp57
-rw-r--r--source/text/simpress/01/effectoptionseffect.xhp116
-rw-r--r--source/text/simpress/01/effectoptionstext.xhp75
-rw-r--r--source/text/simpress/01/effectoptionstiming.xhp90
-rw-r--r--source/text/simpress/01/makefile.mk144
-rw-r--r--source/text/simpress/01/slidesorter.xhp54
-rw-r--r--source/text/simpress/01/taskpanel.xhp89
-rw-r--r--source/text/simpress/02/04010000.xhp68
-rw-r--r--source/text/simpress/02/04020000.xhp50
-rw-r--r--source/text/simpress/02/04030000.xhp50
-rw-r--r--source/text/simpress/02/04040000.xhp49
-rw-r--r--source/text/simpress/02/04060000.xhp49
-rw-r--r--source/text/simpress/02/04070000.xhp69
-rw-r--r--source/text/simpress/02/08020000.xhp47
-rw-r--r--source/text/simpress/02/08060000.xhp52
-rw-r--r--source/text/simpress/02/10020000.xhp259
-rw-r--r--source/text/simpress/02/10030000.xhp223
-rw-r--r--source/text/simpress/02/10030200.xhp255
-rw-r--r--source/text/simpress/02/10050000.xhp118
-rw-r--r--source/text/simpress/02/10060000.xhp193
-rw-r--r--source/text/simpress/02/10070000.xhp260
-rw-r--r--source/text/simpress/02/10080000.xhp189
-rw-r--r--source/text/simpress/02/10090000.xhp213
-rw-r--r--source/text/simpress/02/10100000.xhp558
-rw-r--r--source/text/simpress/02/10110000.xhp95
-rw-r--r--source/text/simpress/02/10120000.xhp209
-rw-r--r--source/text/simpress/02/10130000.xhp56
-rw-r--r--source/text/simpress/02/11060000.xhp66
-rw-r--r--source/text/simpress/02/11070000.xhp66
-rw-r--r--source/text/simpress/02/11080000.xhp66
-rw-r--r--source/text/simpress/02/11090000.xhp66
-rw-r--r--source/text/simpress/02/11100000.xhp67
-rw-r--r--source/text/simpress/02/11110000.xhp68
-rw-r--r--source/text/simpress/02/13010000.xhp66
-rw-r--r--source/text/simpress/02/13020000.xhp67
-rw-r--r--source/text/simpress/02/13030000.xhp70
-rw-r--r--source/text/simpress/02/13040000.xhp68
-rw-r--r--source/text/simpress/02/13050000.xhp68
-rw-r--r--source/text/simpress/02/13060000.xhp62
-rw-r--r--source/text/simpress/02/13090000.xhp67
-rw-r--r--source/text/simpress/02/13100000.xhp66
-rw-r--r--source/text/simpress/02/13140000.xhp58
-rw-r--r--source/text/simpress/02/13150000.xhp64
-rw-r--r--source/text/simpress/02/13160000.xhp53
-rw-r--r--source/text/simpress/02/13170000.xhp64
-rw-r--r--source/text/simpress/02/13180000.xhp52
-rw-r--r--source/text/simpress/02/13190000.xhp64
-rw-r--r--source/text/simpress/02/makefile.mk91
-rw-r--r--source/text/simpress/04/01020000.xhp879
-rw-r--r--source/text/simpress/04/makefile.mk52
-rw-r--r--source/text/simpress/guide/3d_create.xhp134
-rw-r--r--source/text/simpress/guide/animated_gif_create.xhp102
-rw-r--r--source/text/simpress/guide/animated_gif_save.xhp68
-rw-r--r--source/text/simpress/guide/animated_objects.xhp97
-rw-r--r--source/text/simpress/guide/animated_slidechange.xhp95
-rw-r--r--source/text/simpress/guide/arrange_slides.xhp70
-rw-r--r--source/text/simpress/guide/background.xhp117
-rw-r--r--source/text/simpress/guide/change_scale.xhp61
-rw-r--r--source/text/simpress/guide/footer.xhp125
-rw-r--r--source/text/simpress/guide/gluepoints.xhp76
-rw-r--r--source/text/simpress/guide/html_export.xhp76
-rw-r--r--source/text/simpress/guide/html_import.xhp83
-rw-r--r--source/text/simpress/guide/individual.xhp118
-rw-r--r--source/text/simpress/guide/keyboard.xhp105
-rw-r--r--source/text/simpress/guide/layer_move.xhp66
-rw-r--r--source/text/simpress/guide/layer_new.xhp76
-rw-r--r--source/text/simpress/guide/layer_tipps.xhp112
-rw-r--r--source/text/simpress/guide/layers.xhp74
-rw-r--r--source/text/simpress/guide/line_arrow_styles.xhp83
-rw-r--r--source/text/simpress/guide/line_draw.xhp130
-rw-r--r--source/text/simpress/guide/line_edit.xhp155
-rw-r--r--source/text/simpress/guide/main.xhp94
-rw-r--r--source/text/simpress/guide/makefile.mk86
-rw-r--r--source/text/simpress/guide/masterpage.xhp85
-rw-r--r--source/text/simpress/guide/move_object.xhp58
-rw-r--r--source/text/simpress/guide/orgchart.xhp111
-rw-r--r--source/text/simpress/guide/page_copy.xhp93
-rw-r--r--source/text/simpress/guide/palette_files.xhp106
-rw-r--r--source/text/simpress/guide/print_tofit.xhp70
-rw-r--r--source/text/simpress/guide/printing.xhp138
-rw-r--r--source/text/simpress/guide/rehearse_timings.xhp77
-rw-r--r--source/text/simpress/guide/select_object.xhp61
-rw-r--r--source/text/simpress/guide/show.xhp108
-rw-r--r--source/text/simpress/guide/table_insert.xhp156
-rw-r--r--source/text/simpress/guide/text2curve.xhp75
-rw-r--r--source/text/simpress/guide/vectorize.xhp72
-rw-r--r--source/text/simpress/main0000.xhp65
-rw-r--r--source/text/simpress/main0100.xhp59
-rw-r--r--source/text/simpress/main0101.xhp74
-rw-r--r--source/text/simpress/main0102.xhp74
-rw-r--r--source/text/simpress/main0103.xhp66
-rw-r--r--source/text/simpress/main0104.xhp79
-rw-r--r--source/text/simpress/main0105.xhp72
-rw-r--r--source/text/simpress/main0106.xhp60
-rw-r--r--source/text/simpress/main0107.xhp51
-rw-r--r--source/text/simpress/main0113.xhp71
-rw-r--r--source/text/simpress/main0114.xhp60
-rw-r--r--source/text/simpress/main0200.xhp101
-rw-r--r--source/text/simpress/main0202.xhp71
-rw-r--r--source/text/simpress/main0203.xhp155
-rw-r--r--source/text/simpress/main0204.xhp53
-rw-r--r--source/text/simpress/main0206.xhp53
-rw-r--r--source/text/simpress/main0209.xhp56
-rw-r--r--source/text/simpress/main0210.xhp111
-rw-r--r--source/text/simpress/main0211.xhp65
-rw-r--r--source/text/simpress/main0212.xhp53
-rw-r--r--source/text/simpress/main0213.xhp86
-rw-r--r--source/text/simpress/main0214.xhp59
-rw-r--r--source/text/simpress/main0503.xhp61
-rw-r--r--source/text/simpress/makefile.mk74
-rw-r--r--source/text/smath/00/00000004.xhp366
-rw-r--r--source/text/smath/00/makefile.mk52
-rw-r--r--source/text/smath/01/02080000.xhp53
-rw-r--r--source/text/smath/01/02090000.xhp50
-rw-r--r--source/text/smath/01/02100000.xhp51
-rw-r--r--source/text/smath/01/02110000.xhp47
-rw-r--r--source/text/smath/01/03040000.xhp55
-rw-r--r--source/text/smath/01/03050000.xhp57
-rw-r--r--source/text/smath/01/03060000.xhp52
-rw-r--r--source/text/smath/01/03070000.xhp52
-rw-r--r--source/text/smath/01/03080000.xhp50
-rw-r--r--source/text/smath/01/03090000.xhp73
-rw-r--r--source/text/smath/01/03090100.xhp334
-rw-r--r--source/text/smath/01/03090200.xhp538
-rw-r--r--source/text/smath/01/03090300.xhp269
-rw-r--r--source/text/smath/01/03090400.xhp461
-rw-r--r--source/text/smath/01/03090500.xhp392
-rw-r--r--source/text/smath/01/03090600.xhp374
-rw-r--r--source/text/smath/01/03090700.xhp313
-rw-r--r--source/text/smath/01/03090800.xhp408
-rw-r--r--source/text/smath/01/03090900.xhp63
-rw-r--r--source/text/smath/01/03090901.xhp52
-rw-r--r--source/text/smath/01/03090902.xhp52
-rw-r--r--source/text/smath/01/03090903.xhp52
-rw-r--r--source/text/smath/01/03090904.xhp52
-rw-r--r--source/text/smath/01/03090905.xhp52
-rw-r--r--source/text/smath/01/03090906.xhp52
-rw-r--r--source/text/smath/01/03090907.xhp52
-rw-r--r--source/text/smath/01/03090908.xhp52
-rw-r--r--source/text/smath/01/03090909.xhp58
-rw-r--r--source/text/smath/01/03090910.xhp52
-rw-r--r--source/text/smath/01/03091100.xhp160
-rw-r--r--source/text/smath/01/03091200.xhp68
-rw-r--r--source/text/smath/01/03091300.xhp51
-rw-r--r--source/text/smath/01/03091400.xhp53
-rw-r--r--source/text/smath/01/03091500.xhp65
-rw-r--r--source/text/smath/01/03091501.xhp425
-rw-r--r--source/text/smath/01/03091502.xhp564
-rw-r--r--source/text/smath/01/03091503.xhp395
-rw-r--r--source/text/smath/01/03091504.xhp462
-rw-r--r--source/text/smath/01/03091505.xhp293
-rw-r--r--source/text/smath/01/03091506.xhp415
-rw-r--r--source/text/smath/01/03091507.xhp376
-rw-r--r--source/text/smath/01/03091508.xhp472
-rw-r--r--source/text/smath/01/03091509.xhp302
-rw-r--r--source/text/smath/01/03091600.xhp350
-rw-r--r--source/text/smath/01/05010000.xhp90
-rw-r--r--source/text/smath/01/05010100.xhp60
-rw-r--r--source/text/smath/01/05020000.xhp70
-rw-r--r--source/text/smath/01/05030000.xhp155
-rw-r--r--source/text/smath/01/05040000.xhp58
-rw-r--r--source/text/smath/01/05050000.xhp55
-rw-r--r--source/text/smath/01/06010000.xhp69
-rw-r--r--source/text/smath/01/06010100.xhp92
-rw-r--r--source/text/smath/01/06020000.xhp47
-rw-r--r--source/text/smath/01/makefile.mk104
-rw-r--r--source/text/smath/02/03010000.xhp50
-rw-r--r--source/text/smath/02/makefile.mk52
-rw-r--r--source/text/smath/04/01020000.xhp89
-rw-r--r--source/text/smath/04/makefile.mk52
-rw-r--r--source/text/smath/guide/align.xhp57
-rw-r--r--source/text/smath/guide/attributes.xhp61
-rw-r--r--source/text/smath/guide/brackets.xhp60
-rw-r--r--source/text/smath/guide/comment.xhp56
-rw-r--r--source/text/smath/guide/keyboard.xhp87
-rw-r--r--source/text/smath/guide/limits.xhp96
-rw-r--r--source/text/smath/guide/main.xhp60
-rw-r--r--source/text/smath/guide/makefile.mk61
-rw-r--r--source/text/smath/guide/newline.xhp54
-rw-r--r--source/text/smath/guide/parentheses.xhp58
-rw-r--r--source/text/smath/guide/text.xhp63
-rw-r--r--source/text/smath/main0000.xhp65
-rw-r--r--source/text/smath/main0100.xhp64
-rw-r--r--source/text/smath/main0101.xhp74
-rw-r--r--source/text/smath/main0102.xhp68
-rw-r--r--source/text/smath/main0103.xhp59
-rw-r--r--source/text/smath/main0105.xhp58
-rw-r--r--source/text/smath/main0106.xhp54
-rw-r--r--source/text/smath/main0107.xhp51
-rw-r--r--source/text/smath/main0200.xhp54
-rw-r--r--source/text/smath/main0202.xhp50
-rw-r--r--source/text/smath/main0203.xhp63
-rw-r--r--source/text/smath/main0503.xhp62
-rw-r--r--source/text/smath/makefile.mk63
-rw-r--r--source/text/swriter/00/00000004.xhp130
-rw-r--r--source/text/swriter/00/00000401.xhp74
-rw-r--r--source/text/swriter/00/00000402.xhp86
-rw-r--r--source/text/swriter/00/00000403.xhp106
-rw-r--r--source/text/swriter/00/00000404.xhp342
-rw-r--r--source/text/swriter/00/00000405.xhp427
-rw-r--r--source/text/swriter/00/00000406.xhp106
-rw-r--r--source/text/swriter/00/makefile.mk58
-rw-r--r--source/text/swriter/01/01120000.xhp60
-rw-r--r--source/text/swriter/01/01150000.xhp91
-rw-r--r--source/text/swriter/01/01160100.xhp55
-rw-r--r--source/text/swriter/01/01160200.xhp53
-rw-r--r--source/text/swriter/01/01160300.xhp59
-rw-r--r--source/text/swriter/01/01160400.xhp57
-rw-r--r--source/text/swriter/01/01160500.xhp63
-rw-r--r--source/text/swriter/01/02110000.xhp334
-rw-r--r--source/text/swriter/01/02110100.xhp106
-rw-r--r--source/text/swriter/01/02120000.xhp142
-rw-r--r--source/text/swriter/01/02120100.xhp55
-rw-r--r--source/text/swriter/01/02130000.xhp66
-rw-r--r--source/text/swriter/01/02140000.xhp124
-rw-r--r--source/text/swriter/01/02150000.xhp101
-rw-r--r--source/text/swriter/01/02160000.xhp135
-rw-r--r--source/text/swriter/01/02170000.xhp64
-rw-r--r--source/text/swriter/01/03050000.xhp54
-rw-r--r--source/text/swriter/01/03070000.xhp53
-rw-r--r--source/text/swriter/01/03080000.xhp56
-rw-r--r--source/text/swriter/01/03090000.xhp53
-rw-r--r--source/text/swriter/01/03100000.xhp55
-rw-r--r--source/text/swriter/01/03120000.xhp54
-rw-r--r--source/text/swriter/01/03130000.xhp55
-rw-r--r--source/text/swriter/01/03140000.xhp56
-rw-r--r--source/text/swriter/01/04010000.xhp78
-rw-r--r--source/text/swriter/01/04020000.xhp68
-rw-r--r--source/text/swriter/01/04020100.xhp118
-rw-r--r--source/text/swriter/01/04020200.xhp60
-rw-r--r--source/text/swriter/01/04030000.xhp83
-rw-r--r--source/text/swriter/01/04040000.xhp61
-rw-r--r--source/text/swriter/01/04060000.xhp80
-rw-r--r--source/text/swriter/01/04060100.xhp74
-rw-r--r--source/text/swriter/01/04070000.xhp81
-rw-r--r--source/text/swriter/01/04070100.xhp62
-rw-r--r--source/text/swriter/01/04070200.xhp88
-rw-r--r--source/text/swriter/01/04070300.xhp88
-rw-r--r--source/text/swriter/01/04090000.xhp61
-rw-r--r--source/text/swriter/01/04090001.xhp249
-rw-r--r--source/text/swriter/01/04090002.xhp255
-rw-r--r--source/text/swriter/01/04090003.xhp199
-rw-r--r--source/text/swriter/01/04090004.xhp159
-rw-r--r--source/text/swriter/01/04090005.xhp201
-rw-r--r--source/text/swriter/01/04090006.xhp137
-rw-r--r--source/text/swriter/01/04090007.xhp155
-rw-r--r--source/text/swriter/01/04090100.xhp54
-rw-r--r--source/text/swriter/01/04090200.xhp467
-rw-r--r--source/text/swriter/01/04120000.xhp58
-rw-r--r--source/text/swriter/01/04120100.xhp106
-rw-r--r--source/text/swriter/01/04120200.xhp60
-rw-r--r--source/text/swriter/01/04120201.xhp67
-rw-r--r--source/text/swriter/01/04120210.xhp69
-rw-r--r--source/text/swriter/01/04120211.xhp97
-rw-r--r--source/text/swriter/01/04120212.xhp93
-rw-r--r--source/text/swriter/01/04120213.xhp105
-rw-r--r--source/text/swriter/01/04120214.xhp54
-rw-r--r--source/text/swriter/01/04120215.xhp76
-rw-r--r--source/text/swriter/01/04120216.xhp56
-rw-r--r--source/text/swriter/01/04120217.xhp60
-rw-r--r--source/text/swriter/01/04120219.xhp56
-rw-r--r--source/text/swriter/01/04120220.xhp58
-rw-r--r--source/text/swriter/01/04120221.xhp113
-rw-r--r--source/text/swriter/01/04120222.xhp74
-rw-r--r--source/text/swriter/01/04120223.xhp59
-rw-r--r--source/text/swriter/01/04120224.xhp59
-rw-r--r--source/text/swriter/01/04120225.xhp59
-rw-r--r--source/text/swriter/01/04120226.xhp59
-rw-r--r--source/text/swriter/01/04120227.xhp80
-rw-r--r--source/text/swriter/01/04120229.xhp86
-rw-r--r--source/text/swriter/01/04120250.xhp93
-rw-r--r--source/text/swriter/01/04120300.xhp74
-rw-r--r--source/text/swriter/01/04130000.xhp73
-rw-r--r--source/text/swriter/01/04130100.xhp54
-rw-r--r--source/text/swriter/01/04150000.xhp105
-rw-r--r--source/text/swriter/01/04180400.xhp91
-rw-r--r--source/text/swriter/01/04190000.xhp54
-rw-r--r--source/text/swriter/01/04200000.xhp80
-rw-r--r--source/text/swriter/01/04210000.xhp59
-rw-r--r--source/text/swriter/01/04220000.xhp60
-rw-r--r--source/text/swriter/01/04230000.xhp60
-rw-r--r--source/text/swriter/01/04990000.xhp60
-rw-r--r--source/text/swriter/01/05030200.xhp109
-rw-r--r--source/text/swriter/01/05030400.xhp82
-rw-r--r--source/text/swriter/01/05030800.xhp95
-rw-r--r--source/text/swriter/01/05040000.xhp63
-rw-r--r--source/text/swriter/01/05040500.xhp147
-rw-r--r--source/text/swriter/01/05040501.xhp57
-rw-r--r--source/text/swriter/01/05040600.xhp85
-rw-r--r--source/text/swriter/01/05040700.xhp84
-rw-r--r--source/text/swriter/01/05040800.xhp78
-rw-r--r--source/text/swriter/01/05060000.xhp65
-rw-r--r--source/text/swriter/01/05060100.xhp142
-rw-r--r--source/text/swriter/01/05060200.xhp201
-rw-r--r--source/text/swriter/01/05060201.xhp285
-rw-r--r--source/text/swriter/01/05060300.xhp86
-rw-r--r--source/text/swriter/01/05060700.xhp392
-rw-r--r--source/text/swriter/01/05060800.xhp83
-rw-r--r--source/text/swriter/01/05060900.xhp94
-rw-r--r--source/text/swriter/01/05080000.xhp62
-rw-r--r--source/text/swriter/01/05090000.xhp53
-rw-r--r--source/text/swriter/01/05090100.xhp102
-rw-r--r--source/text/swriter/01/05090200.xhp78
-rw-r--r--source/text/swriter/01/05090201.xhp82
-rw-r--r--source/text/swriter/01/05090300.xhp123
-rw-r--r--source/text/swriter/01/05100000.xhp57
-rw-r--r--source/text/swriter/01/05100300.xhp53
-rw-r--r--source/text/swriter/01/05100400.xhp55
-rw-r--r--source/text/swriter/01/05110000.xhp60
-rw-r--r--source/text/swriter/01/05110100.xhp59
-rw-r--r--source/text/swriter/01/05110200.xhp53
-rw-r--r--source/text/swriter/01/05110300.xhp53
-rw-r--r--source/text/swriter/01/05110500.xhp55
-rw-r--r--source/text/swriter/01/05120000.xhp60
-rw-r--r--source/text/swriter/01/05120100.xhp61
-rw-r--r--source/text/swriter/01/05120200.xhp55
-rw-r--r--source/text/swriter/01/05120300.xhp45
-rw-r--r--source/text/swriter/01/05120400.xhp68
-rw-r--r--source/text/swriter/01/05120500.xhp56
-rw-r--r--source/text/swriter/01/05130000.xhp228
-rw-r--r--source/text/swriter/01/05130002.xhp59
-rw-r--r--source/text/swriter/01/05130004.xhp58
-rw-r--r--source/text/swriter/01/05130100.xhp95
-rw-r--r--source/text/swriter/01/05140000.xhp194
-rw-r--r--source/text/swriter/01/05150000.xhp58
-rw-r--r--source/text/swriter/01/05150100.xhp57
-rw-r--r--source/text/swriter/01/05150101.xhp118
-rw-r--r--source/text/swriter/01/05150104.xhp49
-rw-r--r--source/text/swriter/01/05150200.xhp91
-rw-r--r--source/text/swriter/01/05150300.xhp63
-rw-r--r--source/text/swriter/01/05170000.xhp83
-rw-r--r--source/text/swriter/01/05180000.xhp69
-rw-r--r--source/text/swriter/01/05190000.xhp71
-rw-r--r--source/text/swriter/01/05200000.xhp58
-rw-r--r--source/text/swriter/01/05990000.xhp49
-rw-r--r--source/text/swriter/01/06030000.xhp99
-rw-r--r--source/text/swriter/01/06040000.xhp55
-rw-r--r--source/text/swriter/01/06060000.xhp67
-rw-r--r--source/text/swriter/01/06060100.xhp156
-rw-r--r--source/text/swriter/01/06080000.xhp52
-rw-r--r--source/text/swriter/01/06080100.xhp204
-rw-r--r--source/text/swriter/01/06080200.xhp80
-rw-r--r--source/text/swriter/01/06090000.xhp96
-rw-r--r--source/text/swriter/01/06100000.xhp122
-rw-r--r--source/text/swriter/01/06110000.xhp55
-rw-r--r--source/text/swriter/01/06120000.xhp53
-rw-r--r--source/text/swriter/01/06160000.xhp59
-rw-r--r--source/text/swriter/01/06170000.xhp52
-rw-r--r--source/text/swriter/01/06180000.xhp97
-rw-r--r--source/text/swriter/01/06190000.xhp52
-rw-r--r--source/text/swriter/01/06200000.xhp52
-rw-r--r--source/text/swriter/01/06210000.xhp52
-rw-r--r--source/text/swriter/01/06220000.xhp52
-rw-r--r--source/text/swriter/01/06990000.xhp58
-rw-r--r--source/text/swriter/01/format_object.xhp56
-rw-r--r--source/text/swriter/01/mailmerge00.xhp71
-rw-r--r--source/text/swriter/01/mailmerge01.xhp72
-rw-r--r--source/text/swriter/01/mailmerge02.xhp53
-rw-r--r--source/text/swriter/01/mailmerge03.xhp74
-rw-r--r--source/text/swriter/01/mailmerge04.xhp87
-rw-r--r--source/text/swriter/01/mailmerge05.xhp70
-rw-r--r--source/text/swriter/01/mailmerge06.xhp65
-rw-r--r--source/text/swriter/01/mailmerge07.xhp68
-rw-r--r--source/text/swriter/01/mailmerge08.xhp122
-rw-r--r--source/text/swriter/01/makefile.mk226
-rw-r--r--source/text/swriter/01/mm_copyto.xhp52
-rw-r--r--source/text/swriter/01/mm_cusaddfie.xhp58
-rw-r--r--source/text/swriter/01/mm_cusaddlis.xhp55
-rw-r--r--source/text/swriter/01/mm_cusgrelin.xhp69
-rw-r--r--source/text/swriter/01/mm_emabod.xhp76
-rw-r--r--source/text/swriter/01/mm_finent.xhp53
-rw-r--r--source/text/swriter/01/mm_matfie.xhp50
-rw-r--r--source/text/swriter/01/mm_newaddblo.xhp58
-rw-r--r--source/text/swriter/01/mm_newaddlis.xhp58
-rw-r--r--source/text/swriter/01/mm_seladdblo.xhp68
-rw-r--r--source/text/swriter/01/mm_seladdlis.xhp64
-rw-r--r--source/text/swriter/01/mm_seltab.xhp48
-rw-r--r--source/text/swriter/01/selection_mode.xhp53
-rw-r--r--source/text/swriter/02/02110000.xhp70
-rw-r--r--source/text/swriter/02/03210000.xhp67
-rw-r--r--source/text/swriter/02/03220000.xhp70
-rw-r--r--source/text/swriter/02/04090000.xhp70
-rw-r--r--source/text/swriter/02/04100000.xhp70
-rw-r--r--source/text/swriter/02/04220000.xhp66
-rw-r--r--source/text/swriter/02/04230000.xhp66
-rw-r--r--source/text/swriter/02/04240000.xhp66
-rw-r--r--source/text/swriter/02/04250000.xhp70
-rw-r--r--source/text/swriter/02/06040000.xhp66
-rw-r--r--source/text/swriter/02/06070000.xhp67
-rw-r--r--source/text/swriter/02/06080000.xhp67
-rw-r--r--source/text/swriter/02/06090000.xhp67
-rw-r--r--source/text/swriter/02/06120000.xhp66
-rw-r--r--source/text/swriter/02/06130000.xhp66
-rw-r--r--source/text/swriter/02/06140000.xhp66
-rw-r--r--source/text/swriter/02/08010000.xhp55
-rw-r--r--source/text/swriter/02/08080000.xhp51
-rw-r--r--source/text/swriter/02/10010000.xhp66
-rw-r--r--source/text/swriter/02/10020000.xhp64
-rw-r--r--source/text/swriter/02/10030000.xhp49
-rw-r--r--source/text/swriter/02/10050000.xhp66
-rw-r--r--source/text/swriter/02/10070000.xhp72
-rw-r--r--source/text/swriter/02/10080000.xhp70
-rw-r--r--source/text/swriter/02/10090000.xhp62
-rw-r--r--source/text/swriter/02/10110000.xhp99
-rw-r--r--source/text/swriter/02/14010000.xhp48
-rw-r--r--source/text/swriter/02/14020000.xhp545
-rw-r--r--source/text/swriter/02/14030000.xhp64
-rw-r--r--source/text/swriter/02/14040000.xhp65
-rw-r--r--source/text/swriter/02/14050000.xhp65
-rw-r--r--source/text/swriter/02/18010000.xhp107
-rw-r--r--source/text/swriter/02/18030000.xhp62
-rw-r--r--source/text/swriter/02/18030100.xhp54
-rw-r--r--source/text/swriter/02/18030200.xhp53
-rw-r--r--source/text/swriter/02/18030300.xhp54
-rw-r--r--source/text/swriter/02/18030400.xhp54
-rw-r--r--source/text/swriter/02/18030500.xhp59
-rw-r--r--source/text/swriter/02/18030600.xhp54
-rw-r--r--source/text/swriter/02/18030700.xhp53
-rw-r--r--source/text/swriter/02/18120000.xhp71
-rw-r--r--source/text/swriter/02/18130000.xhp67
-rw-r--r--source/text/swriter/02/19010000.xhp49
-rw-r--r--source/text/swriter/02/19020000.xhp49
-rw-r--r--source/text/swriter/02/19030000.xhp83
-rw-r--r--source/text/swriter/02/19040000.xhp59
-rw-r--r--source/text/swriter/02/19050000.xhp65
-rw-r--r--source/text/swriter/02/makefile.mk99
-rw-r--r--source/text/swriter/02/word_count_stb.xhp29
-rw-r--r--source/text/swriter/04/01020000.xhp1139
-rw-r--r--source/text/swriter/04/makefile.mk52
-rw-r--r--source/text/swriter/guide/anchor_object.xhp110
-rw-r--r--source/text/swriter/guide/arrange_chapters.xhp108
-rw-r--r--source/text/swriter/guide/auto_numbering.xhp82
-rw-r--r--source/text/swriter/guide/auto_off.xhp128
-rw-r--r--source/text/swriter/guide/auto_spellcheck.xhp80
-rw-r--r--source/text/swriter/guide/autocorr_except.xhp65
-rw-r--r--source/text/swriter/guide/autotext.xhp120
-rw-r--r--source/text/swriter/guide/background.xhp113
-rw-r--r--source/text/swriter/guide/border_object.xhp95
-rw-r--r--source/text/swriter/guide/border_page.xhp96
-rw-r--r--source/text/swriter/guide/borders.xhp237
-rw-r--r--source/text/swriter/guide/calculate.xhp66
-rw-r--r--source/text/swriter/guide/calculate_clipboard.xhp69
-rw-r--r--source/text/swriter/guide/calculate_intable.xhp77
-rw-r--r--source/text/swriter/guide/calculate_intext.xhp73
-rw-r--r--source/text/swriter/guide/calculate_intext2.xhp77
-rw-r--r--source/text/swriter/guide/calculate_multitable.xhp75
-rw-r--r--source/text/swriter/guide/captions.xhp86
-rw-r--r--source/text/swriter/guide/captions_numbers.xhp88
-rw-r--r--source/text/swriter/guide/change_header.xhp90
-rw-r--r--source/text/swriter/guide/chapter_numbering.xhp99
-rw-r--r--source/text/swriter/guide/conditional_text.xhp124
-rw-r--r--source/text/swriter/guide/conditional_text2.xhp79
-rw-r--r--source/text/swriter/guide/delete_from_dict.xhp63
-rw-r--r--source/text/swriter/guide/dragdroptext.xhp73
-rw-r--r--source/text/swriter/guide/even_odd_sdw.xhp113
-rw-r--r--source/text/swriter/guide/field_convert.xhp66
-rw-r--r--source/text/swriter/guide/fields.xhp115
-rw-r--r--source/text/swriter/guide/fields_date.xhp68
-rw-r--r--source/text/swriter/guide/fields_enter.xhp69
-rw-r--r--source/text/swriter/guide/fields_userdata.xhp238
-rw-r--r--source/text/swriter/guide/finding.xhp146
-rw-r--r--source/text/swriter/guide/footer_nextpage.xhp75
-rw-r--r--source/text/swriter/guide/footer_pagenumber.xhp75
-rw-r--r--source/text/swriter/guide/footnote_usage.xhp125
-rw-r--r--source/text/swriter/guide/footnote_with_line.xhp92
-rw-r--r--source/text/swriter/guide/form_letters_main.xhp86
-rw-r--r--source/text/swriter/guide/globaldoc.xhp81
-rw-r--r--source/text/swriter/guide/globaldoc_howtos.xhp190
-rw-r--r--source/text/swriter/guide/header_footer.xhp81
-rw-r--r--source/text/swriter/guide/header_pagestyles.xhp112
-rw-r--r--source/text/swriter/guide/header_with_chapter.xhp111
-rw-r--r--source/text/swriter/guide/header_with_line.xhp86
-rw-r--r--source/text/swriter/guide/hidden_text.xhp143
-rw-r--r--source/text/swriter/guide/hidden_text_display.xhp66
-rw-r--r--source/text/swriter/guide/hyperlinks.xhp76
-rw-r--r--source/text/swriter/guide/hyphen_prevent.xhp83
-rw-r--r--source/text/swriter/guide/indenting.xhp70
-rw-r--r--source/text/swriter/guide/indices_delete.xhp84
-rw-r--r--source/text/swriter/guide/indices_edit.xhp72
-rw-r--r--source/text/swriter/guide/indices_enter.xhp102
-rw-r--r--source/text/swriter/guide/indices_form.xhp108
-rw-r--r--source/text/swriter/guide/indices_index.xhp83
-rw-r--r--source/text/swriter/guide/indices_literature.xhp136
-rw-r--r--source/text/swriter/guide/indices_multidoc.xhp72
-rw-r--r--source/text/swriter/guide/indices_toc.xhp93
-rw-r--r--source/text/swriter/guide/indices_userdef.xhp109
-rw-r--r--source/text/swriter/guide/insert_beforetable.xhp54
-rw-r--r--source/text/swriter/guide/insert_graphic.xhp59
-rw-r--r--source/text/swriter/guide/insert_graphic_dialog.xhp66
-rw-r--r--source/text/swriter/guide/insert_graphic_fromchart.xhp72
-rw-r--r--source/text/swriter/guide/insert_graphic_fromdraw.xhp71
-rw-r--r--source/text/swriter/guide/insert_graphic_gallery.xhp61
-rw-r--r--source/text/swriter/guide/insert_graphic_scan.xhp70
-rw-r--r--source/text/swriter/guide/insert_line.xhp98
-rw-r--r--source/text/swriter/guide/insert_tab_innumbering.xhp69
-rw-r--r--source/text/swriter/guide/join_numbered_lists.xhp84
-rw-r--r--source/text/swriter/guide/jump2statusbar.xhp52
-rw-r--r--source/text/swriter/guide/keyboard.xhp98
-rw-r--r--source/text/swriter/guide/load_styles.xhp82
-rw-r--r--source/text/swriter/guide/main.xhp250
-rw-r--r--source/text/swriter/guide/makefile.mk187
-rw-r--r--source/text/swriter/guide/navigator.xhp66
-rw-r--r--source/text/swriter/guide/nonprintable_text.xhp68
-rw-r--r--source/text/swriter/guide/number_date_conv.xhp63
-rw-r--r--source/text/swriter/guide/number_sequence.xhp95
-rw-r--r--source/text/swriter/guide/numbering_lines.xhp141
-rw-r--r--source/text/swriter/guide/numbering_paras.xhp100
-rw-r--r--source/text/swriter/guide/page_break.xhp85
-rw-r--r--source/text/swriter/guide/pagebackground.xhp149
-rw-r--r--source/text/swriter/guide/pagenumbers.xhp135
-rw-r--r--source/text/swriter/guide/pageorientation.xhp137
-rw-r--r--source/text/swriter/guide/pagestyles.xhp135
-rw-r--r--source/text/swriter/guide/print_brochure.xhp81
-rw-r--r--source/text/swriter/guide/print_preview.xhp66
-rw-r--r--source/text/swriter/guide/print_small.xhp77
-rw-r--r--source/text/swriter/guide/printer_tray.xhp76
-rw-r--r--source/text/swriter/guide/printing_order.xhp64
-rw-r--r--source/text/swriter/guide/protection.xhp132
-rw-r--r--source/text/swriter/guide/references.xhp140
-rw-r--r--source/text/swriter/guide/references_modify.xhp66
-rw-r--r--source/text/swriter/guide/registertrue.xhp80
-rw-r--r--source/text/swriter/guide/removing_line_breaks.xhp76
-rw-r--r--source/text/swriter/guide/reset_format.xhp64
-rw-r--r--source/text/swriter/guide/resize_navigator.xhp65
-rw-r--r--source/text/swriter/guide/ruler.xhp73
-rw-r--r--source/text/swriter/guide/search_regexp.xhp95
-rw-r--r--source/text/swriter/guide/section_edit.xhp88
-rw-r--r--source/text/swriter/guide/section_insert.xhp110
-rw-r--r--source/text/swriter/guide/sections.xhp79
-rw-r--r--source/text/swriter/guide/send2html.xhp66
-rw-r--r--source/text/swriter/guide/shortcut_writing.xhp93
-rw-r--r--source/text/swriter/guide/smarttags.xhp69
-rw-r--r--source/text/swriter/guide/spellcheck_dialog.xhp77
-rw-r--r--source/text/swriter/guide/stylist_fillformat.xhp81
-rw-r--r--source/text/swriter/guide/stylist_fromselect.xhp97
-rw-r--r--source/text/swriter/guide/stylist_update.xhp75
-rw-r--r--source/text/swriter/guide/subscript.xhp71
-rw-r--r--source/text/swriter/guide/table_cellmerge.xhp72
-rw-r--r--source/text/swriter/guide/table_cells.xhp87
-rw-r--r--source/text/swriter/guide/table_delete.xhp60
-rw-r--r--source/text/swriter/guide/table_insert.xhp204
-rw-r--r--source/text/swriter/guide/table_repeat_multiple_headers.xhp72
-rw-r--r--source/text/swriter/guide/table_select.xhp67
-rw-r--r--source/text/swriter/guide/table_sizing.xhp109
-rw-r--r--source/text/swriter/guide/tablemode.xhp68
-rw-r--r--source/text/swriter/guide/template_create.xhp77
-rw-r--r--source/text/swriter/guide/template_default.xhp95
-rw-r--r--source/text/swriter/guide/templates_styles.xhp68
-rw-r--r--source/text/swriter/guide/text_animation.xhp66
-rw-r--r--source/text/swriter/guide/text_capital.xhp80
-rw-r--r--source/text/swriter/guide/text_centervert.xhp81
-rw-r--r--source/text/swriter/guide/text_direct_cursor.xhp77
-rw-r--r--source/text/swriter/guide/text_emphasize.xhp69
-rw-r--r--source/text/swriter/guide/text_frame.xhp136
-rw-r--r--source/text/swriter/guide/text_nav_keyb.xhp168
-rw-r--r--source/text/swriter/guide/text_rotate.xhp76
-rw-r--r--source/text/swriter/guide/textdoc_inframe.xhp91
-rw-r--r--source/text/swriter/guide/using_hyphen.xhp117
-rw-r--r--source/text/swriter/guide/using_numbered_lists.xhp77
-rw-r--r--source/text/swriter/guide/using_numbered_lists2.xhp78
-rw-r--r--source/text/swriter/guide/using_numbering.xhp106
-rw-r--r--source/text/swriter/guide/using_thesaurus.xhp82
-rw-r--r--source/text/swriter/guide/word_completion.xhp79
-rw-r--r--source/text/swriter/guide/word_completion_adjust.xhp86
-rw-r--r--source/text/swriter/guide/words_count.xhp73
-rw-r--r--source/text/swriter/guide/wrap.xhp103
-rw-r--r--source/text/swriter/main0000.xhp65
-rw-r--r--source/text/swriter/main0100.xhp59
-rw-r--r--source/text/swriter/main0101.xhp75
-rw-r--r--source/text/swriter/main0102.xhp84
-rw-r--r--source/text/swriter/main0103.xhp63
-rw-r--r--source/text/swriter/main0104.xhp87
-rw-r--r--source/text/swriter/main0105.xhp79
-rw-r--r--source/text/swriter/main0106.xhp73
-rw-r--r--source/text/swriter/main0107.xhp52
-rw-r--r--source/text/swriter/main0110.xhp114
-rw-r--r--source/text/swriter/main0200.xhp98
-rw-r--r--source/text/swriter/main0202.xhp128
-rw-r--r--source/text/swriter/main0203.xhp45
-rw-r--r--source/text/swriter/main0204.xhp86
-rw-r--r--source/text/swriter/main0205.xhp79
-rw-r--r--source/text/swriter/main0206.xhp69
-rw-r--r--source/text/swriter/main0208.xhp66
-rw-r--r--source/text/swriter/main0210.xhp66
-rw-r--r--source/text/swriter/main0213.xhp51
-rw-r--r--source/text/swriter/main0214.xhp60
-rw-r--r--source/text/swriter/main0215.xhp94
-rw-r--r--source/text/swriter/main0216.xhp91
-rw-r--r--source/text/swriter/main0220.xhp87
-rw-r--r--source/text/swriter/main0503.xhp67
-rw-r--r--source/text/swriter/makefile.mk75
2311 files changed, 219469 insertions, 0 deletions
diff --git a/source/text/sbasic/guide/control_properties.xhp b/source/text/sbasic/guide/control_properties.xhp
new file mode 100644
index 0000000000..daf0423632
--- /dev/null
+++ b/source/text/sbasic/guide/control_properties.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguidecontrol_propertiesxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Changing the Properties of Controls in the Dialog Editor</title>
+<filename>/text/sbasic/guide/control_properties.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-07-25T15:40:12">FPE: Deleted screenshot. Cleaned.</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145786"><bookmark_value>properties; controls in dialog editor</bookmark_value>
+<bookmark_value>changing;control properties</bookmark_value>
+<bookmark_value>controls;changing properties</bookmark_value>
+<bookmark_value>dialog editor;changing control properties</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145786" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="control_properties"><link href="text/sbasic/guide/control_properties.xhp" name="Changing the Properties of Controls in the Dialog Editor">Changing the Properties of Controls in the Dialog Editor</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="2">You can set the properties of control that you add to a dialog. For example, you can change the color, name, and size of a button that you added. You can change most control properties when you create or edit a dialog. However, you can only change some properties at runtime.</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="3">To change the properties of a control in design mode, right-click the control, and then choose <emph>Properties</emph>.</paragraph>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/guide/create_dialog.xhp b/source/text/sbasic/guide/create_dialog.xhp
new file mode 100644
index 0000000000..3e1cf54c4f
--- /dev/null
+++ b/source/text/sbasic/guide/create_dialog.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguidecreate_dialogxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Creating a Basic Dialog</title>
+<filename>/text/sbasic/guide/create_dialog.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>dialogs;creating Basic dialogs</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="create_dialog"><link href="text/sbasic/guide/create_dialog.xhp" name="Creating a Basic Dialog">Creating a Basic Dialog</link>
+</variable></paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3163802" xml-lang="en-US" l10n="CHG" oldref="3">Choose <emph>Tools - Macros - Organize Dialogs</emph>, and then click <emph>New</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150447" xml-lang="en-US" l10n="CHG" oldref="11">Enter a name for the dialog, and click OK. To rename the dialog later, right-click the name on the tab, and choose <emph>Rename</emph>. <comment>UFI: issue #i51589#</comment></paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_idN1065F" xml-lang="en-US" l10n="NEW">Click <emph>Edit</emph>. The Basic dialog editor opens and contains a blank dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153726" xml-lang="en-US" l10n="CHG" oldref="6">If you do not see the <emph>Toolbox</emph> bar, click the arrow next to the <emph>Insert Controls </emph>icon to open the <emph>Toolbox</emph> bar.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="12">Click a tool and then drag in the dialog to create the control.</paragraph>
+</listitem>
+</list>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/translation.xhp#translation"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/guide/insert_control.xhp b/source/text/sbasic/guide/insert_control.xhp
new file mode 100644
index 0000000000..58e0ccce9a
--- /dev/null
+++ b/source/text/sbasic/guide/insert_control.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguideinsert_controlxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Creating Controls in the Dialog Editor</title>
+<filename>/text/sbasic/guide/insert_control.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-07-25T15:51:18">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149182"><bookmark_value>controls; creating in the dialog editor</bookmark_value>
+<bookmark_value>dialog editor;creating controls</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149182" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="insert_control"><link href="text/sbasic/guide/insert_control.xhp" name="Creating Controls in the Dialog Editor">Creating Controls in the Dialog Editor</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146797" xml-lang="en-US" l10n="CHG" oldref="2">Use the tools on the <emph>Toolbox </emph>of the BASIC dialog editor to add controls to your dialog.</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3150276" xml-lang="en-US" l10n="CHG" oldref="7">To open the <emph>Toolbox</emph>, click the arrow next to the <emph>Insert Controls</emph> icon on the <emph>Macro</emph> toolbar.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="3">Click a tool on the toolbar, for example, <emph>Button</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="4">On the dialog, drag the button to the size you want.</paragraph>
+</listitem>
+</list>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/guide/makefile.mk b/source/text/sbasic/guide/makefile.mk
new file mode 100644
index 0000000000..e5cfd3fe02
--- /dev/null
+++ b/source/text/sbasic/guide/makefile.mk
@@ -0,0 +1,57 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/sbasic/guide
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_sbasic_guide
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ control_properties.xhp \
+ create_dialog.xhp \
+ insert_control.xhp \
+ sample_code.xhp \
+ show_dialog.xhp \
+ translation.xhp
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
diff --git a/source/text/sbasic/guide/sample_code.xhp b/source/text/sbasic/guide/sample_code.xhp
new file mode 100644
index 0000000000..818ca388d0
--- /dev/null
+++ b/source/text/sbasic/guide/sample_code.xhp
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguidesample_codexml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Programming Examples for Controls in the Dialog Editor</title>
+<filename>/text/sbasic/guide/sample_code.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-01-12T10:40:14">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155338"><bookmark_value>programming examples for controls</bookmark_value>
+<bookmark_value>dialogs;loading (example)</bookmark_value>
+<bookmark_value>dialogs;displaying (example)</bookmark_value>
+<bookmark_value>controls;reading or editing properties (example)</bookmark_value>
+<bookmark_value>list boxes;removing entries from (example)</bookmark_value>
+<bookmark_value>list boxes;adding entries to (example)</bookmark_value>
+<bookmark_value>examples; programming controls</bookmark_value>
+<bookmark_value>dialog editor;programming examples for controls</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155338" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="sample_code"><link href="text/sbasic/guide/sample_code.xhp" name="Programming Examples for Controls in the Dialog Editor">Programming Examples for Controls in the Dialog Editor</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153031" xml-lang="en-US" l10n="CHG" oldref="2">The following examples are for a new <link href="text/sbasic/guide/create_dialog.xhp" name="dialog">dialog</link> called "Dialog1". Use the tools on the <emph>Toolbox</emph> bar in the dialog editor to create the dialog and add the following controls: a <emph>Check Box</emph> called "CheckBox1", a <emph>Label Field</emph> called "Label1", a <emph>Button</emph> called "CommandButton1", and a <emph>List Box</emph> called "ListBox1".</paragraph>
+<paragraph role="warning" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="3">Be consistent with uppercase and lowercase letter when you attach a control to an object variable.</paragraph>
+<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="3" l10n="U" oldref="4">Global Function for Loading Dialogs</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3153193" xml-lang="en-US" localize="false">Function LoadDialog(Libname as String, DialogName as String, Optional oLibContainer)</paragraph>
+<paragraph role="bascode" id="par_id3145787" xml-lang="en-US" localize="false">Dim oLib as Object</paragraph>
+<paragraph role="bascode" id="par_id3148576" xml-lang="en-US" localize="false">Dim oLibDialog as Object</paragraph>
+<paragraph role="bascode" id="par_id3153726" xml-lang="en-US" localize="false">Dim oRuntimeDialog as Object</paragraph>
+<paragraph role="bascode" id="par_id3149261" xml-lang="en-US" localize="false"> If IsMissing(oLibContainer) Then</paragraph>
+<paragraph role="bascode" id="par_id3148646" xml-lang="en-US" localize="false"> oLibContainer = DialogLibraries</paragraph>
+<paragraph role="bascode" id="par_id3151115" xml-lang="en-US" localize="false"> End If</paragraph>
+<paragraph role="bascode" id="par_id3146986" xml-lang="en-US" localize="false"> oLibContainer.LoadLibrary(LibName)</paragraph>
+<paragraph role="bascode" id="par_id3145366" xml-lang="en-US" localize="false"> oLib = oLibContainer.GetByName(Libname)</paragraph>
+<paragraph role="bascode" id="par_id3145271" xml-lang="en-US" localize="false"> oLibDialog = oLib.GetByName(DialogName)</paragraph>
+<paragraph role="bascode" id="par_id3144764" xml-lang="en-US" localize="false"> oRuntimeDialog = CreateUnoDialog(oLibDialog)</paragraph>
+<paragraph role="bascode" id="par_id3153876" xml-lang="en-US" localize="false"> LoadDialog() = oRuntimeDialog</paragraph>
+<paragraph role="bascode" id="par_id3156286" xml-lang="en-US" localize="false">End Function</paragraph>
+</bascode>
+<paragraph role="heading" id="hd_id3149412" xml-lang="en-US" level="3" l10n="U" oldref="18">Displaying a Dialog</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3145801" xml-lang="en-US">REM global definition of variables</paragraph>
+<paragraph role="bascode" id="par_id3150716" xml-lang="en-US" localize="false">Dim oDialog1 AS Object</paragraph>
+<paragraph role="bascode" id="par_id3154510" xml-lang="en-US" localize="false">Sub StartDialog1</paragraph>
+<paragraph role="bascode" id="par_id3146913" xml-lang="en-US" localize="false"> BasicLibraries.LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id3150327" xml-lang="en-US" localize="false"> oDialog1 = LoadDialog("Standard", "Dialog1")</paragraph>
+<paragraph role="bascode" id="par_id3155767" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
+<paragraph role="bascode" id="par_id3149019" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+<paragraph role="heading" id="hd_id3150042" xml-lang="en-US" level="3" l10n="U" oldref="27">Read or Edit Properties of Controls in the Program</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3159267" xml-lang="en-US" localize="false">Sub Sample1</paragraph>
+<paragraph role="bascode" id="par_id3155335" xml-lang="en-US" localize="false"> BasicLibraries.LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id3163808" xml-lang="en-US" localize="false"> oDialog1 = LoadDialog("Standard", "Dialog1")</paragraph>
+<paragraph role="bascode" id="par_id3145232" xml-lang="en-US"> REM get dialog model</paragraph>
+<paragraph role="bascode" id="par_id3146316" xml-lang="en-US" localize="false"> oDialog1Model = oDialog1.Model</paragraph>
+<paragraph role="bascode" id="par_id3154021" xml-lang="en-US"> REM display text of Label1</paragraph>
+<paragraph role="bascode" id="par_id3150301" xml-lang="en-US" localize="false"> oLabel1 = oDialog1.GetControl("Label1")</paragraph>
+<paragraph role="bascode" id="par_id3152584" xml-lang="en-US" localize="false"> MsgBox oLabel1.Text</paragraph>
+<paragraph role="bascode" id="par_id3151277" xml-lang="en-US"> REM set new text for control Label1</paragraph>
+<paragraph role="bascode" id="par_id3154119" xml-lang="en-US"> oLabel1.Text = "New Files"</paragraph>
+<paragraph role="bascode" id="par_id3155115" xml-lang="en-US"> REM display model properties for the control CheckBox1</paragraph>
+<paragraph role="bascode" id="par_id3166426" xml-lang="en-US" localize="false"> oCheckBox1Model = oDialog1Model.CheckBox1</paragraph>
+<paragraph role="bascode" id="par_id3153270" xml-lang="en-US" localize="false"> MsgBox oCheckBox1Model.Dbg_Properties</paragraph>
+<paragraph role="bascode" id="par_id3149817" xml-lang="en-US"> REM set new state for CheckBox1 for model of control</paragraph>
+<paragraph role="bascode" id="par_id3145134" xml-lang="en-US" localize="false"> oCheckBox1Model.State = 1</paragraph>
+<paragraph role="bascode" id="par_id3159102" xml-lang="en-US"> REM display model properties for control CommandButton1</paragraph>
+<paragraph role="bascode" id="par_id3152777" xml-lang="en-US" localize="false"> oCMD1Model = oDialog1Model.CommandButton1</paragraph>
+<paragraph role="bascode" id="par_id3149209" xml-lang="en-US" localize="false"> MsgBox oCMD1Model.Dbg_Properties</paragraph>
+<paragraph role="bascode" id="par_id3150368" xml-lang="en-US"> REM display properties of control CommandButton1</paragraph>
+<paragraph role="bascode" id="par_id3150883" xml-lang="en-US" localize="false"> oCMD1 = oDialog1.GetControl("CommandButton1")</paragraph>
+<paragraph role="bascode" id="par_id3155380" xml-lang="en-US" localize="false"> MsgBox oCMD1.Dbg_Properties</paragraph>
+<paragraph role="bascode" id="par_id3150201" xml-lang="en-US"> REM execute dialog</paragraph>
+<paragraph role="bascode" id="par_id3154485" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
+<paragraph role="bascode" id="par_id3146115" xml-lang="en-US">End Sub</paragraph>
+</bascode>
+<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="3" l10n="U" oldref="55">Add an Entry to a ListBox</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3155088" xml-lang="en-US" localize="false">Sub AddEntry</paragraph>
+<paragraph role="bascode" id="par_id3154528" xml-lang="en-US" localize="false"> BasicLibraries.LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id3159222" xml-lang="en-US" localize="false"> oDialog1 = LoadDialog("Standard", "Dialog1")</paragraph>
+<paragraph role="bascode" id="par_id3148700" xml-lang="en-US"> REM adds a new entry to the ListBox</paragraph>
+<paragraph role="bascode" id="par_id3159173" xml-lang="en-US" localize="false"> oDialog1Model = oDialog1.Model</paragraph>
+<paragraph role="bascode" id="par_id3153305" xml-lang="en-US" localize="false"> oListBox = oDialog1.GetControl("ListBox1")</paragraph>
+<paragraph role="bascode" id="par_id3153914" xml-lang="en-US" localize="false"> Dim iCount as integer</paragraph>
+<paragraph role="bascode" id="par_id3151243" xml-lang="en-US" localize="false"> iCount = oListbox.ItemCount</paragraph>
+<paragraph role="bascode" id="par_id3144504" xml-lang="en-US"> oListbox.additem("New Item" &amp; iCount,0)</paragraph>
+<paragraph role="bascode" id="par_id3149328" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+<paragraph role="heading" id="hd_id3147071" xml-lang="en-US" level="3" l10n="U" oldref="64">Remove an Entry from a ListBox</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3159095" xml-lang="en-US" localize="false">Sub RemoveEntry</paragraph>
+<paragraph role="bascode" id="par_id3154958" xml-lang="en-US" localize="false"> BasicLibraries.LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id3149443" xml-lang="en-US" localize="false"> oDialog1 = LoadDialog("Standard", "Dialog1")</paragraph>
+<paragraph role="bascode" id="par_id3153247" xml-lang="en-US"> REM remove the first entry from the ListBox</paragraph>
+<paragraph role="bascode" id="par_id3151302" xml-lang="en-US" localize="false"> oDialog1Model = oDialog1.Model</paragraph>
+<paragraph role="bascode" id="par_id3153976" xml-lang="en-US" localize="false"> oListBox = oDialog1.GetControl("ListBox1")</paragraph>
+<paragraph role="bascode" id="par_id3155383" xml-lang="en-US" localize="false"> oListbox.removeitems(0,1)</paragraph>
+<paragraph role="bascode" id="par_id3150892" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/guide/show_dialog.xhp b/source/text/sbasic/guide/show_dialog.xhp
new file mode 100644
index 0000000000..c412d2ac45
--- /dev/null
+++ b/source/text/sbasic/guide/show_dialog.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguideshow_dialogxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Opening a Dialog With Program Code</title>
+<filename>/text/sbasic/guide/show_dialog.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154140"><bookmark_value>module/dialog toggle</bookmark_value>
+<bookmark_value>dialogs;using program code to show (example)</bookmark_value>
+<bookmark_value>examples; showing a dialog using program code</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="show_dialog"><link href="text/sbasic/guide/show_dialog.xhp" name="Opening a Dialog With Program Code">Opening a Dialog With Program Code</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="2">In the <item type="productname">%PRODUCTNAME</item> BASIC window for a dialog that you created, leave the dialog editor by clicking the name tab of the Module that the dialog is assigned to. The name tab is at the bottom of the window.</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="6">Enter the following code for a subroutine called <emph>Dialog1Show</emph>. In this example, the name of the dialog that you created is "Dialog1":</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3156443" xml-lang="en-US" localize="false">Sub Dialog1Show</paragraph>
+<paragraph role="bascode" id="par_id3148575" xml-lang="en-US" localize="false"> BasicLibraries.LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id3152463" xml-lang="en-US" localize="false"> oDialog1 = LoadDialog("Standard", "Dialog1")</paragraph>
+<paragraph role="bascode" id="par_id3148646" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
+<paragraph role="bascode" id="par_id3147349" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="18">Without using "LoadDialog" you can call the code as follows:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3163710" xml-lang="en-US" localize="false">Sub Dialog1Show</paragraph>
+<paragraph role="bascode" id="par_id3146985" xml-lang="en-US" localize="false"> DialogLibraries.LoadLibrary("Standard")</paragraph>
+<paragraph role="bascode" id="par_id3155418" xml-lang="en-US" localize="false"> oDialog1 = CreateUnoDialog( DialogLibraries.Standard.Dialog1 )</paragraph>
+<paragraph role="bascode" id="par_id3154944" xml-lang="en-US" localize="false"> oDialog1.Execute()</paragraph>
+<paragraph role="bascode" id="par_id3145800" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+<paragraph role="paragraph" id="par_id3153157" xml-lang="en-US" l10n="U" oldref="16">When you execute this code, "Dialog1" opens. To close the dialog, click the close button (x) on its title bar.</paragraph>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/guide/translation.xhp b/source/text/sbasic/guide/translation.xhp
new file mode 100644
index 0000000000..255186bffa
--- /dev/null
+++ b/source/text/sbasic/guide/translation.xhp
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicguidetranslationxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Translation of Controls in the Dialog Editor</title>
+<filename>/text/sbasic/guide/translation.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id8915372"><bookmark_value>dialogs;translating</bookmark_value>
+<bookmark_value>localizing dialogs</bookmark_value>
+<bookmark_value>translating dialogs</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3574896" xml-lang="en-US" level="1" l10n="NEW"><variable id="translation"><link href="text/sbasic/guide/translation.xhp">Translation of Controls in the Dialog Editor</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id4601940" xml-lang="en-US" l10n="NEW"><ahelp hid=".">The Language toolbar in the Basic IDE dialog editor shows controls to enable and manage localizable dialogs.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id9538560" xml-lang="en-US" l10n="NEW">By default, any dialog that you create only contains string resources for one language. You may want to create dialogs that automatically show localized strings according to the user's language settings.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:CurrentLanguage" id="bm_id9421979" localize="false"/><paragraph role="paragraph" id="par_id6998809" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Select the language for the strings that you want to edit. Click the Manage Languages icon to add languages.</ahelp></paragraph><comment>Manage Language icon is in sbasic/shared/02/20000000.xhp</comment>
+<bookmark xml-lang="en-US" branch="hid/basctl:ListBox:RID_DLG_MANAGE_LANGUAGE:LB_LANGUAGE" id="bm_id1646778" localize="false"/><paragraph role="paragraph" id="par_id71413" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Click a language, then click Default to set the language as default, or click Delete to remove the language from the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:PushButton:RID_DLG_MANAGE_LANGUAGE:PB_ADD_LANG" id="bm_id1228370" localize="false"/><paragraph role="paragraph" id="par_id2924283" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Opens a dialog where you can add a language to the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:PushButton:RID_DLG_MANAGE_LANGUAGE:PB_DEL_LANG" id="bm_id1601611" localize="false"/><paragraph role="paragraph" id="par_id5781731" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Select a language in the list and click Delete to remove that language. When you remove all languages, the string resources for localizable dialogs are removed from all dialogs in the current library.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_PUSHBUTTON_RID_DLG_MANAGE_LANGUAGE_PB_MAKE_DEFAULT" id="bm_id733359" localize="false"/><paragraph role="paragraph" id="par_id6942045" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Select a language in the list and click Default to set the language as default language.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:ListBox:RID_DLG_SETDEF_LANGUAGE:LB_DEF_LANGUAGE" id="bm_id879848" localize="false"/><paragraph role="paragraph" id="par_id4721823" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">The default language will be used as a source for all other language strings.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_ADDNEW_CONTROL" id="bm_id8675191" localize="false"/><paragraph role="paragraph" id="par_id5806756" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Add UI languages for your dialog strings.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id6596881" xml-lang="en-US" level="2" l10n="NEW">To enable localizable dialogs</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="paragraph" id="par_id8750572" xml-lang="en-US" l10n="NEW">In the Basic IDE dialog editor, open the Language toolbar choosing <item type="menuitem">View - Toolbars - Language</item>. </paragraph>
+<paragraph role="paragraph" id="par_id2224494" xml-lang="en-US" l10n="NEW">If the current library already contains a localizable dialog, the Language toolbar is shown automatically.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id7359233" xml-lang="en-US" l10n="NEW">Click the <emph>Manage Languages</emph> icon
+<image id="img_id2526017" src="cmd/sc_managelanguage.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id2526017" xml-lang="en-US">Manage Language icon</alt>
+ </image> on the Language toolbar or on the Toolbox bar.</paragraph>
+<paragraph role="paragraph" id="par_id6549272" xml-lang="en-US" l10n="NEW">You see the Manage User Interface Language dialog. The dialog manages languages for the current library. The name of the current library is shown on the title bar.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id6529740" xml-lang="en-US" l10n="NEW">Click Add in the dialog to add a language entry. </paragraph>
+<paragraph role="paragraph" id="par_id7811822" xml-lang="en-US" l10n="NEW">This step enables all new dialogs to contain localizable string resources.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id9121982" xml-lang="en-US" l10n="NEW">The first time you click Add, you see the Set Default User Interface Language dialog. The following times you click Add, this dialog has the name Add User Interface Language.</paragraph>
+<paragraph role="paragraph" id="par_id3640247" xml-lang="en-US" l10n="NEW">You can also change the default language in the Manage User Interface Language dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3808404" xml-lang="en-US" l10n="NEW">Select a language. </paragraph>
+<paragraph role="paragraph" id="par_id4585100" xml-lang="en-US" l10n="NEW">This adds string resources to contain the translated versions of all strings to the dialog properties. The set of dialog strings of the default language is copied to the new set of strings. Later, you can switch to the new language and then translate the strings.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id2394482" xml-lang="en-US" l10n="NEW">Close the dialog or add additional languages.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id631733" xml-lang="en-US" level="2" l10n="NEW">To edit localizable controls in your dialog</paragraph>
+<paragraph role="paragraph" id="par_id2334665" xml-lang="en-US" l10n="NEW">Once you have added the resources for localizable strings in your dialogs, you can select the current language from the Current Language listbox on the Language toolbar.</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="paragraph" id="par_id8956572" xml-lang="en-US" l10n="NEW">Switch the Current Language listbox to display the default language.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id500808" xml-lang="en-US" l10n="NEW">Insert any number of controls to your dialog and enter all strings you want.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id8366649" xml-lang="en-US" l10n="NEW">Select another language in the Current Language listbox.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id476393" xml-lang="en-US" l10n="NEW">Using the control's property dialogs, edit all strings to the other language.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id2655720" xml-lang="en-US" l10n="NEW">Repeat for all languages that you added.</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3682058" xml-lang="en-US" l10n="NEW">The user of your dialog will see the strings of the user interface language of the user's version of %PRODUCTNAME, if you did provide strings in that language. </paragraph>
+<paragraph role="paragraph" id="par_id5977965" xml-lang="en-US" l10n="NEW">If no language matches the user's version, the user will see the default language strings. </paragraph>
+<paragraph role="paragraph" id="par_id3050325" xml-lang="en-US" l10n="NEW">If the user has an older version of %PRODUCTNAME that does not know localizable string resources for Basic dialogs, the user will see the default language strings.</paragraph>
+<section id="relatedtopics">
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/00000002.xhp b/source/text/sbasic/shared/00000002.xhp
new file mode 100644
index 0000000000..832a5fe1c9
--- /dev/null
+++ b/source/text/sbasic/shared/00000002.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared00000002xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">$[officename] Basic Glossary</title>
+<filename>/text/sbasic/shared/00000002.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-18T15:28:23">dedr: fixed #i30799#
+fpe: added sections and sort element</lastedited>
+</history>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/00000002.xhp" name="$[officename] Basic Glossary">$[officename] Basic Glossary</link></paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="2">This glossary explains some technical terms that you may come across when working with $[officename] Basic.</paragraph>
+<sort order="asc">
+<section id="dezimal">
+<paragraph role="heading" id="hd_id3155133" xml-lang="en-US" level="2" l10n="U" oldref="7">Decimal Point</paragraph>
+<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US" l10n="U" oldref="8">When converting numbers, $[officename] Basic uses the locale settings of the system for determining the type of decimal and thousand separator.</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="9">The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the runtime function <link href="text/sbasic/shared/03102700.xhp" name="IsNumeric">IsNumeric</link>.</paragraph>
+</section>
+<section id="colors">
+<paragraph role="heading" id="hd_id3155854" xml-lang="en-US" level="2" l10n="U" oldref="29">Colors</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="30">In $[officename] Basic, colors are treated as long integer value. The return value of color queries is also always a long integer value. When defining properties, colors can be specified using their RGB code that is converted to a long integer value using the <link href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB function</link>.</paragraph>
+</section>
+<section id="measurementunits">
+<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2" l10n="U" oldref="32">Measurement Units</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="CHG" oldref="33">In $[officename] Basic, a <emph>method parameter</emph> or a <emph>property</emph> expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - (Document Type) - General</emph>.</paragraph>
+</section>
+<section id="twips">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145801"><bookmark_value>twips; definition</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145801" xml-lang="en-US" level="2" oldref="5">Twips</paragraph>
+<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="6">A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are 1440 twips to an inch or about 567 twips to a centimeter.</paragraph>
+</section>
+<section id="urlnotation">
+<paragraph role="heading" id="hd_id3153159" xml-lang="en-US" level="2" l10n="U" oldref="106">URL Notation</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="108">URLs (<emph>Uniform Resource Locators</emph>) are used to determine the location of a resource like a file in a file system, typically inside a network environment. A URL consists of a protocol specifier, a host specifier and a file and path specifier:</paragraph>
+<paragraph role="paragraph" id="par_id3149121" xml-lang="en-US" l10n="U" oldref="107">
+<emph>protocol</emph>://<emph>host.name</emph>/<emph>path/to/the/file.html</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3168612" xml-lang="en-US" l10n="U" oldref="109">The most common usage of URLs is on the internet when specifying web pages. Example for protocols are <emph>http</emph>, <emph>ftp</emph>, or <emph>file</emph>. The <emph>file</emph> protocol specifier is used when referring to a file on the local file system.</paragraph>
+<paragraph role="paragraph" id="par_id3150324" xml-lang="en-US" l10n="U" oldref="110">URL notation does not allow certain special characters to be used. These are either replaced by other characters or encoded. A slash (<emph>/</emph>) is used as a path separator. For example, a file referred to as <emph>C:\My File.sxw</emph> on the local host in "Windows notation" becomes <emph>file:///C|/My%20File.sxw</emph> in URL notation.</paragraph>
+</section>
+</sort>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/00000003.xhp b/source/text/sbasic/shared/00000003.xhp
new file mode 100644
index 0000000000..26aea0e0ce
--- /dev/null
+++ b/source/text/sbasic/shared/00000003.xhp
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared00000003xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Information</title>
+<filename>/text/sbasic/shared/00000003.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-06-26T09:42:45">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3148550" xml-lang="en-US" level="1" l10n="U" oldref="1">Information</paragraph>
+<section id="languageformat">
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="102">You can set the locale used for controlling the formatting numbers, dates and currencies in $[officename] Basic in <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages</emph>. In Basic format codes, the decimal point (<emph>.</emph>) is always used as <emph>placeholder</emph> for the decimal separator defined in your locale and will be replaced by the corresponding character.</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="103">The same applies to the locale settings for date, time and currency formats. The Basic format code will be interpreted and displayed according to your locale setting.</paragraph>
+</section>
+<section id="farbcodes">
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="2">The color values of the 16 basic colors are as follows:</paragraph>
+<table id="tbl_id3147434">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153091" xml-lang="en-US" l10n="U" oldref="3">
+<emph>Color Value</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="4">
+<emph>Color Name</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="5">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="6">Black</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154942" xml-lang="en-US" l10n="U" oldref="7">128</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="8">Blue</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145645" xml-lang="en-US" l10n="U" oldref="9">32768</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149400" xml-lang="en-US" l10n="U" oldref="10">Green</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150753" xml-lang="en-US" l10n="U" oldref="11">32896</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="12">Cyan</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="13">8388608</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159266" xml-lang="en-US" l10n="U" oldref="14">Red</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3163807" xml-lang="en-US" l10n="U" oldref="15">8388736</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145150" xml-lang="en-US" l10n="U" oldref="16">Magenta</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147002" xml-lang="en-US" l10n="U" oldref="17">8421376</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152778" xml-lang="en-US" l10n="U" oldref="18">Yellow</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150088" xml-lang="en-US" l10n="U" oldref="19">8421504</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159239" xml-lang="en-US" l10n="U" oldref="20">White</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150206" xml-lang="en-US" l10n="U" oldref="21">12632256</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149817" xml-lang="en-US" l10n="U" oldref="22">Gray</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150363" xml-lang="en-US" l10n="U" oldref="23">255</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154576" xml-lang="en-US" l10n="U" oldref="24">Light blue</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150367" xml-lang="en-US" l10n="U" oldref="25">65280</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150202" xml-lang="en-US" l10n="U" oldref="26">Light green</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154487" xml-lang="en-US" l10n="U" oldref="27">65535</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151332" xml-lang="en-US" l10n="U" oldref="28">Light cyan</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148702" xml-lang="en-US" l10n="U" oldref="29">16711680</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153067" xml-lang="en-US" l10n="U" oldref="30">Light red</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153912" xml-lang="en-US" l10n="U" oldref="31">16711935</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159097" xml-lang="en-US" l10n="U" oldref="32">Light magenta</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155266" xml-lang="en-US" l10n="U" oldref="33">16776960</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3157978" xml-lang="en-US" l10n="U" oldref="34">Light yellow</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153286" xml-lang="en-US" l10n="U" oldref="35">16777215</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151302" xml-lang="en-US" l10n="U" oldref="36">Transparent white</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="errorcode">
+<paragraph role="heading" id="hd_id3152869" xml-lang="en-US" level="2" l10n="U" oldref="37"><variable id="errorcode">Error Codes
+</variable></paragraph>
+</section>
+<section id="allerrors">
+<paragraph role="paragraph" id="par_id315509599" xml-lang="en-US" l10n="NEW"><variable id="err1">1 An exception occurred
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155095" xml-lang="en-US" l10n="CHG" oldref="38"><variable id="err2">2 Syntax error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149126" xml-lang="en-US" l10n="U" oldref="39"><variable id="err3">3 Return without Gosub
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153976" xml-lang="en-US" l10n="CHG" oldref="40"><variable id="err4">4 Incorrect entry; please retry
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150891" xml-lang="en-US" l10n="U" oldref="41"><variable id="err5">5 Invalid procedure call
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3159227" xml-lang="en-US" l10n="U" oldref="42"><variable id="err6">6 Overflow
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154649" xml-lang="en-US" l10n="CHG" oldref="43"><variable id="err7">7 Not enough memory
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150050" xml-lang="en-US" l10n="U" oldref="44"><variable id="err8">8 Array already dimensioned
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148900" xml-lang="en-US" l10n="CHG" oldref="45"><variable id="err9">9 Index out of defined range
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153806" xml-lang="en-US" l10n="U" oldref="46"><variable id="err10">10 Duplicate definition
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146963" xml-lang="en-US" l10n="U" oldref="47"><variable id="err11">11 Division by zero
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153013" xml-lang="en-US" l10n="CHG" oldref="48"><variable id="err12">12 Variable not defined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155593" xml-lang="en-US" l10n="U" oldref="49"><variable id="err13">13 Data type mismatch
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151197" xml-lang="en-US" l10n="U" oldref="50"><variable id="err14">14 Invalid parameter
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154710" xml-lang="en-US" l10n="CHG" oldref="51"><variable id="err18">18 Process interrupted by user
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147504" xml-lang="en-US" l10n="U" oldref="52"><variable id="err20">20 Resume without error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145319" xml-lang="en-US" l10n="CHG" oldref="53"><variable id="err28">28 Not enough stack memory
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146110" xml-lang="en-US" l10n="CHG" oldref="54"><variable id="err35">35 Sub-procedure or function procedure not defined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147246" xml-lang="en-US" l10n="CHG" oldref="55"><variable id="err48">48 Error loading DLL file
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146101" xml-lang="en-US" l10n="CHG" oldref="56"><variable id="err49">49 Wrong DLL call convention
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153957" xml-lang="en-US" l10n="U" oldref="57"><variable id="err51">51 Internal error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154404" xml-lang="en-US" l10n="CHG" oldref="58"><variable id="err52">52 Invalid file name or file number
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151338" xml-lang="en-US" l10n="U" oldref="59"><variable id="err53">53 File not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147298" xml-lang="en-US" l10n="U" oldref="60"><variable id="err54">54 Incorrect file mode
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148747" xml-lang="en-US" l10n="U" oldref="61"><variable id="err55">55 File already open
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145233" xml-lang="en-US" l10n="U" oldref="62"><variable id="err57">57 Device I/O error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156399" xml-lang="en-US" l10n="U" oldref="63"><variable id="err58">58 File already exists
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149324" xml-lang="en-US" l10n="CHG" oldref="64"><variable id="err59">59 Incorrect record length
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147409" xml-lang="en-US" l10n="CHG" oldref="65"><variable id="err61">61 Disk or hard drive full
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149146" xml-lang="en-US" l10n="CHG" oldref="66"><variable id="err62">62 Reading exceeds EOF
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150456" xml-lang="en-US" l10n="CHG" oldref="67"><variable id="err63">63 Incorrect record number
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146883" xml-lang="en-US" l10n="U" oldref="68"><variable id="err67">67 Too many files
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146818" xml-lang="en-US" l10n="U" oldref="69"><variable id="err68">68 Device not available
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145225" xml-lang="en-US" l10n="CHG" oldref="70"><variable id="err70">70 Access denied
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150372" xml-lang="en-US" l10n="U" oldref="71"><variable id="err71">71 Disk not ready
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148894" xml-lang="en-US" l10n="CHG" oldref="72"><variable id="err73">73 Not implemented
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3152981" xml-lang="en-US" l10n="CHG" oldref="73"><variable id="err74">74 Renaming on different drives impossible
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149355" xml-lang="en-US" l10n="U" oldref="74"><variable id="err75">75 Path/file access error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150477" xml-lang="en-US" l10n="U" oldref="75"><variable id="err76">76 Path not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154678" xml-lang="en-US" l10n="U" oldref="76"><variable id="err91">91 Object variable not set
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149890" xml-lang="en-US" l10n="CHG" oldref="77"><variable id="err93">93 Invalid string pattern
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146942" xml-lang="en-US" l10n="CHG" oldref="78"><variable id="err94">94 Use of zero not permitted
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469429" xml-lang="en-US" l10n="NEW"><variable id="err250">250 DDE Error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469428" xml-lang="en-US" l10n="NEW"><variable id="err280">280 Awaiting response to DDE connection
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469427" xml-lang="en-US" l10n="NEW"><variable id="err281">281 No DDE channels available
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469426" xml-lang="en-US" l10n="NEW"><variable id="err282">282 No application responded to DDE connect initiation
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469425" xml-lang="en-US" l10n="NEW"><variable id="err283">283 Too many applications responded to DDE connect initiation
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469424" xml-lang="en-US" l10n="NEW"><variable id="err284">284 DDE channel locked
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469423" xml-lang="en-US" l10n="NEW"><variable id="err285">285 External application cannot execute DDE operation
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469422" xml-lang="en-US" l10n="NEW"><variable id="err286">286 Timeout while waiting for DDE response
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469421" xml-lang="en-US" l10n="NEW"><variable id="err287">287 user pressed ESCAPE during DDE operation
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469420" xml-lang="en-US" l10n="NEW"><variable id="err288">288 External application busy
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469419" xml-lang="en-US" l10n="NEW"><variable id="err289">289 DDE operation without data
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469418" xml-lang="en-US" l10n="NEW"><variable id="err290">290 Data are in wrong format
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469417" xml-lang="en-US" l10n="NEW"><variable id="err291">291 External application has been terminated
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469416" xml-lang="en-US" l10n="NEW"><variable id="err292">292 DDE connection interrupted or modified
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469415" xml-lang="en-US" l10n="NEW"><variable id="err293">293 DDE method invoked with no channel open
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469414" xml-lang="en-US" l10n="NEW"><variable id="err294">294 Invalid DDE link format
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469413" xml-lang="en-US" l10n="NEW"><variable id="err295">295 DDE message has been lost
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469412" xml-lang="en-US" l10n="NEW"><variable id="err296">296 Paste link already performed
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469411" xml-lang="en-US" l10n="NEW"><variable id="err297">297 Link mode cannot be set due to invalid link topic
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31469410" xml-lang="en-US" l10n="NEW"><variable id="err298">298 DDE requires the DDEML.DLL file
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150028" xml-lang="en-US" l10n="CHG" oldref="79"><variable id="err323">323 Module cannot be loaded; invalid format
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148434" xml-lang="en-US" l10n="U" oldref="80"><variable id="err341">341 Invalid object index
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3143219" xml-lang="en-US" l10n="CHG" oldref="81"><variable id="err366">366 Object is not available
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3144744" xml-lang="en-US" l10n="CHG" oldref="82"><variable id="err380">380 Incorrect property value
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147420" xml-lang="en-US" l10n="CHG" oldref="83"><variable id="err382">382 This property is read-only
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147472" xml-lang="en-US" l10n="CHG" oldref="84"><variable id="err394">394 This property is write-only
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148583" xml-lang="en-US" l10n="U" oldref="85"><variable id="err420">420 Invalid object reference
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153329" xml-lang="en-US" l10n="U" oldref="86"><variable id="err423">423 Property or method not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148738" xml-lang="en-US" l10n="U" oldref="87"><variable id="err424">424 Object required
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3159084" xml-lang="en-US" l10n="CHG" oldref="88"><variable id="err425">425 Invalid use of an object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146806" xml-lang="en-US" l10n="CHG" oldref="89"><variable id="err430">430 OLE Automation is not supported by this object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146130" xml-lang="en-US" l10n="CHG" oldref="90"><variable id="err438">438 This property or method is not supported by the object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154374" xml-lang="en-US" l10n="U" oldref="91"><variable id="err440">440 OLE automation error
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149685" xml-lang="en-US" l10n="CHG" oldref="92"><variable id="err445">445 This action is not supported by given object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150282" xml-lang="en-US" l10n="CHG" oldref="93"><variable id="err446">446 Named arguments are not supported by given object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150142" xml-lang="en-US" l10n="CHG" oldref="94"><variable id="err447">447 The current locale setting is not supported by the given object
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3152771" xml-lang="en-US" l10n="U" oldref="95"><variable id="err448">448 Named argument not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145145" xml-lang="en-US" l10n="CHG" oldref="96"><variable id="err449">449 Argument is not optional
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154399" xml-lang="en-US" l10n="CHG" oldref="97"><variable id="err450">450 Invalid number of arguments
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146137" xml-lang="en-US" l10n="CHG" oldref="98"><variable id="err451">451 Object is not a list
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149507" xml-lang="en-US" l10n="CHG" oldref="99"><variable id="err452">452 Invalid ordinal number
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154566" xml-lang="en-US" l10n="U" oldref="100"><variable id="err453">453 Specified DLL function not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145595" xml-lang="en-US" l10n="U" oldref="101"><variable id="err460">460 Invalid clipboard format
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455951" xml-lang="en-US" l10n="NEW"><variable id="err951">951 Unexpected symbol:
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455952" xml-lang="en-US" l10n="NEW"><variable id="err952">952 Expected:
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455953" xml-lang="en-US" l10n="NEW"><variable id="err953">953 Symbol expected
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455954" xml-lang="en-US" l10n="NEW"><variable id="err954">954 Variable expected
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455955" xml-lang="en-US" l10n="NEW"><variable id="err955">955 Label expected
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455956" xml-lang="en-US" l10n="NEW"><variable id="err956">956 Value cannot be applied
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455957" xml-lang="en-US" l10n="NEW"><variable id="err957">957 Variable already defined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455958" xml-lang="en-US" l10n="NEW"><variable id="err958">958 Sub procedure or function procedure already defined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455959" xml-lang="en-US" l10n="NEW"><variable id="err959">959 Label already defined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455960" xml-lang="en-US" l10n="NEW"><variable id="err960">960 Variable not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455961" xml-lang="en-US" l10n="NEW"><variable id="err961">961 Array or procedure not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455962" xml-lang="en-US" l10n="NEW"><variable id="err962">962 Procedure not found
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455963" xml-lang="en-US" l10n="NEW"><variable id="err963">963 Label undefined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455964" xml-lang="en-US" l10n="NEW"><variable id="err964">964 Unknown data type
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455965" xml-lang="en-US" l10n="NEW"><variable id="err965">965 Exit expected
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455966" xml-lang="en-US" l10n="NEW"><variable id="err966">966 Statement block still open: missing
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455967" xml-lang="en-US" l10n="NEW"><variable id="err967">967 Parentheses do not match
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455968" xml-lang="en-US" l10n="NEW"><variable id="err968">968 Symbol already defined differently
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455969" xml-lang="en-US" l10n="NEW"><variable id="err969">969 Parameters do not correspond to procedure
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455970" xml-lang="en-US" l10n="NEW"><variable id="err970">970 Invalid character in number
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455971" xml-lang="en-US" l10n="NEW"><variable id="err971">971 Array must be dimensioned
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455972" xml-lang="en-US" l10n="NEW"><variable id="err972">972 Else/Endif without If
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455973" xml-lang="en-US" l10n="NEW"><variable id="err973">973 not allowed within a procedure
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455974" xml-lang="en-US" l10n="NEW"><variable id="err974">974 not allowed outside a procedure
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455975" xml-lang="en-US" l10n="NEW"><variable id="err975">975 Dimension specifications do not match
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455976" xml-lang="en-US" l10n="NEW"><variable id="err976">976 Unknown option:
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455977" xml-lang="en-US" l10n="NEW"><variable id="err977">977 Constant redefined
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455978" xml-lang="en-US" l10n="NEW"><variable id="err978">978 Program too large
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455979" xml-lang="en-US" l10n="NEW"><variable id="err979">979 Strings or arrays not permitted
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455980" xml-lang="en-US" l10n="NEW"><variable id="err1000">1000 Object does not have this property
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455981" xml-lang="en-US" l10n="NEW"><variable id="err1001">1001 Object does not have this method
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455982" xml-lang="en-US" l10n="NEW"><variable id="err1002">1002 Required argument lacking
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455983" xml-lang="en-US" l10n="NEW"><variable id="err1003">1003 Invalid number of arguments
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455984" xml-lang="en-US" l10n="NEW"><variable id="err1004">1004 Error executing a method
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455985" xml-lang="en-US" l10n="NEW"><variable id="err1005">1005 Unable to set property
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id31455986" xml-lang="en-US" l10n="NEW"><variable id="err1006">1006 Unable to determine property
+</variable></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01/06130000.xhp b/source/text/sbasic/shared/01/06130000.xhp
new file mode 100644
index 0000000000..8afbd7c069
--- /dev/null
+++ b/source/text/sbasic/shared/01/06130000.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Macro</title>
+<filename>/text/sbasic/shared/01/06130000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T13:05:01">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145786"><bookmark_value>macros; Basic IDE</bookmark_value>
+<bookmark_value>Basic IDE; macros</bookmark_value>
+</bookmark><comment>this file needs more work, see i62546</comment>
+<paragraph role="heading" id="hd_id3145786" xml-lang="en-US" level="1" l10n="U" oldref="1">Macro</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="makro"><ahelp hid=".">Opens the <emph>Macro </emph>dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
+</variable></paragraph>
+<paragraph role="heading" id="hd_id3154145" xml-lang="en-US" level="2" l10n="U" oldref="3">Macro name</paragraph>
+<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153729" xml-lang="en-US" level="2" l10n="U" oldref="7">Macro from / Save macro in</paragraph>
+<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="HID_BASICIDE_LIBS">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="2" l10n="U" oldref="11">Run / Save</paragraph>
+<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN">Runs or saves the current macro.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153158" xml-lang="en-US" level="2" l10n="U" oldref="15">Assign</paragraph>
+<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US" l10n="CHG" oldref="16"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145799" xml-lang="en-US" level="2" l10n="U" oldref="17">Edit</paragraph>
+<paragraph role="paragraph" id="par_id3147127" xml-lang="en-US" l10n="CHG" oldref="18"><ahelp hid=".">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149400" xml-lang="en-US" level="2" l10n="U" oldref="19">New/Delete</paragraph>
+<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US" l10n="CHG" oldref="61"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL">Creates a new macro, or deletes the selected macro.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US" l10n="CHG" oldref="20">To create a new macro, select the "Standard" module in the <emph>Macro from</emph> list, and then click <emph>New</emph>. </paragraph>
+<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="21">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2" l10n="U" oldref="22">Organizer</paragraph>
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3166447" xml-lang="en-US" level="3" l10n="U" oldref="29">Module/Dialog</paragraph>
+<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="CHG" oldref="30"><ahelp hid="HID_BASICIDE_MODULES_TREE">Lists the existing macros and dialogs.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3149922" xml-lang="en-US" l10n="CHG" oldref="31">You can drag-and-drop a module or a dialog between libraries.</paragraph>
+<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US" l10n="CHG" oldref="33">To copy a dialog or a module, hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while you drag-and-drop.</paragraph>
+<paragraph role="heading" id="hd_id3147131" xml-lang="en-US" level="3" l10n="U" oldref="34">Edit</paragraph>
+<paragraph role="paragraph" id="par_id3149816" xml-lang="en-US" l10n="U" oldref="35"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT">Opens the selected macro or dialog for editing.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3151214" xml-lang="en-US" level="3" l10n="CHG" oldref="36">New</paragraph>
+<paragraph role="paragraph" id="par_id3154202" xml-lang="en-US" l10n="CHG" oldref="37"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD">Creates a new module.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US" l10n="CHG" oldref="40"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Creates a new dialog.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154587" xml-lang="en-US" level="3" l10n="U" oldref="42">Libraries tab page</paragraph>
+<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US" l10n="CHG" oldref="43"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG">Lets you manage the macro libraries.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145259" xml-lang="en-US" level="3" l10n="CHG" oldref="44">Location</paragraph>
+<paragraph role="paragraph" id="par_id3153234" xml-lang="en-US" l10n="CHG" oldref="45"><ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS">Select the location containing the macro libraries that you want to organize.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148460" xml-lang="en-US" level="3" l10n="U" oldref="46">Library</paragraph>
+<paragraph role="paragraph" id="par_id3150828" xml-lang="en-US" l10n="CHG" oldref="47"><ahelp hid="HID_BASICIDE_LIBS_TREE">Lists the macro libraries in the chosen location.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145134" xml-lang="en-US" level="3" l10n="U" oldref="48">Edit</paragraph>
+<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US" l10n="U" oldref="49"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150371" xml-lang="en-US" level="3" l10n="U" oldref="50">Password</paragraph>
+<paragraph role="paragraph" id="par_id3166430" xml-lang="en-US" l10n="CHG" oldref="51"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp" name="password">password</link> for the selected library. "Standard" libraries cannot have a password.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154372" xml-lang="en-US" level="3" l10n="U" oldref="52">New</paragraph>
+<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US" l10n="U" oldref="53"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB">Creates a new library.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154259" xml-lang="en-US" level="3" l10n="U" oldref="56">Name</paragraph>
+<paragraph role="paragraph" id="par_id3156169" xml-lang="en-US" l10n="CHG" oldref="57"><ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME">Enter a name for the new module, dialog, or library.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3151183" xml-lang="en-US" level="3" l10n="U" oldref="54">Append</paragraph>
+<paragraph role="paragraph" id="par_id3155126" xml-lang="en-US" l10n="U" oldref="55"><ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01/06130100.xhp b/source/text/sbasic/shared/01/06130100.xhp
new file mode 100644
index 0000000000..2cdae4ca18
--- /dev/null
+++ b/source/text/sbasic/shared/01/06130100.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0106130100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Change Password</title>
+<filename>/text/sbasic/shared/01/06130100.xhp</filename>
+</topic>
+</meta>
+<body><paragraph role="heading" id="hd_id3159399" xml-lang="en-US" level="1" l10n="U" oldref="1">Change Password</paragraph>
+<paragraph role="paragraph" id="par_id3150276" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="HID_PASSWORD">Protects the selected library with a password.</ahelp> You can enter a new password, or change the current password.</paragraph>
+<paragraph role="heading" id="hd_id3154285" xml-lang="en-US" level="2" l10n="U" oldref="3">Old password</paragraph>
+<paragraph role="heading" id="hd_id3153665" xml-lang="en-US" level="3" l10n="U" oldref="4">Password</paragraph>
+<paragraph role="paragraph" id="par_id3155628" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_OLD_PASSWD">Enter the current password for the selected library.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="2" l10n="U" oldref="6">New password</paragraph>
+<paragraph role="heading" id="hd_id3153628" xml-lang="en-US" level="3" l10n="U" oldref="7">Password</paragraph>
+<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_NEW_PASSWD">Enter a new password for the selected library.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="3" l10n="CHG" oldref="9">Confirm</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="CHG" oldref="10"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_REPEAT_PASSWD">Repeat the new password for the selected library.</ahelp><comment>i66515</comment></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01/06130500.xhp b/source/text/sbasic/shared/01/06130500.xhp
new file mode 100644
index 0000000000..c657aa54a7
--- /dev/null
+++ b/source/text/sbasic/shared/01/06130500.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0106130500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Append libraries</title>
+<filename>/text/sbasic/shared/01/06130500.xhp</filename>
+</topic>
+</meta>
+<body>
+
+
+
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150502"><bookmark_value>libraries; adding</bookmark_value>
+<bookmark_value>inserting;Basic libraries</bookmark_value>
+</bookmark>
+ <paragraph xml-lang="en-US" id="hd_id3150502" role="heading" level="1" l10n="U" oldref="1">Append libraries</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154840" role="paragraph" l10n="U" oldref="2"><ahelp hid=".">Locate that <item type="productname">%PRODUCTNAME</item> Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_LIBSDLG_TREE" id="bm_id3109850" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3149119" role="heading" level="2" l10n="U" oldref="3">File name:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147102" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_BASICIDE_LIBSDLG_TREE">Enter a name or the path to the library that you want to append.</ahelp> You can also select a library from the list.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147291" role="heading" level="2" l10n="U" oldref="5">Options</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147226" role="heading" level="3" l10n="U" oldref="7">Insert as reference (read-only)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155892" role="paragraph" l10n="U" oldref="8"><ahelp hid="BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REF">Adds the selected library as a read-only file. The library is reloaded each time you start <item type="productname">%PRODUCTNAME</item>.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145071" role="heading" level="3" l10n="U" oldref="9">Replace existing libraries</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149812" role="paragraph" l10n="U" oldref="10"><ahelp hid="BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REPL">Replaces a library that has the same name with the current library.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01/makefile.mk b/source/text/sbasic/shared/01/makefile.mk
new file mode 100644
index 0000000000..c17f2a509f
--- /dev/null
+++ b/source/text/sbasic/shared/01/makefile.mk
@@ -0,0 +1,54 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/sbasic/shared/01
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_sbasic_shared_01
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ 06130000.xhp \
+ 06130100.xhp \
+ 06130500.xhp
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
diff --git a/source/text/sbasic/shared/01000000.xhp b/source/text/sbasic/shared/01000000.xhp
new file mode 100644
index 0000000000..e9f738b09d
--- /dev/null
+++ b/source/text/sbasic/shared/01000000.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01000000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Programming with $[officename] Basic </title>
+<filename>/text/sbasic/shared/01000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="programmieren">
+ <paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><variable id="doc_title"><link href="text/sbasic/shared/01000000.xhp" name="Programming with $[officename] Basic ">Programming with $[officename] Basic </link></variable></paragraph>
+ <paragraph role="paragraph" id="par_id3153708" l10n="U" xml-lang="en-US" oldref="2">This is where you find general information about working with macros and $[officename] Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/01010210.xhp#modular"/>
+ <embed href="text/sbasic/shared/01020000.xhp#daten"/>
+ <embed href="text/sbasic/shared/01030000.xhp#ide"/>
+ <embed href="text/sbasic/shared/01040000.xhp#weitere"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01010210.xhp b/source/text/sbasic/shared/01010210.xhp
new file mode 100644
index 0000000000..d34dda3c79
--- /dev/null
+++ b/source/text/sbasic/shared/01010210.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01010210xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Basics</title>
+<filename>/text/sbasic/shared/01010210.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="modular">
+<bookmark xml-lang="en-US" branch="index" id="bm_id4488967"><bookmark_value>fundamentals</bookmark_value>
+<bookmark_value>subroutines</bookmark_value>
+<bookmark_value>variables;global and local</bookmark_value>
+<bookmark_value>modules;subroutines and functions</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01010210.xhp" name="Basics">Basics</link></paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="14">This section provides the fundamentals for working with $[officename] Basic.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="2">$[officename] Basic code is based on subroutines and functions that are specified between <emph>sub...end sub</emph> and <emph>function...end function</emph> sections. Each Sub or Function can call other Subs and Functions. If you take care to write generic code for a Sub or Function, you can probably re-use it in other programs. See also <link href="text/sbasic/shared/01020300.xhp" name="Procedures and Functions">Procedures and Functions</link>.</paragraph>
+
+<paragraph role="note" id="par_id314756320" xml-lang="en-US" l10n="NEW">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
+
+<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="2" l10n="U" oldref="3">What is a Sub?</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="4">
+<emph>Sub</emph> is the short form of <emph>subroutine</emph>, that is used to handle a certain task within a program. Subs are used to split a task into individual procedures. Splitting a program into procedures and sub-procedures enhances readability and reduces the error-proneness. A sub possibly takes some arguments as parameters but does not return any values back to the calling sub or function, for example:</paragraph>
+<paragraph role="code" id="par_id3150868" xml-lang="en-US" l10n="U" oldref="15">DoSomethingWithTheValues(MyFirstValue,MySecondValue)</paragraph>
+<paragraph role="heading" id="hd_id3156282" xml-lang="en-US" level="2" l10n="U" oldref="5">What is a Function?</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="6">A <emph>function</emph> is essentially a sub, which returns a value. You may use a function at the right side of a variable declaration, or at other places where you normally use values, for example:</paragraph>
+<paragraph role="code" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="7">MySecondValue = myFunction(MyFirstValue)</paragraph>
+<paragraph role="heading" id="hd_id3153364" xml-lang="en-US" level="2" l10n="U" oldref="8">Global and local variables</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="9">Global variables are valid for all subs and functions inside a module. They are declared at the beginning of a module before the first sub or function starts.</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="10">Variables that you declare within a sub or function are valid only inside this sub or function. These variables override global variables with the same name and local variables with the same name coming from superordinate subs or functions.</paragraph>
+<paragraph role="heading" id="hd_id3150010" xml-lang="en-US" level="2" l10n="U" oldref="11">Structuring</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="12">After separating your program into procedures and functions (Subs and Functions), you can save these procedures and functions as files for reuse in other projects. $[officename] Basic supports <link href="text/sbasic/shared/01020500.xhp" name="Modules and Libraries">Modules and Libraries</link>. Subs and functions are always contained in modules. You can define modules to be global or part of a document. Multiple modules can be combined to a library.</paragraph>
+<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="13">You can copy or move subs, functions, modules and libraries from one file to another by using the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro">Macro</link> dialog.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01020000.xhp b/source/text/sbasic/shared/01020000.xhp
new file mode 100644
index 0000000000..4d279767c8
--- /dev/null
+++ b/source/text/sbasic/shared/01020000.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Syntax</title>
+<filename>/text/sbasic/shared/01020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="daten">
+ <paragraph id="hd_id3148946" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01020000.xhp" name="Syntax">Syntax</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150793" l10n="U" xml-lang="en-US" oldref="2">This section describes the basic syntax elements of $[officename] Basic. For a detailed description please refer to the $[officename] Basic Guide which is available separately.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/01020100.xhp#variable"/>
+ <embed href="text/sbasic/shared/01020200.xhp#objekte"/>
+ <embed href="text/sbasic/shared/01020300.xhp#prozedur"/>
+ <embed href="text/sbasic/shared/01020500.xhp#biblio"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01020100.xhp b/source/text/sbasic/shared/01020100.xhp
new file mode 100644
index 0000000000..60fc9a17e7
--- /dev/null
+++ b/source/text/sbasic/shared/01020100.xhp
@@ -0,0 +1,289 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Using Variables</title>
+<filename>/text/sbasic/shared/01020100.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="variable">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>names of variables</bookmark_value>
+<bookmark_value>variables; using</bookmark_value>
+<bookmark_value>types of variables</bookmark_value>
+<bookmark_value>declaring variables</bookmark_value>
+<bookmark_value>values;of variables</bookmark_value>
+<bookmark_value>constants</bookmark_value>
+<bookmark_value>arrays;declaring</bookmark_value>
+<bookmark_value>defining;constants</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
+<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">The following describes the basic use of variables in $[officename] Basic.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="4">Naming Conventions for Variable Identifiers</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="5">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="6">Examples for variable identifiers:</paragraph>
+<table id="tbl_id3154685">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3163798" xml-lang="en-US" l10n="U" oldref="7">MyNumber=5</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="126">Correct</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="8">MyNumber5=15</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="127">Correct</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="9">MyNumber_5=20</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="128">Correct</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="10">My Number=20</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="11">Not valid, variable with space must be enclosed in square brackets</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="14">[My Number]=12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="15">Correct</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3153708" xml-lang="en-US" l10n="U" oldref="12">DéjàVu=25</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="129">Not valid, special characters are not allowed</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3155443" xml-lang="en-US" l10n="U" oldref="13">5MyNumber=12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154254" xml-lang="en-US" l10n="U" oldref="130">Not valid, variable may not begin with a number</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3147345" xml-lang="en-US" l10n="U" oldref="16">Number,Mine=12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149256" xml-lang="en-US" l10n="U" oldref="131">Not valid, punctuation marks are not allowed</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3146317" xml-lang="en-US" level="2" l10n="U" oldref="17">Declaring Variables</paragraph>
+<paragraph role="paragraph" id="par_id3150299" xml-lang="en-US" l10n="U" oldref="18">In $[officename] Basic you don't need to declare variables explicitly. A variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
+<paragraph role="paragraph" id="par_id3154118" xml-lang="en-US" l10n="U" oldref="140">Examples for variable declarations:</paragraph>
+<table id="tbl_id3154658">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3150090" xml-lang="en-US" l10n="U" oldref="19">DIM a$</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150982" xml-lang="en-US" l10n="U" oldref="132">Declares the variable "a" as a String</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3149531" xml-lang="en-US" l10n="U" oldref="20">DIM a As String</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150343" xml-lang="en-US" l10n="U" oldref="133">Declares the variable "a" as a String</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3149036" xml-lang="en-US" l10n="U" oldref="21">DIM a$, b As Integer</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155507" xml-lang="en-US" l10n="U" oldref="22">Declares one variable as a String and one as an Integer</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_idN10854" xml-lang="en-US" l10n="NEW">DIM c As Boolean</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_idN10859" xml-lang="en-US" l10n="NEW">Declares c as a Boolean variable that can be TRUE or FALSE</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="paragraph" id="par_id3150519" xml-lang="en-US" l10n="U" oldref="23">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+<table id="tbl_id3155529">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3152985" xml-lang="en-US" l10n="U" oldref="24">DIM a$</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154527" xml-lang="en-US" l10n="U" oldref="134">Declares "a" as a String</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3148599" xml-lang="en-US" l10n="U" oldref="25">a="TestString"</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153064" xml-lang="en-US" l10n="U" oldref="135">Type-declaration missing: "a$="</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="warning" id="par_id3144770" xml-lang="en-US" l10n="U" oldref="26">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
+<paragraph role="heading" id="hd_id3149331" xml-lang="en-US" level="3" l10n="U" oldref="27">Forcing Variable Declarations</paragraph>
+<paragraph role="paragraph" id="par_id3149443" xml-lang="en-US" l10n="U" oldref="28">To force declaration of variables, use the following command:</paragraph>
+<paragraph role="code" id="par_id3152869" xml-lang="en-US" l10n="U" oldref="29">OPTION EXPLICIT</paragraph>
+<paragraph role="paragraph" id="par_id3155072" xml-lang="en-US" l10n="U" oldref="30">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3154614" xml-lang="en-US" level="2" l10n="U" oldref="34">Variable Types</paragraph>
+<paragraph role="paragraph" id="par_id3155383" xml-lang="en-US" l10n="U" oldref="35">$[officename] Basic supports four variable classes:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3153972" xml-lang="en-US" l10n="U" oldref="36">
+<emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159226" xml-lang="en-US" l10n="U" oldref="37">
+<emph>String</emph> variables contain character strings.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145217" xml-lang="en-US" l10n="U" oldref="38">
+<emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154762" xml-lang="en-US" l10n="U" oldref="39">
+<emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3153805" xml-lang="en-US" level="3" l10n="U" oldref="40">Integer Variables</paragraph>
+<paragraph role="paragraph" id="par_id3146966" xml-lang="en-US" l10n="U" oldref="41">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
+<paragraph role="code" id="par_id3153810" xml-lang="en-US" l10n="U" oldref="43">Dim Variable%</paragraph>
+<paragraph role="code" id="par_id3153556" xml-lang="en-US" l10n="U" oldref="44">Dim Variable As Integer</paragraph>
+<paragraph role="heading" id="hd_id3147546" xml-lang="en-US" level="3" l10n="U" oldref="45">Long Integer Variables</paragraph>
+<paragraph role="paragraph" id="par_id3151193" xml-lang="en-US" l10n="U" oldref="46">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&amp;" is the type-declaration character.</paragraph>
+<paragraph role="code" id="par_id3154708" xml-lang="en-US" l10n="U" oldref="48">Dim Variable&amp;</paragraph>
+<paragraph role="code" id="par_id3156365" xml-lang="en-US" l10n="U" oldref="49">Dim Variable as Long</paragraph>
+<paragraph role="heading" id="hd_id7596972" xml-lang="en-US" level="3" l10n="NEW">Decimal Variables<comment>see i64349</comment></paragraph>
+<paragraph role="paragraph" id="par_id2649311" xml-lang="en-US" l10n="NEW">Decimal variables can take positive or negative numbers or zero. Accuracy is up to 29 digits.</paragraph><comment>i85284</comment><paragraph role="paragraph" id="par_id7617114" xml-lang="en-US" l10n="NEW">You can use plus (+) or minus (-) signs as prefixes for decimal numbers (with or without spaces).</paragraph>
+<paragraph role="paragraph" id="par_id1593676" xml-lang="en-US" l10n="NEW">If a decimal number is assigned to an integer variable, %PRODUCTNAME Basic rounds the figure up or down.<comment>information from "Programming Guide for BASIC" about decimal variables</comment></paragraph>
+<paragraph role="heading" id="hd_id3147500" xml-lang="en-US" level="3" l10n="U" oldref="50">Single Variables</paragraph>
+<paragraph role="paragraph" id="par_id3153070" xml-lang="en-US" l10n="U" oldref="51">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
+<paragraph role="code" id="par_id3149875" xml-lang="en-US" l10n="U" oldref="52">Dim Variable!</paragraph>
+<paragraph role="code" id="par_id3153302" xml-lang="en-US" l10n="U" oldref="53">Dim Variable as Single</paragraph>
+<paragraph role="heading" id="hd_id3155753" xml-lang="en-US" level="3" l10n="U" oldref="54">Double Variables</paragraph>
+<paragraph role="paragraph" id="par_id3150953" xml-lang="en-US" l10n="U" oldref="55">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
+<paragraph role="code" id="par_id3150431" xml-lang="en-US" l10n="U" oldref="56">Dim Variable#</paragraph>
+<paragraph role="code" id="par_id3154406" xml-lang="en-US" l10n="U" oldref="57">Dim Variable As Double</paragraph>
+<paragraph role="heading" id="hd_id3155747" xml-lang="en-US" level="3" l10n="U" oldref="95">Currency Variables</paragraph>
+<paragraph role="paragraph" id="par_id3153337" xml-lang="en-US" l10n="U" oldref="96">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
+<paragraph role="code" id="par_id3147296" xml-lang="en-US" l10n="U" oldref="97">Dim Variable@</paragraph>
+<paragraph role="code" id="par_id3150391" xml-lang="en-US" l10n="U" oldref="98">Dim Variable As Currency</paragraph>
+<paragraph role="heading" id="hd_id3148742" xml-lang="en-US" level="3" l10n="U" oldref="58">String Variables</paragraph>
+<paragraph role="paragraph" id="par_id3151393" xml-lang="en-US" l10n="U" oldref="59">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
+<paragraph role="code" id="par_id3166467" xml-lang="en-US" l10n="U" oldref="60">Dim Variable$</paragraph>
+<paragraph role="code" id="par_id3153027" xml-lang="en-US" l10n="U" oldref="61">Dim Variable As String</paragraph>
+<paragraph role="heading" id="hd_id3150534" xml-lang="en-US" level="3" l10n="U" oldref="62">Boolean Variables</paragraph>
+<paragraph role="paragraph" id="par_id3145632" xml-lang="en-US" l10n="CHG" oldref="63">Boolean variables store only one of two values: TRUE or FALSE. A number 0 evaluates to FALSE, every other value evaluates to TRUE.</paragraph>
+<paragraph role="code" id="par_id3147615" xml-lang="en-US" l10n="U" oldref="64">Dim Variable As Boolean</paragraph>
+<paragraph role="heading" id="hd_id3149722" xml-lang="en-US" level="3" l10n="U" oldref="65">Date Variables</paragraph>
+<paragraph role="paragraph" id="par_id3159116" xml-lang="en-US" l10n="U" oldref="66">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph></link>, <link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph></link>, <link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph></link> or <link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
+<paragraph role="code" id="par_id3150462" xml-lang="en-US" l10n="U" oldref="67">Dim Variable As Date</paragraph>
+<paragraph role="heading" id="hd_id3148732" xml-lang="en-US" level="2" l10n="U" oldref="68">Initial Variable Values</paragraph>
+<paragraph role="paragraph" id="par_id3154549" xml-lang="en-US" l10n="U" oldref="69">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
+<paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="70">
+<emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
+<paragraph role="paragraph" id="par_id3150693" xml-lang="en-US" l10n="U" oldref="71">
+<emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function.</paragraph>
+<paragraph role="paragraph" id="par_id3154807" xml-lang="en-US" l10n="U" oldref="72">
+<emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
+<paragraph role="heading" id="hd_id3153936" xml-lang="en-US" level="2" l10n="U" oldref="83">Arrays</paragraph>
+<paragraph role="paragraph" id="par_id3148736" xml-lang="en-US" l10n="U" oldref="84">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
+<paragraph role="paragraph" id="par_id3149546" xml-lang="en-US" l10n="U" oldref="85">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+<table id="tbl_id3155829">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3150143" xml-lang="en-US" l10n="U" oldref="86">DIM text$(20)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154567" xml-lang="en-US" l10n="U" oldref="136">21 elements numbered from 0 to 20</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3145596" xml-lang="en-US" l10n="U" oldref="125">DIM text$(5,4)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154397" xml-lang="en-US" l10n="U" oldref="137">30 elements (a matrix of 6 x 5 elements)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3149185" xml-lang="en-US" l10n="U" oldref="87">DIM text$(5 to 25)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149690" xml-lang="en-US" l10n="U" oldref="138">21 elements numbered from 5 to 25</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="code" id="par_id3155950" xml-lang="en-US" l10n="U" oldref="88">DIM text$(-15 to 5)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153113" xml-lang="en-US" l10n="U" oldref="89">21 elements (including 0), numbered from -15 to 5</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="paragraph" id="par_id3153005" xml-lang="en-US" l10n="CHG" oldref="90">The index range can include positive as well as negative numbers. <comment>i36558</comment></paragraph>
+<paragraph role="heading" id="hd_id3154507" xml-lang="en-US" level="2" l10n="U" oldref="91">Constants</paragraph>
+<paragraph role="paragraph" id="par_id3156357" xml-lang="en-US" l10n="U" oldref="92">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
+<paragraph role="code" id="par_id3153203" xml-lang="en-US" l10n="U" oldref="93">CONST ConstName=Expression</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01020200.xhp b/source/text/sbasic/shared/01020200.xhp
new file mode 100644
index 0000000000..bb05d13fba
--- /dev/null
+++ b/source/text/sbasic/shared/01020200.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Using Objects</title>
+<filename>/text/sbasic/shared/01020200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T14:23:07">FPE: Deleted Screenshot. Cleaned.</lastedited>
+</history>
+</meta>
+<body>
+<section id="objekte">
+<paragraph role="heading" id="hd_id3145645" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="01020200"><link href="text/sbasic/shared/01020200.xhp">Using the Object Catalog</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="76">The object catalog provides an overview of all modules and dialogs you have created in $[officename].</paragraph>
+</section>
+<section id="object_catalog">
+<paragraph role="paragraph" id="par_id3147346" xml-lang="en-US" l10n="U" oldref="78">Click the <emph>Object Catalog</emph> icon
+<image id="img_id3147341" src="cmd/sc_objectcatalog.png" width="0.564cm" height="0.564cm"><alt id="alt_id3147341" xml-lang="en-US">Icon</alt>
+ </image> in the Macro toolbar to display the object catalog.</paragraph>
+<paragraph role="paragraph" id="par_id3155114" xml-lang="en-US" l10n="U" oldref="79">The dialog shows a list of all existing objects in a hierarchical representation. Double-clicking a list entry opens its subordinate objects.</paragraph>
+<paragraph role="paragraph" id="par_id3150786" xml-lang="en-US" l10n="U" oldref="83">To display a certain module in the Editor or to position the cursor in a selected SUB or FUNCTION, select the corresponding entry and click the <emph>Show</emph> icon
+<image id="img_id3149527" src="basctl/res/im01.png" width="0.564cm" height="0.564cm"><alt id="alt_id3149527" xml-lang="en-US">Icon</alt>
+ </image>.</paragraph>
+<paragraph role="paragraph" id="par_id3153266" xml-lang="en-US" l10n="U" oldref="81">Click the (X) icon in the title bar to close the object catalog.</paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01020300.xhp b/source/text/sbasic/shared/01020300.xhp
new file mode 100644
index 0000000000..e244cd4f98
--- /dev/null
+++ b/source/text/sbasic/shared/01020300.xhp
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
+<filename>/text/sbasic/shared/01020300.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="prozedur">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"><bookmark_value>procedures</bookmark_value>
+<bookmark_value>functions;using</bookmark_value>
+<bookmark_value>variables;passing to procedures and functions</bookmark_value>
+<bookmark_value>parameters;for procedures and functions</bookmark_value>
+<bookmark_value>parameters;passing by reference or value</bookmark_value>
+<bookmark_value>variables;scope</bookmark_value>
+<bookmark_value>scope of variables</bookmark_value>
+<bookmark_value>GLOBAL variables</bookmark_value>
+<bookmark_value>PUBLIC variables</bookmark_value>
+<bookmark_value>PRIVATE variables</bookmark_value>
+<bookmark_value>functions;return value type</bookmark_value>
+<bookmark_value>return value type of functions</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
+</section>
+<paragraph role="note" id="par_id3151215" xml-lang="en-US" l10n="U" oldref="56">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
+
+<paragraph role="note" id="par_id314756320" xml-lang="en-US" l10n="NEW">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
+
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="3">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="CHG" oldref="4">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="26">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
+<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="27">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
+<paragraph role="code" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="28">SUB SubName(<emph>Parameter1 As Type, Parameter2 As Type,...</emph>)</paragraph>
+<paragraph role="code" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="29">Program code</paragraph>
+<paragraph role="code" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="30">END SUB</paragraph>
+<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="31">The SUB is called using the following syntax:</paragraph>
+<paragraph role="code" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="32">SubName(Value1, Value2,...)</paragraph>
+<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="33">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
+<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="34">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
+<paragraph role="code" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="35">FUNCTION FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
+<paragraph role="code" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="36">Program code</paragraph>
+<paragraph role="code" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="37">
+<emph>FunctionName=Result</emph>
+</paragraph>
+<paragraph role="code" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="38">End Function</paragraph>
+<paragraph role="paragraph" id="par_id3153839" xml-lang="en-US" l10n="U" oldref="39">The FUNCTION is called using the following syntax:</paragraph>
+<paragraph role="code" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="40">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
+<paragraph role="tip" id="par_idN107B3" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/>
+<item type="literal">Library.Module.Macro()</item>
+<br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/>
+<item type="literal">Gimmicks.AutoText.Main()</item>
+</paragraph>
+<paragraph role="heading" id="hd_id3156276" xml-lang="en-US" level="2" l10n="U" oldref="45">Passing Variables by Value or Reference</paragraph>
+<paragraph role="paragraph" id="par_id3155765" xml-lang="en-US" l10n="U" oldref="47">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
+<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="53">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
+<paragraph role="code" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="54">Result = Function(<emph>ByVal</emph> Parameter)</paragraph>
+<paragraph role="paragraph" id="par_id3149258" xml-lang="en-US" l10n="U" oldref="55">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
+<paragraph role="heading" id="hd_id3150982" xml-lang="en-US" level="2" l10n="U" oldref="57">Scope of Variables</paragraph>
+<paragraph role="paragraph" id="par_id3149814" xml-lang="en-US" l10n="CHG" oldref="58">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.</paragraph>
+<paragraph role="heading" id="hd_id3154186" xml-lang="en-US" level="3" l10n="U" oldref="59">Declaring Variables Outside a SUB or FUNCTION</paragraph>
+<paragraph role="code" id="par_id3150208" xml-lang="en-US" l10n="CHG" oldref="111">GLOBAL VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3145258" xml-lang="en-US" l10n="U" oldref="112">The variable is valid as long as the $[officename] session lasts.</paragraph>
+<paragraph role="code" id="par_id3153198" xml-lang="en-US" l10n="CHG" oldref="60">PUBLIC VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3150088" xml-lang="en-US" l10n="U" oldref="61">The variable is valid in all modules.</paragraph>
+<paragraph role="code" id="par_id3158212" xml-lang="en-US" l10n="CHG" oldref="62">PRIVATE VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="63">The variable is only valid in this module.</paragraph>
+<paragraph role="code" id="par_id3150886" xml-lang="en-US" l10n="U" oldref="64">DIM VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3150368" xml-lang="en-US" l10n="U" oldref="65">The variable is only valid in this module.</paragraph>
+<paragraph role="heading" id="hd_id5097506" xml-lang="en-US" level="3" l10n="NEW">Example for private variables</paragraph>
+<paragraph role="paragraph" id="par_id8738975" xml-lang="en-US" l10n="NEW">Enforce private variables to be private across modules by setting CompatibilityMode(true).</paragraph><comment>from i17948, see i54894</comment><paragraph role="code" id="par_id146488" xml-lang="en-US" l10n="NEW">REM ***** Module1 *****</paragraph>
+<paragraph role="code" id="par_id2042298" xml-lang="en-US" l10n="NEW">Private myText As String</paragraph>
+<paragraph role="code" id="par_id2969756" xml-lang="en-US" l10n="NEW">Sub initMyText</paragraph>
+<paragraph role="code" id="par_id9475997" xml-lang="en-US" l10n="NEW">myText = "Hello"</paragraph>
+<paragraph role="code" id="par_id6933500" xml-lang="en-US" l10n="NEW">print "in module1 : ", myText</paragraph>
+<paragraph role="code" id="par_id631733" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+<paragraph role="code" id="par_id8234199" xml-lang="en-US" l10n="NEW">REM ***** Module2 *****</paragraph>
+<paragraph role="code" id="par_id6969512" xml-lang="en-US" l10n="NEW">'Option Explicit</paragraph>
+<paragraph role="code" id="par_id1196935" xml-lang="en-US" l10n="NEW">Sub demoBug</paragraph>
+<paragraph role="code" id="par_id1423993" xml-lang="en-US" l10n="NEW">CompatibilityMode( true )</paragraph>
+<paragraph role="code" id="par_id6308786" xml-lang="en-US" l10n="NEW">initMyText</paragraph>
+<paragraph role="code" id="par_id4104129" xml-lang="en-US" l10n="NEW">' Now returns empty string</paragraph>
+<paragraph role="code" id="par_id7906125" xml-lang="en-US" l10n="NEW">' (or rises error for Option Explicit)</paragraph>
+<paragraph role="code" id="par_id8055970" xml-lang="en-US" l10n="NEW">print "Now in module2 : ", myText</paragraph>
+<paragraph role="code" id="par_id2806176" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+<paragraph role="heading" id="hd_id3154368" xml-lang="en-US" level="3" l10n="U" oldref="66">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
+<paragraph role="code" id="par_id3156288" xml-lang="en-US" l10n="CHG" oldref="67">STATIC VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="68">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
+<paragraph role="heading" id="hd_id3155809" xml-lang="en-US" level="2" l10n="U" oldref="41">Specifying the Return Value Type of a FUNCTION</paragraph>
+<paragraph role="paragraph" id="par_id3149404" xml-lang="en-US" l10n="U" oldref="42">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
+<paragraph role="code" id="par_id3152899" xml-lang="en-US" l10n="U" oldref="43">Function WordCount(WordText as String) <emph>as Integer</emph>
+</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01020500.xhp b/source/text/sbasic/shared/01020500.xhp
new file mode 100644
index 0000000000..20f63a63d5
--- /dev/null
+++ b/source/text/sbasic/shared/01020500.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Libraries, Modules and Dialogs</title>
+<filename>/text/sbasic/shared/01020500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T15:35:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="biblio">
+<paragraph role="heading" id="hd_id3147317" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020500.xhp" name="Libraries, Modules and Dialogs">Libraries, Modules and Dialogs</link></paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of libraries, modules and dialogs in $[officename] Basic.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="3">$[officename] Basic provides tools to help you structuring your projects. It supports various "units" which enable you to group individual SUBS and FUNCTIONS in a Basic project.</paragraph>
+<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="5">Libraries</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="6">Libraries serve as a tool for organizing modules, and can either be attached to a document or a template. When the document or a template is saved, all modules contained in the library are automatically saved as well.</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="7">A library can contain up to 16,000 modules.</paragraph>
+<paragraph role="heading" id="hd_id3149262" xml-lang="en-US" level="2" l10n="U" oldref="8">Modules</paragraph>
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="9">A module contains SUBS and FUNCTIONS along with variable declarations. The length of the program that can be saved in a module is limited to 64 KB. If more space is required you can divide a $[officename] Basic project among several modules, and then save them in a single library.</paragraph>
+<paragraph role="heading" id="hd_id3152577" xml-lang="en-US" level="2" l10n="U" oldref="11">Dialog Modules</paragraph>
+<paragraph role="paragraph" id="par_id3149377" xml-lang="en-US" l10n="U" oldref="12">Dialog modules contain dialog definitions, including the dialog box properties, the properties of each dialog element and the events assigned. Since a dialog module can only contain a single dialog, they are often referred to as "dialogs".</paragraph>
+<section id="relatedtopics">
+<embed href="text/sbasic/shared/01030400.xhp#01030400"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01030000.xhp b/source/text/sbasic/shared/01030000.xhp
new file mode 100644
index 0000000000..d1e7029460
--- /dev/null
+++ b/source/text/sbasic/shared/01030000.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Integrated Development Environment (IDE)</title>
+<filename>/text/sbasic/shared/01030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:52:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ide">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Basic IDE;Integrated Development Environment</bookmark_value>
+<bookmark_value>IDE;Integrated Development Environment</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01030000.xhp" name="Integrated Development Environment (IDE)">Integrated Development Environment (IDE)</link></paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="2">This section describes the Integrated Development Environment for $[officename] Basic.</paragraph>
+</section>
+<embed href="text/sbasic/shared/01030100.xhp#ueberblick"/>
+<embed href="text/sbasic/shared/01030400.xhp#anlegenverwalten"/>
+<embed href="text/sbasic/shared/01030200.xhp#basiceditor"/>
+<embed href="text/sbasic/shared/01030300.xhp#basicfehler"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01030100.xhp b/source/text/sbasic/shared/01030100.xhp
new file mode 100644
index 0000000000..4e22c0f48c
--- /dev/null
+++ b/source/text/sbasic/shared/01030100.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IDE Overview</title>
+<filename>/text/sbasic/shared/01030100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-11T11:18:08">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_MODULWINDOW" id="bm_id3093440" localize="false"/>
+<section id="ueberblick">
+<paragraph role="heading" id="hd_id3147291" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01030100.xhp" name="IDE Overview">IDE Overview</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="3">The <link href="text/sbasic/shared/main0211.xhp" name="Macro Toolbar"><emph>Macro Toolbar</emph></link> in the IDE provides various icons for editing and testing programs.</paragraph>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US" l10n="U" oldref="4">In the <link href="text/sbasic/shared/01030200.xhp" name="Editor window"><emph>Editor window</emph></link>, directly below the Macro toolbar, you can edit the Basic program code. The column on the left side is used to set breakpoints in the program code.</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="5">The <link href="text/sbasic/shared/01050100.xhp" name="Watch"><emph>Watch window</emph></link> (observer) is located below the Editor window at the left, and displays the contents of variables or arrays during a single step process.</paragraph>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="8">The <emph>Call Stack</emph> window to the right provides information about the call stack of SUBS and FUNCTIONS when a program runs.</paragraph>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="6"><link href="text/sbasic/shared/01050000.xhp" name="Basic IDE">Basic IDE</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01030200.xhp b/source/text/sbasic/shared/01030200.xhp
new file mode 100644
index 0000000000..957a7874fd
--- /dev/null
+++ b/source/text/sbasic/shared/01030200.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">The Basic Editor</title>
+<filename>/text/sbasic/shared/01030200.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="basiceditor">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148647"><bookmark_value>saving;Basic code</bookmark_value>
+<bookmark_value>loading;Basic code</bookmark_value>
+<bookmark_value>Basic editor</bookmark_value>
+<bookmark_value>navigating;in Basic projects</bookmark_value>
+<bookmark_value>long lines;in Basic editor</bookmark_value>
+<bookmark_value>lines of text;in Basic editor</bookmark_value>
+<bookmark_value>continuation;long lines in editor</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01030200.xhp" name="The Basic Editor">The Basic Editor</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="3">The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <emph>Edit</emph> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and the arrow keys).</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="CHG" oldref="31">Long lines can be split into several parts by inserting a space and an underline character _ as the last two characters of a line. This connects the line with the following line to one logical line. (If "Option Compatible" is used in the same Basic module, the line continuation feature is also valid for comment lines.)</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="CHG" oldref="32">If you press the <emph>Run BASIC</emph> icon on the <emph>Macro</emph> bar, program execution starts at the first line of the Basic editor. The program executes the first Sub or Function and then program execution stops. The "Sub Main" does not take precedence on program execution.</paragraph>
+<paragraph role="tip" id="par_id59816" xml-lang="en-US" l10n="NEW">Insert your Basic code between the Sub Main and End Sub lines that you see when you first open the IDE. Alternatively, delete all lines and then enter your own Basic code.</paragraph>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="4">Navigating in a Project</paragraph>
+<paragraph role="heading" id="hd_id3145785" xml-lang="en-US" level="3" l10n="U" oldref="6">The Library List</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="7">Select a library from the <emph>Library</emph> list at the left of the toolbar to load the library in the editor. The first module of the selected library will be displayed.</paragraph>
+<paragraph role="heading" id="hd_id3153190" xml-lang="en-US" level="3" l10n="U" oldref="8">The Object Catalog</paragraph>
+<embed href="text/sbasic/shared/01020200.xhp#object_catalog"/>
+<paragraph role="heading" id="hd_id3148647" xml-lang="en-US" level="2" l10n="U" oldref="15">Saving and Loading Basic Source Code</paragraph>
+<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="16">You can save Basic code in a text file for saving and importing in other programming systems.</paragraph>
+<paragraph role="warning" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="25">You cannot save Basic dialogs to a text file.</paragraph>
+<paragraph role="heading" id="hd_id3149403" xml-lang="en-US" level="3" l10n="U" oldref="17">Saving Source Code to a Text File</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="18">Select the module that you want to export as text from the object catalog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150752" xml-lang="en-US" l10n="U" oldref="19">Click the <emph>Save Source As</emph> icon in the Macro toolbar.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="20">Select a file name and click <emph>OK</emph> to save the file.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3159264" xml-lang="en-US" level="3" l10n="U" oldref="21">Loading Source Code From a Text File</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3147343" xml-lang="en-US" l10n="U" oldref="22">Select the module where you want to import the source code from the object catalog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145230" xml-lang="en-US" l10n="U" oldref="23">Position the cursor where you want to insert the program code.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149565" xml-lang="en-US" l10n="U" oldref="24">Click the <emph>Insert Source Text</emph> icon in the Macro toolbar.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154020" xml-lang="en-US" l10n="U" oldref="33">Select the text file containing the source code and click <emph>OK</emph>.</paragraph>
+</listitem>
+</list>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3153198" xml-lang="en-US" l10n="U" oldref="29"><link href="text/sbasic/shared/01050000.xhp" name="Basic IDE">Basic IDE</link></paragraph>
+<embed href="text/sbasic/shared/01020200.xhp#01020200"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01030300.xhp b/source/text/sbasic/shared/01030300.xhp
new file mode 100644
index 0000000000..6952f60375
--- /dev/null
+++ b/source/text/sbasic/shared/01030300.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Debugging a Basic Program</title>
+<filename>/text/sbasic/shared/01030300.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="basicfehler">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153344"><bookmark_value>debugging Basic programs</bookmark_value>
+<bookmark_value>variables; observing values</bookmark_value>
+<bookmark_value>watching variables</bookmark_value>
+<bookmark_value>run-time errors in Basic</bookmark_value>
+<bookmark_value>error codes in Basic</bookmark_value>
+<bookmark_value>breakpoints</bookmark_value>
+<bookmark_value>Call Stack window</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3153344" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01030300.xhp">Debugging a Basic Program</link></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2" l10n="U" oldref="4">Breakpoints and Single Step Execution</paragraph>
+<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US" l10n="U" oldref="5">You can check each line in your Basic program for errors using single step execution. Errors are easily traced since you can immediately see the result of each step. A pointer in the breakpoint column of the Editor indicates the current line. You can also set a breakpoint if you want to force the program to be interrupted at a specific position.</paragraph>
+<paragraph role="paragraph" id="par_id3147303" xml-lang="en-US" l10n="U" oldref="7">Double-click in the <emph>breakpoint</emph> column at the left of the Editor window to toggle a breakpoint at the corresponding line. When the program reaches a breakpoint, the program execution is interrupted.</paragraph>
+<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US" l10n="U" oldref="8">The <emph>single step </emph>execution using the <emph>Single Step</emph> icon causes the program to branch into procedures and functions.</paragraph>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US" l10n="U" oldref="25">The procedure step execution using the <emph>Procedure Step</emph> icon causes the program to skip over procedures and functions as a single step.</paragraph>
+<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="3" l10n="U" oldref="9">Properties of a Breakpoint</paragraph>
+<paragraph role="paragraph" id="par_id3147574" xml-lang="en-US" l10n="U" oldref="26">The properties of a breakpoint are available through its context menu by right-clicking the breakpoint in the breakpoint column.</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="10">You can <emph>activate</emph> and <emph>deactivate</emph> a breakpoint by selecting <emph>Active</emph> from its context menu. When a breakpoint is deactivated, it does not interrupt the program execution. </paragraph>
+<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US" l10n="U" oldref="27">Select <emph>Properties</emph> from the context menu of a breakpoint or select <emph>Breakpoints</emph> from the context menu of the breakpoint column to call the <emph>Breakpoints</emph> dialog where you can specify other breakpoint options.</paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="11">The list displays all <emph>breakpoints</emph> with the corresponding line number in the source code. You can activate or deactivate a selected breakpoint by checking or clearing the <emph>Active</emph> box.</paragraph>
+<paragraph role="paragraph" id="par_id3158407" xml-lang="en-US" l10n="U" oldref="12">The <emph>Pass Count</emph> specifies the number of times the breakpoint can be passed over before the program is interrupted. If you enter 0 (default setting) the program is always interrupted as soon as a breakpoint is encountered.</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="13">Click <emph>Delete</emph> to remove the breakpoint from the program.</paragraph>
+<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2" l10n="U" oldref="14">Observing the Value of Variables</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="15">You can monitor the values of a variable by adding it to the <emph>Watch</emph> window. To add a variable to the list of watched variables, type the variable name in the <emph>Watch</emph> text box and press Enter.</paragraph>
+<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="16">The values of variables are only displayed if they are in scope. Variables that are not defined at the current source code location display ("Out of Scope") instead of a value.</paragraph>
+<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US" l10n="U" oldref="17">You can also include arrays in the Watch window. If you enter the name of an array variable without an index value in the Watch text box, the content of the entire array is displayed.</paragraph>
+<paragraph role="tip" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="19">If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.</paragraph><paragraph role="heading" id="hd_id3148618" xml-lang="en-US" level="2" l10n="U" oldref="20">The Call Stack Window</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid="HID_BASICIDE_STACKWINDOW_LIST">Provides an overview of the call hierarchy of procedures and functions.</ahelp> You can determine which procedures and functions called which other procedures and functions at the current point in the source code.</paragraph>
+<paragraph role="heading" id="hd_id3150594" xml-lang="en-US" level="2" l10n="CHG" oldref="24">List of Run-Time Errors</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#allerrors"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01030400.xhp b/source/text/sbasic/shared/01030400.xhp
new file mode 100644
index 0000000000..21d282eb20
--- /dev/null
+++ b/source/text/sbasic/shared/01030400.xhp
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Organizing Libraries and Modules</title>
+<filename>/text/sbasic/shared/01030400.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="anlegenverwalten">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148797"><bookmark_value>libraries;organizing</bookmark_value>
+<bookmark_value>modules;organizing</bookmark_value>
+<bookmark_value>copying;modules</bookmark_value>
+<bookmark_value>adding libraries</bookmark_value>
+<bookmark_value>deleting;libraries/modules/dialogs</bookmark_value>
+<bookmark_value>dialogs;organizing</bookmark_value>
+<bookmark_value>moving;modules</bookmark_value>
+<bookmark_value>organizing;modules/libraries/dialogs</bookmark_value>
+<bookmark_value>renaming modules and dialogs</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3148797" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="01030400"><link href="text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</link>
+</variable></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="2" l10n="U" oldref="4">Organizing Libraries</paragraph>
+<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="3" l10n="U" oldref="5">Creating a New Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3152576" xml-lang="en-US" l10n="CHG" oldref="6">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="8">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149664" xml-lang="en-US" l10n="CHG" oldref="9">Select to where you want to attach the library in the <emph>Location</emph> list. If you select %PRODUCTNAME Macros &amp; Dialogs, the library will belong to the $[officename] application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153365" xml-lang="en-US" l10n="U" oldref="10">Click <emph>New</emph> and insert a name to create a new library.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3147394" xml-lang="en-US" level="3" l10n="U" oldref="48">Import a Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3153157" xml-lang="en-US" l10n="CHG" oldref="49">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146972" xml-lang="en-US" l10n="U" oldref="50">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145640" xml-lang="en-US" l10n="CHG" oldref="51">Select to where you want to import the library in the <emph>Location</emph> list. If you select %PRODUCTNAME Macros &amp; Dialogs, the library will belong to the $[officename] application and will be available for all documents. If you select a document the library will be imported to this document and only available from there.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="52">Click <emph>Import...</emph> and select an external library to import.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154705" xml-lang="en-US" l10n="U" oldref="53">Select all libraries to be imported in the <emph>Import Libraries</emph> dialog. The dialog displays all libraries that are contained in the selected file.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3163807" xml-lang="en-US" l10n="U" oldref="54">If you want to insert the library as a reference only check the <emph>Insert as reference (read-only)</emph> box. Read-only libraries are fully functional but cannot be modified in the Basic IDE.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145228" xml-lang="en-US" l10n="U" oldref="55">Check the <emph>Replace existing libraries</emph> box if you want existing libraries of the same name to be overwritten.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147004" xml-lang="en-US" l10n="U" oldref="56">Click <emph>OK</emph> to import the library.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3159100" xml-lang="en-US" level="3" l10n="U" oldref="17">Deleting a Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3150086" xml-lang="en-US" l10n="CHG" oldref="18">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146808" xml-lang="en-US" l10n="U" oldref="57">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3158212" xml-lang="en-US" l10n="CHG" oldref="58">Select the library to be deleted from the list.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="20">Click <emph>Delete</emph>.</paragraph>
+</listitem>
+</list>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3152986" xml-lang="en-US" l10n="U" oldref="19">Deleting a library permanently deletes all existing modules and corresponding procedures and functions.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3148868" xml-lang="en-US" l10n="U" oldref="59">You cannot delete the default library named "Standard".</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146869" xml-lang="en-US" l10n="U" oldref="60">If you delete a library that was inserted as reference only the reference is deleted but not the library itself.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3147070" xml-lang="en-US" level="2" l10n="U" oldref="21">Organizing Modules and Dialogs</paragraph>
+<paragraph role="heading" id="hd_id3155265" xml-lang="en-US" level="3" l10n="U" oldref="61">Creating a New Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3154537" xml-lang="en-US" l10n="CHG" oldref="62">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146781" xml-lang="en-US" l10n="CHG" oldref="63">Click the <emph>Modules</emph> tab or the <emph>Dialogs</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159206" xml-lang="en-US" l10n="CHG" oldref="64">Select the library where the module will be inserted and click <emph>New</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3152389" xml-lang="en-US" l10n="U" oldref="65">Enter a name for the module or the dialog and click <emph>OK</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3152872" xml-lang="en-US" level="3" l10n="U" oldref="25">Renaming a Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3159230" xml-lang="en-US" l10n="CHG" oldref="66">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150046" xml-lang="en-US" l10n="CHG" oldref="67">Click the module to be renamed twice, with a pause between the clicks. Enter the new name.</paragraph>
+<paragraph role="listitem" id="par_id3153801" xml-lang="en-US" l10n="CHG" oldref="27">In the Basic IDE, right-click the name of the module or dialog in the tabs at the bottom of the screen, choose <emph>Rename</emph> and type in the new name.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3155526" xml-lang="en-US" l10n="U" oldref="28">Press Enter to confirm your changes.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3146963" xml-lang="en-US" level="3" l10n="U" oldref="29">Deleting a Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3147547" xml-lang="en-US" l10n="CHG" oldref="68">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150958" xml-lang="en-US" l10n="CHG" oldref="69">Click the <emph>Modules</emph> tab or the <emph>Dialogs</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149870" xml-lang="en-US" l10n="CHG" oldref="30">Select the module or dialog to be deleted from the list. Double-click an entry to reveal sub-entries, if required.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147248" xml-lang="en-US" l10n="U" oldref="32">Click <emph>Delete</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="warning" id="par_id3151339" xml-lang="en-US" l10n="U" oldref="31">Deleting a module permanently deletes all existing procedures and functions in that module.</paragraph>
+<paragraph role="heading" id="hd_id3151392" xml-lang="en-US" level="2" l10n="U" oldref="33">Organizing Projects among Documents or Templates</paragraph>
+<paragraph role="heading" id="hd_id3156400" xml-lang="en-US" level="3" l10n="U" oldref="36">Moving or copying modules between documents, templates and the application.</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3146819" xml-lang="en-US" l10n="U" oldref="37">Open all documents or templates among which you want to move or copy the modules or dialogs.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149319" xml-lang="en-US" l10n="CHG" oldref="38">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145637" xml-lang="en-US" l10n="U" oldref="39">To move a module or dialog to another document, click the corresponding object in the list and drag it to the desired position. A horizontal line indicates the target position of the current object while dragging. Hold the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while dragging to copy the object instead of moving it.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01040000.xhp b/source/text/sbasic/shared/01040000.xhp
new file mode 100644
index 0000000000..abc97dffa8
--- /dev/null
+++ b/source/text/sbasic/shared/01040000.xhp
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared01040000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Event-Driven Macros</title>
+ <filename>/text/sbasic/shared/01040000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="weitere">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154581"><bookmark_value>deleting; macro assignments to events</bookmark_value>
+ <bookmark_value>macros; assigning to events</bookmark_value>
+ <bookmark_value>assigning macros to events</bookmark_value>
+ <bookmark_value>events; assigning macros</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3147348" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01040000.xhp" name="Event-Driven Macros">Event-Driven Macros</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146120" role="paragraph" l10n="U" oldref="2">This section describes how to assign Basic programs to program events.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="par_id3149263" role="paragraph" l10n="U" oldref="4">You can automatically execute a macro when a specified software event occurs by assigning the desired macro to the event. The following table provides an overview of program events and at what point an assigned macro is executed.</paragraph>
+ <table id="tbl_id3148646">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148455" role="tablehead" l10n="U" oldref="5">Event</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145799" role="tablehead" l10n="U" oldref="6">An assigned macro is executed...</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149379" role="tablecontent" l10n="U" oldref="7">Program Start</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150715" role="tablecontent" l10n="U" oldref="8">... after a $[officename] application is started.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146914" role="tablecontent" l10n="U" oldref="9">Program End</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153765" role="tablecontent" l10n="U" oldref="10">...before a $[officename] application is terminated.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145150" role="tablecontent" l10n="U" oldref="11">Create Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3163808" role="tablecontent" l10n="U" oldref="12">...after a new document is created with <emph>File - New</emph> or with the <emph>New</emph> icon.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145790" role="tablecontent" l10n="U" oldref="13">Open Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154572" role="tablecontent" l10n="U" oldref="14">...after a document is opened with <emph>File - Open</emph> or with the <emph>Open</emph> icon.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153266" role="tablecontent" l10n="U" oldref="15">Save Document As</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150208" role="tablecontent" l10n="U" oldref="16">...before a document is saved under a specified name (with <emph>File - Save As</emph>, or with <emph>File - Save</emph> or the <emph>Save</emph> icon, if a document name has not yet been specified).</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3158215" role="tablecontent" l10n="U" oldref="43">Document has been saved as</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150980" role="tablecontent" l10n="U" oldref="44">... after a document was saved under a specified name (with <emph>File - Save As</emph>, or with <emph>File - Save</emph> or with the <emph>Save</emph> icon, if a document name has not yet been specified).</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150519" role="tablecontent" l10n="U" oldref="17">Save Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155529" role="tablecontent" l10n="U" oldref="18">...before a document is saved with <emph>File - Save</emph> or the <emph>Save</emph> icon, provided that a document name has already been specified.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149404" role="tablecontent" l10n="U" oldref="45">Document has been saved</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151332" role="tablecontent" l10n="U" oldref="46">...after a document is saved with <emph>File - Save</emph> or the <emph>Save</emph> icon, provided that a document name has already been specified.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159171" role="tablecontent" l10n="CHG" oldref="19">Document is closing<comment>i104852</comment></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146868" role="tablecontent" l10n="U" oldref="20">...before a document is closed.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159097" role="tablecontent" l10n="CHG" oldref="47">Document closed</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148606" role="tablecontent" l10n="U" oldref="48">...after a document was closed. Note that the "Save Document" event may also occur when the document is saved before closing.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3144772" role="tablecontent" l10n="U" oldref="21">Activate Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149442" role="tablecontent" l10n="U" oldref="22">...after a document is brought to the foreground.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150888" role="tablecontent" l10n="U" oldref="23">Deactivate Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154060" role="tablecontent" l10n="U" oldref="24">...after another document is brought to the foreground.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152384" role="tablecontent" l10n="U" oldref="25">Print Document</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152873" role="tablecontent" l10n="U" oldref="26">...after the <emph>Print</emph> dialog is closed, but before the actual print process begins.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159227" role="tablecontent" l10n="U" oldref="49">JavaScript run-time error</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145362" role="tablecontent" l10n="U" oldref="50">...when a JavaScript run-time error occurs.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154767" role="tablecontent" l10n="U" oldref="27">Print Mail Merge</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153555" role="tablecontent" l10n="U" oldref="28">...after the <emph>Print</emph> dialog is closed, but before the actual print process begins. This event occurs for each copy printed.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156366" role="tablecontent" l10n="U" oldref="51">Change of the page count</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154627" role="tablecontent" l10n="U" oldref="52">...when the page count changes.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154737" role="tablecontent" l10n="U" oldref="53">Message received</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150952" role="tablecontent" l10n="U" oldref="54">...if a message was received.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="hd_id3153299" role="heading" level="2" l10n="U"
+ oldref="30">Assigning a Macro to an Event</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3147244" role="listitem" l10n="U" oldref="31">Choose <emph>Tools - Customize</emph> and click the <emph>Events</emph> tab.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3146098" role="listitem" l10n="CHG" oldref="55">Select whether you want the assignment to be globally valid or just valid in the current document in the <emph>Save In</emph> listbox.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3150431" role="listitem" l10n="U" oldref="32">Select the event from the <emph>Event</emph> list.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3148742" role="listitem" l10n="CHG" oldref="33">Click <emph>Macro</emph> and select the macro to be assigned to the selected event.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3146321" role="listitem" l10n="CHG" oldref="35">Click <emph>OK</emph> to assign the macro.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3147414" role="listitem" l10n="U" oldref="56">Click <emph>OK</emph> to close the dialog.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="hd_id3154581" role="heading" level="2" l10n="U"
+ oldref="36">Removing the Assignment of a Macro to an Event</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3146883" role="listitem" l10n="U" oldref="57">Choose <emph>Tools - Customize</emph> and click the <emph>Events</emph> tab.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3155909" role="listitem" l10n="CHG" oldref="58">Select whether you want to remove a global assignment or an assignment that is just valid in the current document by selecting the option in the <emph>Save In</emph> listbox.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3159129" role="listitem" l10n="U" oldref="59">Select the event that contains the assignment to be removed from the <emph>Event</emph> list.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3149143" role="listitem" l10n="U" oldref="37">Click <emph>Remove</emph>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3149351" role="listitem" l10n="U" oldref="60">Click <emph>OK</emph> to close the dialog.</paragraph>
+ </listitem>
+ </list>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/01050000.xhp b/source/text/sbasic/shared/01050000.xhp
new file mode 100644
index 0000000000..a8b2e535a9
--- /dev/null
+++ b/source/text/sbasic/shared/01050000.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">$[officename] Basic IDE</title>
+<filename>/text/sbasic/shared/01050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-07-05T10:49:19">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="IDE">
+<paragraph role="heading" id="hd_id3154422" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="01050000"><link href="text/sbasic/shared/01050000.xhp" name="$[officename] Basic IDE">$[officename] Basic IDE</link>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="2">This section describes the structure of the Basic IDE.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicIDEAppear" id="bm_id1676992" localize="false"/>
+<paragraph role="paragraph" id="par_idN105C9" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Opens the Basic IDE where you can write and edit macros.</ahelp></paragraph>
+</section>
+<embed href="text/sbasic/shared/main0211.xhp#makro"/>
+<embed href="text/sbasic/shared/01050100.xhp#beobachter"/>
+<embed href="text/sbasic/shared/01050200.xhp#kommando"/>
+<embed href="text/sbasic/shared/01050300.xhp#haltepunkte"/>
+<embed href="text/sbasic/shared/keys.xhp#keys"/>
+<paragraph role="heading" id="hd_id3153188" xml-lang="en-US" level="2" l10n="U" oldref="5">Commands From the Context menu of the Module Tabs</paragraph>
+<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="3" l10n="U" oldref="6">Insert</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:NewModule" id="bm_id3412182" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:NewModule" id="bm_id3145646" localize="false"/>
+<paragraph role="heading" id="hd_id3151074" xml-lang="en-US" level="4" l10n="U" oldref="8">Module</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid=".uno:NewModule">Inserts a new module into the current library.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:NewDialog" id="bm_id9158311" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:NewDialog" id="bm_id3155418" localize="false"/>
+<paragraph role="heading" id="hd_id3147397" xml-lang="en-US" level="4" l10n="U" oldref="10">Dialog</paragraph>
+<paragraph role="paragraph" id="par_id3144335" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid=".uno:NewDialog">Inserts a new dialog into the current library.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteCurrent" id="bm_id9753230" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteCurrent" id="bm_id3146971" localize="false"/>
+<paragraph role="heading" id="hd_id3155602" xml-lang="en-US" level="3" l10n="U" oldref="12">Delete</paragraph>
+<paragraph role="paragraph" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid=".uno:DeleteCurrent">Deletes the selected module.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:RenameCurrent" id="bm_id8105416" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:RenameCurrent" id="bm_id3150324" localize="false"/>
+<paragraph role="heading" id="hd_id3149018" xml-lang="en-US" level="3" l10n="U" oldref="14">Rename</paragraph>
+<paragraph role="paragraph" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="15"><ahelp hid=".uno:RenameCurrent">Renames the current module in place.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:HideCurPage" id="bm_id3462342" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:HideCurPage" id="bm_id3146317" localize="false"/>
+<paragraph role="heading" id="hd_id3150043" xml-lang="en-US" level="3" l10n="U" oldref="16">Hide</paragraph>
+<paragraph role="paragraph" id="par_id3145147" xml-lang="en-US" l10n="U" oldref="17"><ahelp hid=".uno:HideCurPage">Hides the current module.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3163805" xml-lang="en-US" level="3" l10n="U" oldref="18">Modules</paragraph>
+<paragraph role="paragraph" id="par_id3153965" xml-lang="en-US" l10n="U" oldref="19">Opens the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro Organizer"><emph>Macro Organizer</emph></link> dialog.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01050100.xhp b/source/text/sbasic/shared/01050100.xhp
new file mode 100644
index 0000000000..0a397dcb93
--- /dev/null
+++ b/source/text/sbasic/shared/01050100.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Watch Window</title>
+<filename>/text/sbasic/shared/01050100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-02-16T10:16:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="beobachter">
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01050100.xhp">Watch Window</link></paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="CHG" oldref="9">The Watch window allows you to observe the value of variables during the execution of a program. Define the variable in the Watch text box. Click on <link href="text/sbasic/shared/02/11080000.xhp">Enable Watch</link> to add the variable to the list box and to display its values.</paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_WATCHWINDOW_EDIT" id="bm_id3125865" localize="false"/>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="4">Watch</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="HID_BASICIDE_WATCHWINDOW_EDIT">Enter the name of the variable whose value is to be monitored.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_REMOVEWATCH" id="bm_id3163712" localize="false"/>
+<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2" l10n="U" oldref="6">Remove Watch</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="HID_BASICIDE_REMOVEWATCH">Removes the selected variable from the list of watched variables.</ahelp></paragraph>
+<table id="tbl_id3145271">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="E">
+<image id="img_id3152460" src="res/baswatr.png" width="0.25inch" height="0.222inch"><alt id="alt_id3152460" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="8">Remove Watch</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_WATCHWINDOW_LIST" id="bm_id3154944" localize="false"/>
+<paragraph role="heading" id="hd_id3154491" xml-lang="en-US" level="2" l10n="U" oldref="10">Editing the Value of a Watched Variable</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="HID_BASICIDE_WATCHWINDOW_LIST">Displays the list of watched variables. Click twice with a short pause in between on an entry to edit its value.</ahelp> The new value will be taken as the variable's value for the program.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01050200.xhp b/source/text/sbasic/shared/01050200.xhp
new file mode 100644
index 0000000000..b8d24a5631
--- /dev/null
+++ b/source/text/sbasic/shared/01050200.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Call Stack Window (Calls)</title>
+<filename>/text/sbasic/shared/01050200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:03:40">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="kommando">
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_STACKWINDOW_LIST" id="bm_id3150541" localize="false"/>
+<paragraph role="heading" id="hd_id3146794" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01050200.xhp" name="Call Stack Window (Calls)">Call Stack Window (Calls)</link></paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="HID_BASICIDE_STACKWINDOW_LIST" visibility="hidden">Displays the sequence of procedures and functions during the execution of a program.</ahelp> The <emph>Call Stack</emph> allows you to monitor the sequence of procedures and functions during the execution of a program. The procedures are functions are displayed bottom to top with the most recent function or procedure call at the top of the list.</paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01050300.xhp b/source/text/sbasic/shared/01050300.xhp
new file mode 100644
index 0000000000..2fec86710d
--- /dev/null
+++ b/source/text/sbasic/shared/01050300.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Manage Breakpoints</title>
+<filename>/text/sbasic/shared/01050300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:03:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="haltepunkte">
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_BRKDLG" id="bm_id3145090" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_BRKPROPS" id="bm_id3147291" localize="false"/>
+<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01050300.xhp" name="Manage Breakpoints">Manage Breakpoints</link></paragraph>
+<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="HID_BASICIDE_BRKPROPS">Specifies the options for breakpoints.</ahelp></paragraph>
+</section>
+<bookmark xml-lang="en-US" branch="hid/basctl:ComboBox:RID_BASICIDE_BREAKPOINTDLG:RID_CB_BRKPOINTS" id="bm_id3149656" localize="false"/>
+<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="2" l10n="U" oldref="3">Breakpoints</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="BASCTL_COMBOBOX_RID_BASICIDE_BREAKPOINTDLG_RID_CB_BRKPOINTS">Enter the line number for a new breakpoint, then click <emph>New</emph>.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:CheckBox:RID_BASICIDE_BREAKPOINTDLG:RID_CHKB_ACTIVE" id="bm_id3156422" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_ACTIV" id="bm_id3150870" localize="false"/>
+<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2" l10n="U" oldref="6">Active</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="HID_BASICIDE_ACTIV">Activates or deactivates the current breakpoint.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:NumericField:RID_BASICIDE_BREAKPOINTDLG:RID_FLD_PASS" id="bm_id3153768" localize="false"/>
+<paragraph role="heading" id="hd_id3144500" xml-lang="en-US" level="2" l10n="U" oldref="8">Pass Count</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="BASCTL_NUMERICFIELD_RID_BASICIDE_BREAKPOINTDLG_RID_FLD_PASS">Specify the number of loops to perform before the breakpoint takes effect.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:PushButton:RID_BASICIDE_BREAKPOINTDLG:RID_PB_NEW" id="bm_id3150012" localize="false"/>
+<paragraph role="heading" id="hd_id3152579" xml-lang="en-US" level="2" l10n="U" oldref="10">New</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_NEW">Creates a breakpoint on the line number specified.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/basctl:PushButton:RID_BASICIDE_BREAKPOINTDLG:RID_PB_DEL" id="bm_id3159156" localize="false"/>
+<paragraph role="heading" id="hd_id3147319" xml-lang="en-US" level="2" l10n="U" oldref="12">Delete</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_DEL">Deletes the selected breakpoint.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01170100.xhp b/source/text/sbasic/shared/01170100.xhp
new file mode 100644
index 0000000000..de197f7016
--- /dev/null
+++ b/source/text/sbasic/shared/01170100.xhp
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Control and Dialog Properties</title>
+<filename>/text/sbasic/shared/01170100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-23T16:49:08">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="control">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153379"><bookmark_value>controls; properties</bookmark_value>
+<bookmark_value>properties; controls and dialogs</bookmark_value>
+<bookmark_value>dialogs; properties</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01170100.xhp" name="Control and Dialog Properties">Control and Dialog Properties</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".">Specifies the properties of the selected dialog or control.</ahelp> You must be in the design mode to be able to use this command.</paragraph>
+<paragraph role="heading" id="hd_id3151043" xml-lang="en-US" level="2" l10n="U" oldref="20">Entering Data in the Properties Dialog</paragraph>
+<paragraph role="paragraph" id="par_id3153771" xml-lang="en-US" l10n="U" oldref="3">The following key combinations apply to enter data in multiline fields or combo boxes of the <emph>Properties</emph> dialog:</paragraph>
+<table id="tbl_id3152460">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="18">Keys</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="19">Effects</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="4">Alt+Down Arrow</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="5">Opens a combo box</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US" l10n="U" oldref="6">Alt+Up Arrow</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="7">Closes a combo box</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="8">Shift+Enter</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="9">Inserts a line break in multiline fields.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="10">(UpArrow)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153714" xml-lang="en-US" l10n="U" oldref="11">Goes to the previous line.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159266" xml-lang="en-US" l10n="U" oldref="12">(DownArrow)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146314" xml-lang="en-US" l10n="U" oldref="13">Goes to the next line.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149255" xml-lang="en-US" l10n="U" oldref="14">Enter</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149566" xml-lang="en-US" l10n="U" oldref="15">Applies the changes made to a field and places the cursor into the next field.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<embed href="text/sbasic/shared/01170101.xhp#allgemein"/>
+<embed href="text/sbasic/shared/01170103.xhp#ereignisse"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01170101.xhp b/source/text/sbasic/shared/01170101.xhp
new file mode 100644
index 0000000000..1f8cf61829
--- /dev/null
+++ b/source/text/sbasic/shared/01170101.xhp
@@ -0,0 +1,455 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">General</title>
+<filename>/text/sbasic/shared/01170101.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="allgemein">
+<paragraph role="heading" id="hd_id3147436" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01170101.xhp" name="General">General</link></paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="2">Define the properties for the selected control or dialog. The available properties depend on the type of control selected. The following properties therefore are not available for every type of control.</paragraph>
+</section>
+<sort order="asc"><section id="Section64">
+<!-- removed HID HID_PROP_IMAGE_ALIGN --><paragraph role="heading" id="hd_id3148647" xml-lang="en-US" level="2" l10n="U" oldref="11">Alignment</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="HID_PROP_IMAGE_ALIGN">Specify the alignment option for the selected control.</ahelp></paragraph>
+</section>
+<section id="Section63">
+<paragraph role="heading" id="hd_id3153189" xml-lang="en-US" level="2" l10n="U" oldref="76">AutoFill</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="CHG" oldref="77"><ahelp hid=".">Select "Yes" to enable the AutoFill function for the selected control. </ahelp></paragraph>
+</section>
+<section id="Section62"><paragraph role="heading" id="hd_id3155307" xml-lang="en-US" level="2" l10n="U" oldref="3">Background color</paragraph>
+<paragraph role="paragraph" id="par_id3145251" xml-lang="en-US" l10n="CHG" oldref="4"><ahelp hid=".">Specify the background color for the current control.</ahelp></paragraph>
+</section>
+<section id="Section61">
+<paragraph role="heading" id="hd_id3151076" xml-lang="en-US" level="2" l10n="CHG" oldref="263">Large change</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="CHG" oldref="262"><ahelp hid=".">Specify the number of units to scroll when a user clicks in the area between the slider and the arrows on a scrollbar.</ahelp></paragraph>
+</section>
+<section id="Section60"><paragraph role="heading" id="hd_id3153876" xml-lang="en-US" level="2" l10n="U" oldref="139">Border</paragraph>
+<paragraph role="paragraph" id="par_id3154017" xml-lang="en-US" l10n="CHG" oldref="140"><ahelp hid=".">Specify the border type for the current control.</ahelp></paragraph>
+</section>
+<section id="Section59">
+<paragraph role="heading" id="hd_id3150749" xml-lang="en-US" level="2" l10n="U" oldref="23">Button type</paragraph>
+<paragraph role="paragraph" id="par_id3155064" xml-lang="en-US" l10n="CHG" oldref="24"><ahelp hid=".">Select a button type. Button types determine what type of action is initiated.</ahelp></paragraph>
+</section>
+<section id="Section58"><paragraph role="heading" id="hd_id3149019" xml-lang="en-US" level="2" l10n="U" oldref="5">Character set</paragraph>
+<paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="CHG" oldref="6"><ahelp hid=".">Select the font to be used for displaying the contents of the current control.</ahelp></paragraph>
+</section>
+<section id="Section57">
+<paragraph role="heading" id="hd_id3147341" xml-lang="en-US" level="2" l10n="U" oldref="149">Currency symbol</paragraph>
+<paragraph role="paragraph" id="par_id3146315" xml-lang="en-US" l10n="CHG" oldref="150"><ahelp hid=".">Enter the currency symbol to be used for currency controls.</ahelp></paragraph>
+</section>
+<section id="Section44">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_DATE" id="bm_id856349" localize="false"/><paragraph role="heading" id="hd_id7936643" xml-lang="en-US" level="2" l10n="NEW">Date</paragraph>
+<paragraph role="paragraph" id="par_id2293771" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specify the default date to be shown in the Date control.</ahelp></paragraph>
+</section>
+<section id="Section56">
+<paragraph role="heading" id="hd_id3153965" xml-lang="en-US" level="2" l10n="U" oldref="82">Date format</paragraph>
+<paragraph role="paragraph" id="par_id3155334" xml-lang="en-US" l10n="CHG" oldref="83"><ahelp hid=".">Specify the desired format for a date control. A date control interprets the user input depending on this format setting.</ahelp></paragraph>
+</section>
+<section id="Section55">
+<paragraph role="heading" id="hd_id3154663" xml-lang="en-US" level="2" l10n="CHG" oldref="121">Date max.</paragraph>
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="CHG" oldref="122"><ahelp hid=".">Specify the upper limit for a date control.</ahelp></paragraph>
+</section>
+<section id="Section54">
+<paragraph role="heading" id="hd_id3152778" xml-lang="en-US" level="2" l10n="U" oldref="131">Date min.</paragraph>
+<paragraph role="paragraph" id="par_id3154120" xml-lang="en-US" l10n="CHG" oldref="132"><ahelp hid=".">Specify the lower limit for a date control.</ahelp></paragraph>
+</section>
+<section id="Section53">
+<paragraph role="heading" id="hd_id3154573" xml-lang="en-US" level="2" l10n="U" oldref="137">Decimal accuracy</paragraph>
+<paragraph role="paragraph" id="par_id3166426" xml-lang="en-US" l10n="CHG" oldref="138"><ahelp hid=".">Specify the number of decimal places displayed for a numerical or currency control.</ahelp></paragraph>
+</section>
+<section id="Section52">
+<paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="2" l10n="U" oldref="144">Default button</paragraph>
+<paragraph role="paragraph" id="par_id3154200" xml-lang="en-US" l10n="CHG" oldref="145"><ahelp hid=".">Select "Yes" to make the current button control the default selection. Pressing <emph>Return</emph> in the dialog activates the default button.</ahelp></paragraph>
+</section>
+<section id="Section66">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_REPEAT_DELAY" id="bm_id1620227" localize="false"/><paragraph role="heading" id="par_idN108BA" xml-lang="en-US" level="2" l10n="NEW">Delay</paragraph>
+<paragraph role="paragraph" id="par_idN108D0" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Specifies the delay in milliseconds between scrollbar trigger events.</ahelp> A trigger event occurs when you click a scrollbar arrow or click the background area in a scrollbar. Repeated trigger events occur if you keep the mouse button pressed when you click a scrollbar arrow or background area in a scrollbar. If you want, you can include valid time units with the number that you enter, for example, 2 s or 500 ms.</paragraph>
+</section>
+<section id="Section51"><paragraph role="heading" id="hd_id3151278" xml-lang="en-US" level="2" l10n="U" oldref="19">Dropdown</paragraph>
+<paragraph role="paragraph" id="par_id3155113" xml-lang="en-US" l10n="CHG" oldref="20"><ahelp hid=".">Select "Yes" to enable the dropdown option for list or combo box controls. A dropdown control field has an arrow button which you can click to open a list of the existing form entries.</ahelp></paragraph>
+</section>
+<section id="Section50">
+<paragraph role="heading" id="hd_id3151216" xml-lang="en-US" level="2" l10n="U" oldref="13">Enabled</paragraph>
+<paragraph role="paragraph" id="par_id3150517" xml-lang="en-US" l10n="CHG" oldref="14"><ahelp hid=".">Select "Yes" to enable the control. If the control is disabled, it is grayed out in the dialog.</ahelp></paragraph>
+</section>
+<section id="Section49">
+<paragraph role="heading" id="hd_id3155379" xml-lang="en-US" level="2" l10n="U" oldref="91">Edit mask</paragraph>
+<paragraph role="paragraph" id="par_id3155509" xml-lang="en-US" l10n="CHG" oldref="92"><ahelp hid=".">Specify the edit mask for a pattern control. This is a character code that defines the input format for the control.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3154485" xml-lang="en-US" l10n="U" oldref="184">You need to specify a masking character for each input character of the edit mask to restrict the input to the values that are listed in the following table:</paragraph>
+<table id="tbl_id3152986">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3155809" xml-lang="en-US" l10n="U" oldref="93"> Character </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3148702" xml-lang="en-US" l10n="U" oldref="94">Meaning</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3156199" xml-lang="en-US" l10n="U" oldref="95">L</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3148869" xml-lang="en-US" l10n="U" oldref="96">A text constant. This character cannot be modified by the user. </paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3156016" xml-lang="en-US" l10n="U" oldref="97">a</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3157983" xml-lang="en-US" l10n="U" oldref="98">The characters a-z can be entered here. If a capital letter is entered, it is automatically converted to a lowercase letter.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3148607" xml-lang="en-US" l10n="U" oldref="99">A</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3159204" xml-lang="en-US" l10n="U" oldref="100">The characters A-Z can be entered here. If a lowercase letter is entered, it is automatically converted to a capital letter</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3149126" xml-lang="en-US" l10n="U" oldref="101">c</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3151304" xml-lang="en-US" l10n="U" oldref="102">The characters a-z and 0-9 can be entered here. If a capital letter is entered, it is automatically converted to a lowercase letter.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3152870" xml-lang="en-US" l10n="U" oldref="103">C</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3155071" xml-lang="en-US" l10n="U" oldref="104">The characters a-z and 0-9 can be entered here. If a lowercase letter is entered, it is automatically converted to a capital letter</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3159230" xml-lang="en-US" l10n="U" oldref="105">N</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154650" xml-lang="en-US" l10n="U" oldref="106">Only the characters 0-9 can be entered.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3149383" xml-lang="en-US" l10n="U" oldref="107">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153489" xml-lang="en-US" l10n="U" oldref="108">All printable characters can be entered.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3146967" xml-lang="en-US" l10n="U" oldref="109">X</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154707" xml-lang="en-US" l10n="U" oldref="110">All printable characters can be entered. If a lowercase letter is used, it is automatically converted to a capital letter.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+<section id="Section72">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_EDITABLE" id="bm_id533463" localize="false"/><paragraph role="heading" id="hd_id2128971" xml-lang="en-US" level="2" l10n="NEW">Editable</paragraph>
+<paragraph role="paragraph" id="par_id6519974" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies whether the nodes of the tree control are editable.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id4591814" xml-lang="en-US" l10n="NEW">The default value is FALSE.</paragraph>
+</section>
+<section id="Section48"><paragraph role="heading" id="hd_id3149317" xml-lang="en-US" level="2" l10n="U" oldref="114">Graphics</paragraph>
+<paragraph role="paragraph" id="par_id3147546" xml-lang="en-US" l10n="CHG" oldref="115"><ahelp hid=".">Specify the source of the graphics for a button or an image control. Click "..." to select a file.</ahelp></paragraph>
+</section>
+<section id="Section47">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_HEIGHT" id="bm_id8097170" localize="false"/><paragraph role="heading" id="hd_id3154627" xml-lang="en-US" level="2" l10n="U" oldref="258">Height</paragraph>
+<paragraph role="paragraph" id="par_id3155754" xml-lang="en-US" l10n="CHG" oldref="257"><ahelp hid=".">Specify the height of the current control or the dialog.</ahelp></paragraph>
+</section>
+<section id="Section46">
+<paragraph role="heading" id="hd_id3153072" xml-lang="en-US" level="2" l10n="U" oldref="208">Help text</paragraph>
+<paragraph role="paragraph" id="par_id3147502" xml-lang="en-US" l10n="CHG" oldref="209"><ahelp hid=".">Enter a help text that is displayed as a tip (bubble help) when the mouse rests over the control.</ahelp></paragraph>
+</section>
+<section id="Section45">
+<paragraph role="heading" id="hd_id3154400" xml-lang="en-US" level="2" l10n="U" oldref="212">Help URL</paragraph>
+<paragraph role="paragraph" id="par_id3150431" xml-lang="en-US" l10n="CHG" oldref="213"><ahelp hid=".">Specify the help URL that is called when you press F1 while the focus is on a particular control. For example, use the format HID:1234 to call the Help-ID with the number 1234.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id4171269" xml-lang="en-US" l10n="NEW">Set the environment variable HELP_DEBUG to 1 to view the Help-IDs as extended help tips.</paragraph>
+</section>
+<section id="Section43">
+<paragraph role="heading" id="hd_id3159260" xml-lang="en-US" level="2" l10n="U" oldref="85">Incr./decrement value</paragraph>
+<paragraph role="paragraph" id="par_id3145233" xml-lang="en-US" l10n="CHG" oldref="86"><ahelp hid=".">Specify the increment and decrement interval for spin button controls.</ahelp></paragraph>
+</section>
+<section id="Section73">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_INVOKES_STOP_NOT_EDITING" id="bm_id9407025" localize="false"/><paragraph role="heading" id="hd_id539262" xml-lang="en-US" level="2" l10n="NEW">Invokes stop mode editing</paragraph>
+<paragraph role="paragraph" id="par_id234382" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id6591082" xml-lang="en-US" l10n="NEW">Setting this property to TRUE causes the changes to be automatically saved when editing is interrupted. FALSE means that editing is canceled and changes are lost.</paragraph>
+<paragraph role="paragraph" id="par_id9298074" xml-lang="en-US" l10n="NEW">The default value is FALSE.</paragraph>
+</section>
+<section id="Section42"><paragraph role="heading" id="hd_id3150536" xml-lang="en-US" level="2" l10n="U" oldref="7">Label</paragraph>
+<paragraph role="paragraph" id="par_id3146324" xml-lang="en-US" l10n="CHG" oldref="8"><ahelp hid=".">Specifies the label of the current control. The label is displayed along with the control.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3146816" xml-lang="en-US" l10n="U" oldref="223">You can create multi-line <emph>labels</emph> by inserting manual line breaks in the label using <emph>Shift+Enter</emph>.</paragraph>
+</section>
+<section id="Section41">
+<paragraph role="heading" id="hd_id3150457" xml-lang="en-US" level="2" l10n="U" oldref="74">Line Count</paragraph>
+<paragraph role="paragraph" id="par_id3149143" xml-lang="en-US" l10n="CHG" oldref="75"><ahelp hid=".">Enter the number of lines to be displayed for a list control. For combo boxes, this setting is only active if the dropdown option is enabled. </ahelp></paragraph>
+</section>
+<section id="Section3">
+<paragraph role="heading" id="hd_id7468489" xml-lang="en-US" level="2" l10n="NEW">Scrollbar</paragraph>
+<paragraph role="paragraph" id="par_id7706228" xml-lang="en-US" l10n="NEW">Adds the scrollbar type that you specify to a text box.</paragraph>
+</section>
+<section id="Section40">
+<paragraph role="heading" id="hd_id3153121" xml-lang="en-US" level="2" l10n="CHG" oldref="256">Small change</paragraph>
+<paragraph role="paragraph" id="par_id3157875" xml-lang="en-US" l10n="CHG" oldref="255"><ahelp hid=".">Specify the number of units to scroll when a user clicks an arrow on a scrollbar.</ahelp></paragraph>
+</section>
+<section id="Section39"><paragraph role="heading" id="hd_id3145221" xml-lang="en-US" level="2" l10n="U" oldref="73">List entries</paragraph>
+<paragraph role="paragraph" id="par_id3154580" xml-lang="en-US" l10n="CHG" oldref="120"><ahelp hid=".">Specify the entries for a list control. One line takes one list entry. Press <emph>Shift+Enter</emph> to insert a new line.</ahelp></paragraph>
+</section>
+<section id="Section38">
+<paragraph role="heading" id="hd_id3149723" xml-lang="en-US" level="2" l10n="U" oldref="159">Literal mask</paragraph>
+<paragraph role="paragraph" id="par_id3150656" xml-lang="en-US" l10n="CHG" oldref="160"><ahelp hid=".">Specify the initial values to be displayed in a pattern control. This helps the user to identify which values are allowed in a pattern control. The literal mask is restricted by the format specified by the edit mask.</ahelp></paragraph>
+</section>
+<section id="Section37">
+<paragraph role="heading" id="hd_id3149015" xml-lang="en-US" level="2" l10n="U" oldref="116">Manual line break</paragraph>
+<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="CHG" oldref="117"><ahelp hid=".">Select "Yes" to allow manual line breaks inside multiline controls.</ahelp></paragraph>
+</section>
+<section id="Section36">
+<paragraph role="heading" id="hd_id3150463" xml-lang="en-US" level="2" l10n="U" oldref="123">Max. text length</paragraph>
+<paragraph role="paragraph" id="par_id3150745" xml-lang="en-US" l10n="CHG" oldref="124"><ahelp hid=".">Specify the maximum number of characters that the user can enter.</ahelp></paragraph>
+</section>
+<section id="Section35"><paragraph role="heading" id="hd_id3154675" xml-lang="en-US" level="2" l10n="U" oldref="21">Multiline Input</paragraph>
+<paragraph role="paragraph" id="par_id3144741" xml-lang="en-US" l10n="CHG" oldref="22"><ahelp hid=".">Select "Yes" to allow the input of multiple lines in the control. Press Enter to insert a manual line break in the control.</ahelp></paragraph>
+</section>
+<section id="Section34">
+<paragraph role="heading" id="hd_id3154848" xml-lang="en-US" level="2" l10n="U" oldref="129">Multiselection</paragraph>
+<paragraph role="paragraph" id="par_id3151235" xml-lang="en-US" l10n="CHG" oldref="130"><ahelp hid=".">Select "Yes" to allow the selection of multiple entries in list controls.</ahelp></paragraph>
+</section>
+<section id="Section33"><paragraph role="heading" id="hd_id3148887" xml-lang="en-US" level="2" l10n="U" oldref="9">Name</paragraph>
+<paragraph role="paragraph" id="par_id3154548" xml-lang="en-US" l10n="CHG" oldref="10"><ahelp hid=".">Insert a name for the current control. This name is used to identify the control.</ahelp></paragraph>
+</section>
+<section id="Section32"><paragraph role="heading" id="hd_id3148739" xml-lang="en-US" level="2" l10n="U" oldref="44">Order</paragraph>
+<paragraph role="paragraph" id="par_id3149252" xml-lang="en-US" l10n="CHG" oldref="45"><ahelp hid=".">Specify the order in which the controls receive the focus when the Tab key is pressed in the dialog.</ahelp> On entering a dialog, the control with the lowest order (0) receives the focus. Pressing the <emph>Tab</emph> key the successively focusses the other controls as specified by their order number.</paragraph>
+<paragraph role="paragraph" id="par_id3155259" xml-lang="en-US" l10n="U" oldref="46">Initially, the controls receive numbers in the order they are added to the dialog. You can change the order numbers for controls. $[officename] Basic updates the order numbers automatically to avoid duplicate numbers. Controls that cannot be focused are also assigned a value but these controls are skipped when using the Tab key.</paragraph>
+</section>
+<section id="Section31">
+<paragraph role="heading" id="hd_id3149511" xml-lang="en-US" level="2" l10n="U" oldref="247">Orientation</paragraph>
+<paragraph role="paragraph" id="par_id3153780" xml-lang="en-US" l10n="CHG" oldref="246"><ahelp hid=".">Specify the orientation for a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section30">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_STEP" id="bm_id8616901" localize="false"/><paragraph role="heading" id="hd_id3154374" xml-lang="en-US" level="2" l10n="CHG" oldref="239">Page (step)</paragraph>
+<paragraph role="paragraph" id="par_id3154109" xml-lang="en-US" l10n="CHG" oldref="238"><ahelp hid=".">Specify the number of the dialog page to which the current control is assigned or the page number of the dialog you want to edit.</ahelp> If a dialog has only one page set its <emph>Page (Step)</emph> value to <emph>0</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3148580" xml-lang="en-US" l10n="U" oldref="236">Select <emph>Page (Step)</emph> = 0 to make a control visible on every dialog page.</paragraph>
+<paragraph role="paragraph" id="par_id3146144" xml-lang="en-US" l10n="U" oldref="235">To switch between dialog pages at run time, you need to create a macro that changes the value of <emph>Page (Step)</emph>.</paragraph>
+</section>
+<section id="Section29">
+<paragraph role="heading" id="hd_id3154558" xml-lang="en-US" level="2" l10n="U" oldref="156">Password characters</paragraph>
+<paragraph role="paragraph" id="par_id3152787" xml-lang="en-US" l10n="CHG" oldref="157"><ahelp hid=".">Enter a character to be displayed instead of the characters that are typed. This can be used for entering passwords in text controls.</ahelp></paragraph>
+</section>
+<section id="Section28">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_POSITIONX" id="bm_id8632160" localize="false"/><paragraph role="heading" id="hd_id3148750" xml-lang="en-US" level="2" l10n="U" oldref="245">PositionX</paragraph><paragraph role="paragraph" id="par_id3154517" xml-lang="en-US" l10n="CHG" oldref="244"><ahelp hid=".">Specify the distance of the current control from the left side of the dialog.</ahelp></paragraph>
+</section>
+<section id="Section27">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_POSITIONY" id="bm_id7651905" localize="false"/><paragraph role="heading" id="hd_id3152767" xml-lang="en-US" level="2" l10n="U" oldref="243">PositionY</paragraph>
+<paragraph role="paragraph" id="par_id3159082" xml-lang="en-US" l10n="CHG" oldref="242"><ahelp hid=".">Specify the distance of the current control from the top of the dialog.</ahelp></paragraph>
+</section>
+<section id="Section26">
+<paragraph role="heading" id="hd_id3159213" xml-lang="en-US" level="2" l10n="U" oldref="221">Prefix symbol</paragraph>
+<paragraph role="paragraph" id="par_id3149688" xml-lang="en-US" l10n="CHG" oldref="222"><ahelp hid=".">Select "Yes" to display the currency symbol prefix in currency controls when a number was entered.</ahelp></paragraph>
+</section>
+<section id="Section25">
+<paragraph role="heading" id="hd_id3149728" xml-lang="en-US" level="2" l10n="U" oldref="89">Print</paragraph>
+<paragraph role="paragraph" id="par_id3150001" xml-lang="en-US" l10n="CHG" oldref="90"><ahelp hid=".">Select "Yes" to include the current control in a document's printout.</ahelp></paragraph>
+</section>
+<section id="Section24">
+<paragraph role="heading" id="hd_id3154671" xml-lang="en-US" level="2" l10n="U" oldref="261">Progress value</paragraph>
+<paragraph role="paragraph" id="par_id3146849" xml-lang="en-US" l10n="CHG" oldref="260"><ahelp hid=".">Specify a progress value for a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section23">
+<paragraph role="heading" id="hd_id3153112" xml-lang="en-US" level="2" l10n="U" oldref="254">Progress value max.</paragraph>
+<paragraph role="paragraph" id="par_id3145167" xml-lang="en-US" l10n="CHG" oldref="253"><ahelp hid=".">Specify the maximum value of a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section22">
+<paragraph role="heading" id="hd_id3153569" xml-lang="en-US" level="2" l10n="U" oldref="249">Progress value min.</paragraph>
+<paragraph role="paragraph" id="par_id3154506" xml-lang="en-US" l10n="CHG" oldref="248"><ahelp hid=".">Specify the minimum value of a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section21"><paragraph role="heading" id="hd_id3150134" xml-lang="en-US" level="2" l10n="U" oldref="42">Read-only</paragraph>
+<paragraph role="paragraph" id="par_id3155930" xml-lang="en-US" l10n="CHG" oldref="43"><ahelp hid=".">Select "Yes" to prevent the user from editing the value of the current control. The control is enabled and can be focussed but not modified.</ahelp></paragraph>
+</section>
+<section id="Section65">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_REPEAT" id="bm_id2982573" localize="false"/><paragraph role="heading" id="par_idN11112" xml-lang="en-US" level="2" l10n="NEW">Repeat<comment>UFI: see spec spinbutton_form_control.sxw</comment></paragraph>
+<paragraph role="paragraph" id="par_idN11128" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Repeats trigger events when you keep the mouse button pressed on a control such as a spin button.</ahelp></paragraph>
+</section>
+<section id="Section71">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_ROOT_DISPLAYED" id="bm_id1578722" localize="false"/><paragraph role="heading" id="hd_id9579149" xml-lang="en-US" level="2" l10n="NEW">Root displayed<comment>see http://specs.openoffice.org/appwide/dialog_ide/New_Tree_Control_in_IDE.odt</comment></paragraph>
+<paragraph role="paragraph" id="par_id7126987" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies if the root node of the tree control is displayed.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id9174779" xml-lang="en-US" l10n="NEW">If Root displayed is set to FALSE, the root node of a model is no longer a valid node for the tree control and can't be used with any method of XTreeControl.</paragraph>
+<paragraph role="paragraph" id="par_id594195" xml-lang="en-US" l10n="NEW">The default value is TRUE.</paragraph>
+</section>
+<section id="Section74">
+<paragraph role="heading" id="hd_id7534409" xml-lang="en-US" level="2" l10n="NEW">Row height</paragraph>
+<paragraph role="paragraph" id="par_id6471755" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies the height of each row of a tree control, in pixels.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id2909329" xml-lang="en-US" l10n="NEW">If the specified value is less than or equal to zero, the row height is the maximum height of all rows.</paragraph>
+<paragraph role="paragraph" id="par_id4601580" xml-lang="en-US" l10n="NEW">The default value is 0.</paragraph>
+</section>
+<section id="Section20">
+<paragraph role="heading" id="hd_id3148761" xml-lang="en-US" level="2" l10n="U" oldref="264">Scale</paragraph>
+<paragraph role="paragraph" id="par_id3159134" xml-lang="en-US" l10n="CHG" oldref="265"><ahelp hid=".">Scales the image to fit the control size.</ahelp></paragraph>
+</section>
+<section id="Scrollbar">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_HSCROLL" id="bm_id3149895" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_VSCROLL" id="bm_id3149517" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SHOW_SCROLLBARS" id="bm_id6053651" localize="false"/><paragraph role="heading" id="hd_id7597277" xml-lang="en-US" level="2" l10n="NEW">Scrollbar</paragraph>
+<paragraph role="paragraph" id="par_id986968" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Adds the scrollbar type that you specify to a text box.</ahelp></paragraph>
+</section>
+<section id="Section19">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SCROLLVALUE" id="bm_id3150294" localize="false"/><paragraph role="heading" id="hd_id3147370" xml-lang="en-US" level="2" l10n="U" oldref="241">Scroll value</paragraph>
+<paragraph role="paragraph" id="par_id3159622" xml-lang="en-US" l10n="U" oldref="240"><ahelp hid=".">Specify the initial value of a scrollbar control. This determines the position of the scrollbar slider.</ahelp></paragraph>
+</section>
+<section id="Section18">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SCROLLVALUE_MAX" id="bm_id3148873" localize="false"/><paragraph role="heading" id="hd_id3155440" xml-lang="en-US" level="2" l10n="U" oldref="252">Scroll value max.</paragraph>
+<paragraph role="paragraph" id="par_id3148877" xml-lang="en-US" l10n="CHG" oldref="251"><ahelp hid=".">Specify the maximum value of a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section67">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SCROLLVALUE_MIN" id="bm_id6626483" localize="false"/><paragraph role="heading" id="par_idN111E4" xml-lang="en-US" level="2" l10n="NEW">Scroll value min.</paragraph>
+<paragraph role="paragraph" id="par_idN111E8" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Specify the minimum value of a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section69">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SHOWS_HANDLES" id="bm_id7286904" localize="false"/><paragraph role="heading" id="hd_id543534" xml-lang="en-US" level="2" l10n="NEW">Show handles</paragraph>
+<paragraph role="paragraph" id="par_id5060884" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies whether the handles of the nodes should be displayed.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id4974822" xml-lang="en-US" l10n="NEW">The handles are dotted lines that visualize the hierarchy of the tree control.</paragraph>
+<paragraph role="paragraph" id="par_id7687307" xml-lang="en-US" l10n="NEW">The default value is TRUE.</paragraph>
+</section>
+<section id="Section70">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SHOWS_ROOT_HANDLES" id="bm_id2047486" localize="false"/><paragraph role="heading" id="hd_id4062013" xml-lang="en-US" level="2" l10n="NEW">Show root handles</paragraph>
+<paragraph role="paragraph" id="par_id3314004" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies whether the handles of the nodes should also be displayed at root level.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id2396313" xml-lang="en-US" l10n="NEW">The default value is TRUE.</paragraph>
+</section>
+<section id="Section17">
+<paragraph role="heading" id="par_idN10EC2" xml-lang="en-US" level="2" l10n="NEW">Selection<comment>UFI: udk.features "New property and help ID for property browser in Basic IDE"</comment></paragraph>
+<paragraph role="paragraph" id="par_idN10ED8" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Specifies the sequence of the selected items, where "0" corresponds to the first item. To select more than one item, Multiselection must be enabled.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10EEB" xml-lang="en-US" l10n="NEW">Click the <emph>...</emph> button to open the <emph>Selection</emph> dialog.</paragraph>
+<paragraph role="paragraph" id="par_idN10F0A" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Click the item or items that you want to select. To select more than one item, ensure that the Multiselection option is selected.</ahelp></paragraph>
+</section>
+<section id="Section68">
+<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_SELECTION_TYPE" id="bm_id2208929" localize="false"/><paragraph role="heading" id="hd_id5026093" xml-lang="en-US" level="2" l10n="NEW">Selection type<comment>see http://specs.openoffice.org/appwide/dialog_ide/New_Tree_Control_in_IDE.odt</comment></paragraph>
+<paragraph role="paragraph" id="par_id1134067" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Specifies the selection mode that is enabled for this tree control.</ahelp></paragraph>
+</section>
+<section id="Section16"><paragraph role="heading" id="hd_id3154193" xml-lang="en-US" level="2" l10n="U" oldref="87">Spin Button</paragraph>
+<paragraph role="paragraph" id="par_id3145298" xml-lang="en-US" l10n="CHG" oldref="88"><ahelp hid=".">Select "Yes" to add spin buttons to a numerical, currency, date, or time control to allow increasing and decreasing the input value using arrow buttons.</ahelp></paragraph>
+</section>
+<section id="Section15">
+<paragraph role="heading" id="hd_id3156267" xml-lang="en-US" level="2" l10n="U" oldref="232">State</paragraph>
+<paragraph role="paragraph" id="par_id3150928" xml-lang="en-US" l10n="CHG" oldref="231"><ahelp hid=".">Select the selection state of the current control.</ahelp></paragraph>
+</section>
+<section id="Section14">
+<paragraph role="heading" id="hd_id3148396" xml-lang="en-US" level="2" l10n="U" oldref="112">Strict format</paragraph>
+<paragraph role="paragraph" id="par_id3153042" xml-lang="en-US" l10n="CHG" oldref="113"><ahelp hid=".">Select "Yes" to only allow valid characters to be entered in a numerical, currency, date, or time control.</ahelp></paragraph>
+</section>
+<section id="Section13"><paragraph role="heading" id="hd_id3149538" xml-lang="en-US" level="2" l10n="U" oldref="48">Tabstop</paragraph>
+<paragraph role="paragraph" id="par_id3148543" xml-lang="en-US" l10n="CHG" oldref="49"><ahelp hid=".">Select the focus behavior of the current control when using the <emph>Tab</emph> key.</ahelp></paragraph>
+<table id="tbl_id3148388">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3148776" xml-lang="en-US" l10n="U" oldref="178">Default</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153547" xml-lang="en-US" l10n="U" oldref="179">Only input controls receive the focus when using the <emph>Tab</emph> key. Controls without input like caption controls are omitted.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154632" xml-lang="en-US" l10n="U" oldref="52">No</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150475" xml-lang="en-US" l10n="U" oldref="53">When using the tab key focusing skips the control.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150690" xml-lang="en-US" l10n="U" oldref="50">Yes</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3159106" xml-lang="en-US" l10n="U" oldref="51">The control can be selected with the Tab key.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+<section id="Section12">
+<paragraph role="heading" id="hd_id3145152" xml-lang="en-US" level="2" l10n="U" oldref="147">Thousands Separator</paragraph>
+<paragraph role="paragraph" id="par_id3155085" xml-lang="en-US" l10n="CHG" oldref="148"><ahelp hid=".">Select "Yes" to display thousands separator characters in numerical and currency controls.</ahelp></paragraph>
+</section>
+<section id="Section11">
+<paragraph role="heading" id="hd_id3152816" xml-lang="en-US" level="2" l10n="U" oldref="168">Time Format</paragraph>
+<paragraph role="paragraph" id="par_id3145263" xml-lang="en-US" l10n="CHG" oldref="169"><ahelp hid=".">Select the format to be used for time controls.</ahelp></paragraph>
+</section>
+<section id="Section10">
+<paragraph role="heading" id="hd_id3153920" xml-lang="en-US" level="2" l10n="U" oldref="127">Time max.</paragraph>
+<paragraph role="paragraph" id="par_id3155401" xml-lang="en-US" l10n="CHG" oldref="128"><ahelp hid=".">Specify the maximum time value for a time control.</ahelp></paragraph>
+</section>
+<section id="Section9">
+<paragraph role="heading" id="hd_id3163818" xml-lang="en-US" level="2" l10n="U" oldref="135">Time min.</paragraph>
+<paragraph role="paragraph" id="par_id3156262" xml-lang="en-US" l10n="CHG" oldref="136"><ahelp hid=".">Specify the minimum time value for a time control.</ahelp></paragraph>
+</section>
+<section id="Section8">
+<paragraph role="heading" id="hd_id3148638" xml-lang="en-US" level="2" l10n="U" oldref="266">Title</paragraph>
+<paragraph role="paragraph" id="par_id3147169" xml-lang="en-US" l10n="CHG" oldref="267"><ahelp hid=".">Specify the title of the dialog. Click the border of the dialog to select the dialog.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153716" xml-lang="en-US" l10n="U" oldref="55">
+<emph>Titles</emph> are only used for labeling a dialog and can only contain one line. Please note that if you work with macros, controls are only called through their <emph>Name</emph> property.</paragraph>
+</section>
+<section id="Section7">
+<paragraph role="heading" id="hd_id3152594" xml-lang="en-US" level="2" l10n="U" oldref="173">Tristate</paragraph>
+<paragraph role="paragraph" id="par_id3149825" xml-lang="en-US" l10n="CHG" oldref="174"><ahelp hid=".">Select "Yes" to allow a check box to have three states (checked, unchecked, and grayed out) instead of two (checked and unchecked).</ahelp></paragraph>
+</section>
+<section id="Section6">
+<paragraph role="heading" id="hd_id3150614" xml-lang="en-US" level="2" l10n="U" oldref="268">Value</paragraph>
+<paragraph role="paragraph" id="par_id3154315" xml-lang="en-US" l10n="CHG" oldref="269"><ahelp hid=".">Specify the value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section5">
+<paragraph role="heading" id="hd_id3152480" xml-lang="en-US" level="2" l10n="U" oldref="125">Value max.</paragraph>
+<paragraph role="paragraph" id="par_id3163823" xml-lang="en-US" l10n="CHG" oldref="126"><ahelp hid=".">Specify the maximum value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section4">
+<paragraph role="heading" id="hd_id3149276" xml-lang="en-US" level="2" l10n="U" oldref="133">Value min.</paragraph>
+<paragraph role="paragraph" id="par_id3145088" xml-lang="en-US" l10n="CHG" oldref="134"><ahelp hid=".">Specify the minimum value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section2">
+<paragraph role="heading" id="hd_id3149712" xml-lang="en-US" level="2" l10n="U" oldref="234">Visible size</paragraph>
+<paragraph role="paragraph" id="par_id3149445" xml-lang="en-US" l10n="CHG" oldref="233"><ahelp hid=".">Specify the length of the slider of a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section1"><paragraph role="heading" id="hd_id3152472" xml-lang="en-US" level="2" l10n="U" oldref="142">Width</paragraph>
+<paragraph role="paragraph" id="par_id3157963" xml-lang="en-US" l10n="CHG" oldref="143"><ahelp hid=".">Specify the width of the current control or dialog.</ahelp></paragraph>
+</section>
+</sort></body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/01170103.xhp b/source/text/sbasic/shared/01170103.xhp
new file mode 100644
index 0000000000..dfa2049ac0
--- /dev/null
+++ b/source/text/sbasic/shared/01170103.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Events</title>
+<filename>/text/sbasic/shared/01170103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-24T10:33:30">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ereignisse">
+<paragraph role="heading" id="hd_id3155506" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01170103.xhp" name="Events">Events</link></paragraph>
+<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US" l10n="U" oldref="2">Define event assignments for the selected control or dialog. The available events depend on the type of control selected.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145387" xml-lang="en-US" level="2" l10n="U" oldref="16">When receiving focus</paragraph>
+<paragraph role="paragraph" id="par_id3155090" xml-lang="en-US" l10n="U" oldref="17"><ahelp hid="HID_EVT_FOCUSGAINED">This event takes place if a control receives the focus.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3152892" xml-lang="en-US" level="2" l10n="U" oldref="18">When losing focus</paragraph>
+<paragraph role="paragraph" id="par_id3153305" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="HID_EVT_FOCUSLOST">This event takes place if a control loses the focus.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3152896" xml-lang="en-US" level="2" l10n="U" oldref="20">Key pressed</paragraph>
+<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid="HID_EVT_KEYTYPED">This event occurs when the user presses any key while the control has the focus.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3146869" xml-lang="en-US" level="2" l10n="U" oldref="43">Key released</paragraph>
+<paragraph role="paragraph" id="par_id3155267" xml-lang="en-US" l10n="U" oldref="44"><ahelp hid="HID_EVT_KEYUP">This event occurs when the user releases a key while the control has the focus.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3159096" xml-lang="en-US" level="2" l10n="U" oldref="41">Modified</paragraph>
+<paragraph role="paragraph" id="par_id3156019" xml-lang="en-US" l10n="U" oldref="42"><ahelp hid="HID_EVT_CHANGED">This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3144508" xml-lang="en-US" level="2" l10n="U" oldref="10">Text modified</paragraph>
+<paragraph role="paragraph" id="par_id3148608" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="HID_EVT_TEXTCHANGED">This event takes place if you enter or modify a text in an input field.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3159207" xml-lang="en-US" level="2" l10n="U" oldref="8">Item status changed</paragraph>
+<paragraph role="paragraph" id="par_id3155097" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="HID_EVT_ITEMSTATECHANGED">This event takes place if the status of the control field is changed, for example, from checked to unchecked.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="2" l10n="U" oldref="26">Mouse inside</paragraph>
+<paragraph role="paragraph" id="par_id3152871" xml-lang="en-US" l10n="U" oldref="27"><ahelp hid="HID_EVT_MOUSEENTERED">This event takes place when the mouse enters the control.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3146778" xml-lang="en-US" level="2" l10n="U" oldref="30">Mouse moved while key pressed</paragraph>
+<paragraph role="paragraph" id="par_id3150403" xml-lang="en-US" l10n="U" oldref="31"><ahelp hid="HID_EVT_MOUSEDRAGGED">This event takes place when the mouse is dragged while a key is pressed.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150210" xml-lang="en-US" level="2" l10n="U" oldref="32">Mouse moved</paragraph>
+<paragraph role="paragraph" id="par_id3149697" xml-lang="en-US" l10n="U" oldref="33"><ahelp hid="HID_EVT_MOUSEMOVED">This event takes place when the mouse moves over the control.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145216" xml-lang="en-US" level="2" l10n="U" oldref="22">Mouse button pressed</paragraph>
+<paragraph role="paragraph" id="par_id3155914" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="HID_EVT_MOUSEPRESSED">This event takes place when the mouse button is pressed while the mouse pointer is on the control.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148899" xml-lang="en-US" level="2" l10n="U" oldref="24">Mouse button released</paragraph>
+<paragraph role="paragraph" id="par_id3153812" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_EVT_MOUSERELEASED">This event takes place when the mouse button is released while the mouse pointer is on the control.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153556" xml-lang="en-US" level="2" l10n="U" oldref="28">Mouse outside</paragraph>
+<paragraph role="paragraph" id="par_id3153013" xml-lang="en-US" l10n="U" oldref="29"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when the mouse leaves the control.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155759" xml-lang="en-US" level="2" l10n="U" oldref="45">While adjusting</paragraph>
+<paragraph role="paragraph" id="par_id3156364" xml-lang="en-US" l10n="U" oldref="46"><ahelp hid="HID_EVT_MOUSEEXITED">This event takes place when a scrollbar is being dragged.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11010000.xhp b/source/text/sbasic/shared/02/11010000.xhp
new file mode 100644
index 0000000000..4c691ef295
--- /dev/null
+++ b/source/text/sbasic/shared/02/11010000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211010000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Library</title>
+<filename>/text/sbasic/shared/02/11010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="bibliothek">
+ <bookmark xml-lang="en-US" branch="hid/.uno:LibSelector" id="bm_id7790007" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:LibSelector" xml-lang="en-US" id="bm_id3154230"/><paragraph id="hd_id3151100" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11010000.xhp" name="Library">Library</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154136" xml-lang="en-US" oldref="2"><ahelp hid=".uno:LibSelector" visibility="visible">Select the library that you want to edit.</ahelp> The first module of the library that you select is displayed in the Basic IDE.</paragraph>
+ </section>
+ <section id="sybibliothek">
+ <table id="tbl_id3156410">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149095" xml-lang="en-US" oldref=""><image src="res/helpimg/feldalle.png" id="img_id3147576" localize="true"><alt xml-lang="en-US" id="alt_id3147576">List box Library</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147654" l10n="U" xml-lang="en-US" oldref="3">Library List Box</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11020000.xhp b/source/text/sbasic/shared/02/11020000.xhp
new file mode 100644
index 0000000000..6d871f4cb9
--- /dev/null
+++ b/source/text/sbasic/shared/02/11020000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211020000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Compile</title>
+<filename>/text/sbasic/shared/02/11020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="uebersetzen">
+ <bookmark xml-lang="en-US" branch="hid/.uno:CompileBasic" id="bm_id6294791" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:CompileBasic" xml-lang="en-US" id="bm_id3154230"/><paragraph id="hd_id3148983" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11020000.xhp" name="Compile">Compile</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159201" xml-lang="en-US" oldref="2"><ahelp hid=".uno:CompileBasic" visibility="visible">Compiles the Basic macro.</ahelp> You need to compile a macro after you make changes to it, or if the macro uses single or procedure steps.</paragraph>
+ </section>
+ <section id="syuebersetzen">
+ <table id="tbl_id3147571">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156426" xml-lang="en-US" oldref=""><image src="cmd/sc_compilebasic.png" id="img_id3147576"><alt xml-lang="en-US" id="alt_id3147576">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149399" l10n="U" xml-lang="en-US" oldref="3">Compile</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11030000.xhp b/source/text/sbasic/shared/02/11030000.xhp
new file mode 100644
index 0000000000..bbf46845ee
--- /dev/null
+++ b/source/text/sbasic/shared/02/11030000.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211030000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Run</title>
+<filename>/text/sbasic/shared/02/11030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T14:10:29">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ausfuehren">
+<bookmark xml-lang="en-US" branch="hid/.uno:RunBasic" id="bm_id2629893" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:RunBasic" id="bm_id3150247" localize="false"/>
+<paragraph role="heading" id="hd_id3153255" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11030000.xhp" name="Run">Run</link></paragraph>
+<paragraph role="paragraph" id="par_id3159201" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:RunBasic">Runs the first macro of the current module.</ahelp></paragraph>
+</section>
+<section id="syausfuehren">
+<table id="tbl_id3149346">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156410" xml-lang="en-US" l10n="E">
+<image id="img_id3153311" src="cmd/sc_runbasic.png" width="0.423cm" height="0.423cm"><alt id="alt_id3153311" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154750" xml-lang="en-US" l10n="U" oldref="3">Run</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11040000.xhp b/source/text/sbasic/shared/02/11040000.xhp
new file mode 100644
index 0000000000..54bf40de04
--- /dev/null
+++ b/source/text/sbasic/shared/02/11040000.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211040000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Stop</title>
+<filename>/text/sbasic/shared/02/11040000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="anhalten">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154863"><bookmark_value>macros; stopping</bookmark_value>
+<bookmark_value>program stops</bookmark_value>
+<bookmark_value>stopping macros</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStop" id="bm_id2398331" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStop" id="bm_id3149119" localize="false"/><paragraph role="heading" id="hd_id3154863" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11040000.xhp" name="Stop">Stop</link></paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".uno:BasicStop">Stops running the current macro.</ahelp><switchinline select="sys"><caseinline select="MAC">
+</caseinline><defaultinline> You can also press Shift+Ctrl+Q.</defaultinline></switchinline></paragraph>
+</section>
+<section id="syanhalten">
+<table id="tbl_id3147576">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146797" xml-lang="en-US" l10n="E">
+<image id="img_id3148538" src="cmd/sc_basicstop.png" width="0.222inch" height="0.222inch"><alt id="alt_id3148538" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150986" xml-lang="en-US" l10n="U" oldref="3">Stop</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11050000.xhp b/source/text/sbasic/shared/02/11050000.xhp
new file mode 100644
index 0000000000..60901db919
--- /dev/null
+++ b/source/text/sbasic/shared/02/11050000.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211050000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Single Step</title>
+<filename>/text/sbasic/shared/02/11050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-10-17T17:17:14">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="einzelschritt">
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStepInto" id="bm_id3917322" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStepInto" id="bm_id3149495" localize="false"/>
+<paragraph role="heading" id="hd_id3155934" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11050000.xhp" name="Single Step">Single Step</link></paragraph>
+<paragraph role="paragraph" id="par_id3146117" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:BasicStepInto">Runs the macro and stops it after the next command.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3152801" xml-lang="en-US" l10n="CHG" oldref="4">You can use this command in conjunction with the <link href="text/sbasic/shared/02/11080000.xhp" name="Watch">Watch</link> command to troubleshoot errors.</paragraph>
+<section id="syeinzelschritt">
+<table id="tbl_id3153527">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3157958" xml-lang="en-US" l10n="E">
+<image id="img_id3153345" src="cmd/sc_basicstepinto.png" width="0.222inch" height="0.222inch"><alt id="alt_id3153345" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="3">Single Step</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3149235" xml-lang="en-US" l10n="CHG" oldref="6"><link href="text/sbasic/shared/02/11060000.xhp" name="Procedure Step function">Procedure Step function</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11060000.xhp b/source/text/sbasic/shared/02/11060000.xhp
new file mode 100644
index 0000000000..e73f2aa63d
--- /dev/null
+++ b/source/text/sbasic/shared/02/11060000.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211060000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Procedure Step</title>
+<filename>/text/sbasic/shared/02/11060000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-10-17T17:16:41">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="prozedurschritt">
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStepOver" id="bm_id3926226" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:BasicStepOver" id="bm_id3143284" localize="false"/>
+<paragraph role="heading" id="hd_id3148520" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11060000.xhp" name="Procedure Step">Procedure Step</link></paragraph>
+<paragraph role="paragraph" id="par_id3152363" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:BasicStepOver">Runs the macro and stops it after the next procedure.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="CHG" oldref="4">You can use this command in conjunction with the <link href="text/sbasic/shared/02/11080000.xhp" name="Watch">Watch</link> command to troubleshoot errors.</paragraph>
+<section id="syprozedurschritt">
+<table id="tbl_id3146957">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US" l10n="E">
+<image id="img_id3143267" src="cmd/sc_basicstepover.png" width="0.222inch" height="0.222inch"><alt id="alt_id3143267" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154307" xml-lang="en-US" l10n="U" oldref="3">Procedure Step</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3153562" xml-lang="en-US" l10n="CHG" oldref="6"><link href="text/sbasic/shared/02/11050000.xhp" name="Single Step function">Single Step function</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11070000.xhp b/source/text/sbasic/shared/02/11070000.xhp
new file mode 100644
index 0000000000..af1abb8deb
--- /dev/null
+++ b/source/text/sbasic/shared/02/11070000.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211070000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Breakpoint</title>
+<filename>/text/sbasic/shared/02/11070000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="haltepunkt">
+<bookmark xml-lang="en-US" branch="hid/.uno:ToggleBreakPoint" id="bm_id2767094" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:ToggleBreakPoint" id="bm_id3159224" localize="false"/><paragraph role="heading" id="hd_id3154863" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11070000.xhp" name="Breakpoint">Breakpoint</link></paragraph>
+<paragraph role="paragraph" id="par_id3155364" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:ToggleBreakPoint">Inserts a breakpoint in the program line.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="4">The breakpoint is inserted at the cursor position. Use a breakpoint to interrupt a program just before an error occurs. You can then troubleshoot the program by running it in <link href="text/sbasic/shared/02/11050000.xhp" name="Single Step">Single Step</link> mode until the error occurs. You can also use the <link href="text/sbasic/shared/02/11080000.xhp" name="Watch">Watch</link> icon to check the content of the relevant variables.</paragraph>
+<section id="syhaltepunkt">
+<table id="tbl_id3149095">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156346" xml-lang="en-US" l10n="E">
+<image id="img_id3152780" src="cmd/sc_togglebreakpoint.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3152780" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149416" xml-lang="en-US" l10n="U" oldref="3">Breakpoint</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11080000.xhp b/source/text/sbasic/shared/02/11080000.xhp
new file mode 100644
index 0000000000..9f02a45d9b
--- /dev/null
+++ b/source/text/sbasic/shared/02/11080000.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211080000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Enable Watch</title>
+<filename>/text/sbasic/shared/02/11080000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T12:13:33">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="beobachter">
+<bookmark xml-lang="en-US" branch="hid/.uno:AddWatch" id="bm_id7891299" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:AddWatch" id="bm_id3157898" localize="false"/>
+<paragraph role="heading" id="hd_id3154863" xml-lang="en-US" level="1" l10n="CHG" oldref="1"><link href="text/sbasic/shared/02/11080000.xhp" name="Enable Watch">Enable Watch</link></paragraph>
+<paragraph role="paragraph" id="par_id3093440" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:AddWatch">Click this icon to view the variables in a macro. The contents of the variable are displayed in a separate window.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147399" xml-lang="en-US" l10n="CHG" oldref="6">Click the name of a variable to select it, then click the <emph>Enable Watch</emph> icon. The value that is assigned to the variable is displayed next to its name. This value is constantly updated.</paragraph>
+<section id="sybeobachter">
+<table id="tbl_id3143267">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155892" xml-lang="en-US" l10n="E">
+<image id="img_id3147209" src="cmd/sc_addwatch.png" width="0.222inch" height="0.222inch"><alt id="alt_id3147209" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150276" xml-lang="en-US" l10n="CHG" oldref="3">Enable Watch</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<paragraph role="paragraph" id="par_id3159158" xml-lang="en-US" l10n="CHG" oldref="4">To remove the variable watch, select the variable in the Watch window, and then click on the <emph>Remove Watch</emph> icon.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11090000.xhp b/source/text/sbasic/shared/02/11090000.xhp
new file mode 100644
index 0000000000..383bb6d60b
--- /dev/null
+++ b/source/text/sbasic/shared/02/11090000.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211090000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Object Catalog</title>
+<filename>/text/sbasic/shared/02/11090000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-10-11T13:23:02">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="okatalog">
+<bookmark xml-lang="en-US" branch="hid/.uno:ObjectCatalog" id="bm_id8689372" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:ObjectCatalog" id="bm_id3157898" localize="false"/>
+<paragraph role="heading" id="hd_id3153255" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11090000.xhp" name="Object Catalog">Object Catalog</link></paragraph>
+<paragraph role="paragraph" id="par_id3151384" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:ObjectCatalog">Opens the <emph>Objects</emph> dialog, where you can view Basic objects.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US" l10n="U" oldref="15">Double click the name of a function or sub to load the module that contains that function or sub, and to position the cursor. Click the name of a module or dialog and then click the <emph>Show</emph> icon to load and display that module or dialog.</paragraph>
+<section id="syobjektkatalog">
+<table id="tbl_id3155892">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="E">
+<image id="img_id3163803" src="cmd/sc_objectcatalog.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3163803" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154515" xml-lang="en-US" l10n="U" oldref="3">Object Catalog</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_OBJCAT_SHOW" id="bm_id3153541" localize="false"/>
+<paragraph role="heading" id="hd_id3155388" xml-lang="en-US" level="2" l10n="U" oldref="4">Show</paragraph>
+<paragraph role="paragraph" id="par_id3155630" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="HID_BASICIDE_OBJCAT_SHOW">Display the source text or dialog of a selected object.</ahelp></paragraph>
+<table id="tbl_id3148685">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="E">
+<image id="img_id3148474" src="basctl/res/im01.png" width="0.222inch" height="0.222inch"><alt id="alt_id3148474" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">Show</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/BASCTL_HID_BASICIDE_OBJECTCAT" id="bm_id3148664" localize="false"/>
+<paragraph role="heading" id="hd_id3146794" xml-lang="en-US" level="2" l10n="U" oldref="13">Window Area</paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="14"><ahelp hid="HID_BASICIDE_OBJECTCAT">Displays a hierarchical view of the current $[officename] macro libraries, modules, and dialogs. To display the contents of an item in the window, double-click its name or select the name and click the <emph>Show</emph> icon.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11100000.xhp b/source/text/sbasic/shared/02/11100000.xhp
new file mode 100644
index 0000000000..6ce49c75a2
--- /dev/null
+++ b/source/text/sbasic/shared/02/11100000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211100000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Macros</title>
+<filename>/text/sbasic/shared/02/11100000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="makros">
+ <bookmark xml-lang="en-US" branch="hid/.uno:ChooseMacro" id="bm_id4112927" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:ChooseMacro" xml-lang="en-US" id="bm_id3155364"/><paragraph id="hd_id3156183" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11100000.xhp" name="Macros">Macros</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147399" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ChooseMacro">Opens the <emph>Macro</emph> dialog.</ahelp></paragraph>
+ </section>
+ <section id="symakros">
+ <table id="tbl_id3146957">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148538" xml-lang="en-US" oldref=""><image src="cmd/sc_choosemacro.png" id="img_id3153662"><alt xml-lang="en-US" id="alt_id3153662">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153542" l10n="U" xml-lang="en-US" oldref="3">Macros</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11110000.xhp b/source/text/sbasic/shared/02/11110000.xhp
new file mode 100644
index 0000000000..c8262cbd13
--- /dev/null
+++ b/source/text/sbasic/shared/02/11110000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211110000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Modules</title>
+<filename>/text/sbasic/shared/02/11110000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="module">
+ <bookmark xml-lang="en-US" branch="hid/.uno:ModuleDialog" id="bm_id1441583" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:ModuleDialog" xml-lang="en-US" id="bm_id3157898"/><paragraph id="hd_id3148520" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11110000.xhp" name="Modules">Modules</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156414" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ModuleDialog">Click here to open the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro Organizer"><emph>Macro Organizer</emph></link> dialog.</ahelp></paragraph>
+ </section>
+ <section id="symodule">
+ <table id="tbl_id3153311">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3157958" xml-lang="en-US" oldref=""><image src="cmd/sc_moduledialog.png" id="img_id3155535"><alt xml-lang="en-US" id="alt_id3155535">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145383" l10n="U" xml-lang="en-US" oldref="3">Modules</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11120000.xhp b/source/text/sbasic/shared/02/11120000.xhp
new file mode 100644
index 0000000000..3d9b8f5583
--- /dev/null
+++ b/source/text/sbasic/shared/02/11120000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211120000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Find Parentheses</title>
+<filename>/text/sbasic/shared/02/11120000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="klammer">
+ <bookmark xml-lang="en-US" branch="hid/.uno:MatchGroup" id="bm_id4424859" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:MatchGroup" xml-lang="en-US" id="bm_id3148520"/><paragraph id="hd_id3149497" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11120000.xhp" name="Find Parentheses">Find Parentheses</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155150" xml-lang="en-US" oldref="2"><ahelp hid=".uno:MatchGroup" visibility="visible">Highlights the text that is enclosed by two corresponding brackets. Place the text cursor in front of an opening or closing bracket, and then click this icon.</ahelp></paragraph>
+ </section>
+ <section id="syklammer">
+ <table id="tbl_id3147226">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149182" xml-lang="en-US" oldref=""><image src="cmd/sc_matchgroup.png" id="img_id3155892"><alt xml-lang="en-US" id="alt_id3155892">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147276" l10n="U" xml-lang="en-US" oldref="3">Find Parentheses</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11140000.xhp b/source/text/sbasic/shared/02/11140000.xhp
new file mode 100644
index 0000000000..b760f60095
--- /dev/null
+++ b/source/text/sbasic/shared/02/11140000.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211140000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Insert Source Text</title>
+<filename>/text/sbasic/shared/02/11140000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T12:10:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="laden">
+<bookmark xml-lang="en-US" branch="hid/.uno:LoadBasic" id="bm_id7976858" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:LoadBasic" id="bm_id3147446" localize="false"/>
+<paragraph role="heading" id="hd_id3154044" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11140000.xhp" name="Insert Source Text">Insert Source Text</link></paragraph>
+<paragraph role="paragraph" id="par_id3150702" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:LoadBasic">Opens the Basic source text in the Basic IDE window.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150445" xml-lang="en-US" l10n="U" oldref="3">Place the cursor in the code where you want to insert the source text, and then click the <emph>Insert source text</emph> icon. Locate the file that contains the Basic source text that you want to insert, and then click <emph>Open</emph>.</paragraph>
+<section id="syladen">
+<table id="tbl_id3150247">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="E">
+<image id="img_id3147571" src="cmd/sc_loadbasic.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3147571" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145346" xml-lang="en-US" l10n="U" oldref="4">Insert source text</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11150000.xhp b/source/text/sbasic/shared/02/11150000.xhp
new file mode 100644
index 0000000000..c98704486f
--- /dev/null
+++ b/source/text/sbasic/shared/02/11150000.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211150000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Save Source As</title>
+<filename>/text/sbasic/shared/02/11150000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T12:06:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="speichern">
+<bookmark xml-lang="en-US" branch="hid/.uno:SaveBasicAs" id="bm_id4562232" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:SaveBasicAs" id="bm_id3155150" localize="false"/>
+<paragraph role="heading" id="hd_id3149497" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11150000.xhp" name="Save Source As">Save Source As</link></paragraph>
+<paragraph role="paragraph" id="par_id3147261" xml-lang="en-US" l10n="U" oldref="3"><ahelp hid=".uno:SaveBasicAs">Saves the source code of the selected Basic macro.</ahelp></paragraph>
+</section>
+<section id="syspeichern">
+<table id="tbl_id3155555">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145071" xml-lang="en-US" l10n="E">
+<image id="img_id3149182" src="cmd/sc_savebasicas.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149182" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US" l10n="U" oldref="2">Save Source As</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11160000.xhp b/source/text/sbasic/shared/02/11160000.xhp
new file mode 100644
index 0000000000..83a718358a
--- /dev/null
+++ b/source/text/sbasic/shared/02/11160000.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211160000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Step Out</title>
+<filename>/text/sbasic/shared/02/11160000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ruecksprung">
+ <bookmark xml-lang="en-US" branch="hid/.uno:BasicStepOut" id="bm_id6128534" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:BasicStepOut" xml-lang="en-US" id="bm_id3153089"/><paragraph id="hd_id3148983" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11160000.xhp" name="Step Out">Step Out</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3157898" xml-lang="en-US" oldref="2"><ahelp hid=".uno:BasicStepOut" visibility="visible">Jumps back to the previous routine in the current macro.</ahelp></paragraph>
+ </section>
+ <section id="syruecksprung">
+ <table id="tbl_id3147226">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156410" xml-lang="en-US" oldref=""><image src="cmd/sc_basicstepout.png" id="img_id3159233"><alt xml-lang="en-US" id="alt_id3159233">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3158421" l10n="U" xml-lang="en-US" oldref="3">Step Out</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/11170000.xhp b/source/text/sbasic/shared/02/11170000.xhp
new file mode 100644
index 0000000000..e7437ab997
--- /dev/null
+++ b/source/text/sbasic/shared/02/11170000.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared0211170000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Manage Breakpoints</title>
+ <filename>/text/sbasic/shared/02/11170000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="manage_breakpoints">
+<bookmark xml-lang="en-US" branch="hid/.uno:ManageBreakPoints" id="bm_id0929200903013963" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156183" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11170000.xhp" name="Manage Breakpoints">Manage Breakpoints</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152363" role="paragraph" l10n="U" oldref="2"><ahelp hid=".">Calls a dialog to manage breakpoints.</ahelp></paragraph>
+ </section>
+ <section id="sybreakpoints">
+ <table id="tbl_id3153750">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3143267" role="paragraph" l10n="E">
+<image id="img_id3155339" src="cmd/sc_managebreakpoints.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3155339">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145383" role="paragraph" l10n="U" oldref="3">Manage Breakpoints</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </section>
+ <section id="relatedtopics">
+ <paragraph xml-lang="en-US" id="par_id3154897" role="paragraph" l10n="U" oldref="4"><link href="text/sbasic/shared/01050300.xhp" name="Manage Breakpoints dialog"><emph>Manage Breakpoints</emph> dialog</link></paragraph>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/02/11180000.xhp b/source/text/sbasic/shared/02/11180000.xhp
new file mode 100644
index 0000000000..878cde459c
--- /dev/null
+++ b/source/text/sbasic/shared/02/11180000.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared0211180000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Import Dialog</title>
+ <filename>/text/sbasic/shared/02/11180000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="import">
+<bookmark xml-lang="en-US" branch="hid/.uno:ImportDialog" id="bm_id092920903013963" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156183" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11180000.xhp" name="Import Dialog">Import Dialog</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152363" role="paragraph" l10n="U" oldref="2"><ahelp hid=".">Calls an "Open" dialog to import a BASIC dialog file.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id0929200903505211" role="paragraph" l10n="NEW">If the imported dialog has a name that already exists in the library, you see a message box where you can decide to rename the imported dialog. In this case the dialog will be renamed to the next free "automatic" name like when creating a new dialog. Or you can replace the existing dialog by the imported dialog. If you click Cancel the dialog is not imported.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0929200903505360" role="paragraph" l10n="NEW">Dialogs can contain localization data. When importing a dialog, a mismatch of the dialogs' localization status can occur.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0929200903505320" role="paragraph" l10n="NEW">If the library contains additional languages compared to the imported dialog, or if the imported dialog is not localized at all, then the additional languages will silently be added to the imported dialog using the strings of the dialog's default locale.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0929200903505383" role="paragraph" l10n="NEW">If the imported dialog contains additional languages compared to the library, or if the library is not localized at all, then you see a message box with Add, Omit, and Cancel buttons.</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id0929200903505340" role="paragraph" l10n="NEW">Add: The additional languages from the imported dialog will be added to the already existing dialog. The resources from the library's default language will be used for the new languages. This is the same as if you add these languages manually.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id0929200903505367" role="paragraph" l10n="NEW">Omit: The library's language settings will stay unchanged. The imported dialog's resources for the omitted languages are not copied into the library, but they remain in the imported dialog's source files.</paragraph>
+ </listitem>
+ </list>
+ </section>
+ <section id="syimport">
+ <table id="tbl_id3153750">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3143267" role="paragraph" l10n="E">
+<image id="img_id3155339" src="cmd/sc_importdialog.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3155339">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145383" role="paragraph" l10n="U" oldref="3">Import Dialog</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/02/11190000.xhp b/source/text/sbasic/shared/02/11190000.xhp
new file mode 100644
index 0000000000..db89f6a64e
--- /dev/null
+++ b/source/text/sbasic/shared/02/11190000.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared0211190000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Export Dialog</title>
+ <filename>/text/sbasic/shared/02/11190000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="export">
+<bookmark xml-lang="en-US" branch="hid/.uno:ExportDialog" id="bm_id099200903013963" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156183" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/02/11190000.xhp" name="Export Dialog">Export Dialog</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152363" role="paragraph" l10n="U" oldref="2"><ahelp hid=".">In the dialog editor, this command calls a "Save as" dialog to export the current BASIC dialog.</ahelp></paragraph>
+ </section>
+ <section id="syexport">
+ <table id="tbl_id3153750">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3143267" role="paragraph" l10n="E">
+<image id="img_id3155339" src="cmd/sc_exportdialog.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3155339">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145383" role="paragraph" l10n="U" oldref="3">Export Dialog</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/02/20000000.xhp b/source/text/sbasic/shared/02/20000000.xhp
new file mode 100644
index 0000000000..0b03ba2195
--- /dev/null
+++ b/source/text/sbasic/shared/02/20000000.xhp
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0220000000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Insert Controls</title>
+<filename>/text/sbasic/shared/02/20000000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="kontrollfelder">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150402"><bookmark_value>controls; in dialog editor</bookmark_value>
+<bookmark_value>push button control in dialog editor</bookmark_value>
+<bookmark_value>icon control</bookmark_value>
+<bookmark_value>buttons; controls</bookmark_value>
+<bookmark_value>image control</bookmark_value>
+<bookmark_value>check box control</bookmark_value>
+<bookmark_value>radio button control</bookmark_value>
+<bookmark_value>option button control</bookmark_value>
+<bookmark_value>fixed text control</bookmark_value>
+<bookmark_value>label field control</bookmark_value>
+<bookmark_value>editing; controls</bookmark_value>
+<bookmark_value>text boxes; controls</bookmark_value>
+<bookmark_value>list boxes; controls</bookmark_value>
+<bookmark_value>combo box control</bookmark_value>
+<bookmark_value>scroll bar control</bookmark_value>
+<bookmark_value>horizontal scrollbar control</bookmark_value>
+<bookmark_value>vertical scrollbar control</bookmark_value>
+<bookmark_value>group box control</bookmark_value>
+<bookmark_value>progress bar control</bookmark_value>
+<bookmark_value>fixed line control</bookmark_value>
+<bookmark_value>horizontal line control</bookmark_value>
+<bookmark_value>line control</bookmark_value>
+<bookmark_value>vertical line control</bookmark_value>
+<bookmark_value>date field control</bookmark_value>
+<bookmark_value>time field control</bookmark_value>
+<bookmark_value>numerical field control</bookmark_value>
+<bookmark_value>currency field control</bookmark_value>
+<bookmark_value>formatted field control</bookmark_value>
+<bookmark_value>pattern field control</bookmark_value>
+<bookmark_value>masked field control</bookmark_value>
+<bookmark_value>file selection control</bookmark_value>
+<bookmark_value>selection options for controls</bookmark_value>
+<bookmark_value>test mode control</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:ChooseControls" id="bm_id393577" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:ChooseControls" id="bm_id3143206" localize="false"/><paragraph role="heading" id="hd_id3150402" xml-lang="en-US" level="1" l10n="CHG" oldref="1"><link href="text/sbasic/shared/02/20000000.xhp" name="Insert Controls">Insert Controls</link></paragraph>
+<paragraph role="paragraph" id="par_id3147000" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".uno:ChooseControls">Opens the <emph>Toolbox</emph> bar.</ahelp></paragraph></section>
+<section id="sykontrollfelder">
+<table id="tbl_id3153539">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="E">
+<image id="img_id3147571" src="cmd/sc_choosecontrols.png" width="0.222inch" height="0.222inch"><alt id="alt_id3147571" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153749" xml-lang="en-US" l10n="CHG" oldref="3">Insert Controls</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3157958" xml-lang="en-US" l10n="U" oldref="5">In edit mode, double-click a control to open the <link href="text/sbasic/shared/01170100.xhp" name="properties dialog">properties dialog</link>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="6">In edit mode, you can also right-click a control and choose the cut, copy, and paste command.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertPushbutton" id="bm_id6674092" localize="false"/><paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="7">Button</paragraph>
+<table id="tbl_id3155628">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153824" xml-lang="en-US" l10n="E">
+<image id="img_id3157909" src="cmd/sc_insertpushbutton.png" width="0.222inch" height="0.222inch"><alt id="alt_id3157909" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid=".uno:InsertPushbutton">Adds a command button.</ahelp> You can use a command button to execute a command for a defined event, such as a mouse click.</paragraph>
+<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US" l10n="U" oldref="9">If you want, you can add text or a graphic to the button.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3148550" xml-lang="en-US" level="2" l10n="U" oldref="10">Image Control</paragraph>
+<table id="tbl_id3150541">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="E">
+<image id="img_id3144760" src="cmd/sc_objectcatalog.png" width="0.222inch" height="0.222inch"><alt id="alt_id3144760" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid=".uno:InsertImageControl">Adds a control that displays a graphic.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="12">Check Box</paragraph>
+<table id="tbl_id3145607">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US" l10n="E">
+<image id="img_id3150439" src="cmd/sc_checkbox.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3150439" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid=".uno:Checkbox">Adds a check box that you can use to turn a function on or off.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3150486" xml-lang="en-US" level="2" l10n="U" oldref="14">Option Button</paragraph>
+<table id="tbl_id3151118">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US" l10n="E">
+<image id="img_id3146921" src="cmd/sc_radiobutton.png" width="0.222inch" height="0.222inch"><alt id="alt_id3146921" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153575" xml-lang="en-US" l10n="U" oldref="15"><ahelp hid=".uno:Radiobutton">Adds a button that allows a user to select from a number of options.</ahelp> Grouped option buttons must have consecutive tab indices. They are commonly encircled by a group box. If you have two groups of option buttons, you must insert a tab index between the tab indices of the two groups on the group frame.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154729" xml-lang="en-US" level="2" l10n="U" oldref="16">Label Field</paragraph>
+<table id="tbl_id3149417">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149300" xml-lang="en-US" l10n="E">
+<image id="img_id3153415" src="cmd/sc_insertfixedtext.png" width="0.0874inch" height="0.0874inch"><alt id="alt_id3153415" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156181" xml-lang="en-US" l10n="U" oldref="17"><ahelp hid=".uno:InsertFixedText">Adds a field for displaying text labels.</ahelp> These labels are only for displaying predefined text, and not for entering text.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3149123" xml-lang="en-US" level="2" l10n="U" oldref="18">Text Box</paragraph>
+<table id="tbl_id3156278">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153766" xml-lang="en-US" l10n="E">
+<image id="img_id3148996" src="cmd/sc_edit.png" width="0.0874inch" height="0.0874inch"><alt id="alt_id3148996" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153712" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid=".uno:InsertEdit">Adds an input box where you can enter and edit text.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154253" xml-lang="en-US" level="2" l10n="U" oldref="20">List Box</paragraph>
+<table id="tbl_id3149565">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="E">
+<image id="img_id3163808" src="cmd/sc_listbox.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3163808" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155176" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid=".uno:InsertListbox">Adds a box where you can click an entry on a list.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3150644" xml-lang="en-US" level="2" l10n="U" oldref="22">Combo Box</paragraph>
+<table id="tbl_id3155606">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148418" xml-lang="en-US" l10n="E">
+<image id="img_id3153200" src="cmd/sc_combobox.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3153200" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154199" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid=".uno:Combobox">Adds a combo box. A combo box is a one line list box that a user can click, and then choose an entry from the list.</ahelp> If you want, you can make the entries in the combo box "read only".</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154585" xml-lang="en-US" level="2" l10n="U" oldref="24">Horizontal Scrollbar</paragraph>
+<table id="tbl_id3152580">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153781" xml-lang="en-US" l10n="E">
+<image id="img_id3149530" src="cmd/sc_hscrollbar.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149530" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153232" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid=".uno:HScrollbar">Adds a horizontal scrollbar to the dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154119" xml-lang="en-US" level="2" l10n="U" oldref="26">Vertical Scrollbar</paragraph>
+<table id="tbl_id3145132">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150515" xml-lang="en-US" l10n="E">
+<image id="img_id3150203" src="cmd/sc_vscrollbar.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3150203" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155376" xml-lang="en-US" l10n="U" oldref="27"><ahelp hid=".uno:VScrollbar">Adds a vertical scrollbar to the dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3150313" xml-lang="en-US" level="2" l10n="U" oldref="28">Group Box</paragraph>
+<table id="tbl_id3154261">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151184" xml-lang="en-US" l10n="E">
+<image id="img_id3151335" src="cmd/sc_groupbox.png" width="0.222inch" height="0.222inch"><alt id="alt_id3151335" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159622" xml-lang="en-US" l10n="U" oldref="29"><ahelp hid=".uno:Groupbox">Adds a frame that you can use to visually group similar controls, such as option buttons.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="note" id="par_id3148820" xml-lang="en-US" l10n="U" oldref="30">To define two different groups of option buttons, ensure that the tab index of the group frame is between the tab indices of the two groups.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:ProgressBar" id="bm_id9634998" localize="false"/><paragraph role="heading" id="hd_id3149330" xml-lang="en-US" level="2" l10n="U" oldref="31">Progress Bar</paragraph>
+<table id="tbl_id3148606">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159093" xml-lang="en-US" l10n="E">
+<image id="img_id3150318" src="cmd/sc_progressbar.png" width="0.222inch" height="0.222inch"><alt id="alt_id3150318" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3157979" xml-lang="en-US" l10n="U" oldref="32"><ahelp hid=".uno:ProgressBar">Adds a progress bar to the dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3145654" xml-lang="en-US" level="2" l10n="U" oldref="33">Horizontal Line</paragraph>
+<table id="tbl_id3154596">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150888" xml-lang="en-US" l10n="E">
+<image id="img_id3152872" src="cmd/sc_hfixedline.png" width="0.2201inch" height="0.2201inch"><alt id="alt_id3152872" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151000" xml-lang="en-US" l10n="U" oldref="34"><ahelp hid=".uno:HFixedLine">Adds a horizontal line to the dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3155095" xml-lang="en-US" level="2" l10n="U" oldref="35">Vertical Line</paragraph>
+<table id="tbl_id3148970">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154913" xml-lang="en-US" l10n="E">
+<image id="img_id3153249" src="cmd/sc_vfixedline.png" width="0.222inch" height="0.222inch"><alt id="alt_id3153249" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159203" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid=".uno:VFixedLine">Adds a vertical line to the dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154540" xml-lang="en-US" level="2" l10n="U" oldref="37">Date Field</paragraph>
+<table id="tbl_id3154649">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148901" xml-lang="en-US" l10n="E">
+<image id="img_id3151010" src="cmd/sc_adddatefield.png" width="0.222inch" height="0.222inch"><alt id="alt_id3151010" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154214" xml-lang="en-US" l10n="U" oldref="38"><ahelp hid=".uno:AddDateField">Adds a date field.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="paragraph" id="par_id3150046" xml-lang="en-US" l10n="U" oldref="39">If you assign the "dropdown" property to the date field, a user can drop down a calendar to select a date.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertTimeField" id="bm_id2991424" localize="false"/><paragraph role="heading" id="hd_id3151126" xml-lang="en-US" level="2" l10n="U" oldref="40">Time Field</paragraph>
+<table id="tbl_id3147514">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154338" xml-lang="en-US" l10n="E">
+<image id="img_id3147077" src="cmd/sc_timefield.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3147077" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151191" xml-lang="en-US" l10n="U" oldref="41"><ahelp hid="SID_INSERT_TIMEFIELD">Adds a time field.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154733" xml-lang="en-US" level="2" l10n="U" oldref="42">Numeric Field</paragraph>
+<table id="tbl_id3156367">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146107" xml-lang="en-US" l10n="E">
+<image id="img_id3147499" src="cmd/sc_insertnumericfield.png" width="0.0874inch" height="0.0874inch"><alt id="alt_id3147499" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147244" xml-lang="en-US" l10n="U" oldref="43"><ahelp hid=".uno:InsertNumericField">Adds a numeric field.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3149870" xml-lang="en-US" level="2" l10n="U" oldref="44">Currency Field</paragraph>
+<table id="tbl_id3153335">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153958" xml-lang="en-US" l10n="E">
+<image id="img_id3150435" src="cmd/sc_currencyfield.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3150435" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154064" xml-lang="en-US" l10n="U" oldref="45"><ahelp hid=".uno:InsertCurrencyField">Adds a currency field.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3150117" xml-lang="en-US" level="2" l10n="U" oldref="46">Formatted Field</paragraph>
+<table id="tbl_id3151361">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153162" xml-lang="en-US" l10n="E">
+<image id="img_id3152807" src="cmd/sc_formattedfield.png" width="0.222inch" height="0.222inch"><alt id="alt_id3152807" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146320" xml-lang="en-US" l10n="U" oldref="47"><ahelp hid=".uno:InsertFormattedField">Adds a text box where you can define the formatting for text that is inputted or outputted as well as any limiting values.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3156160" xml-lang="en-US" level="2" l10n="U" oldref="48">Pattern Field</paragraph>
+<table id="tbl_id3151174">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150379" xml-lang="en-US" l10n="E">
+<image id="img_id3150032" src="cmd/sc_insertpatternfield.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3150032" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147382" xml-lang="en-US" l10n="CHG" oldref="49"><ahelp hid=".uno:InsertPatternField">Adds a masked field.</ahelp> A masked field consists of an input mask and a literal mask. The input mask determines which user data can be entered. The literal mask determines the state of the masked field when the form is loaded.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3146815" xml-lang="en-US" level="2" l10n="U" oldref="50">File Selection</paragraph>
+<table id="tbl_id3149914">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149194" xml-lang="en-US" l10n="E">
+<image id="img_id3149101" src="cmd/sc_filecontrol.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149101" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145632" xml-lang="en-US" l10n="CHG" oldref="51"><ahelp hid=".uno:InsertFileControl">Adds a button that opens a file selection dialog.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3155912" xml-lang="en-US" level="2" l10n="U" oldref="52">Select</paragraph>
+<table id="tbl_id3157966">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154903" xml-lang="en-US" l10n="E">
+<image id="img_id3150653" src="cmd/sc_drawselect.png" width="0.222inch" height="0.222inch"><alt id="alt_id3150653" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148465" xml-lang="en-US" l10n="U" oldref="53"><ahelp hid=".">Activates or deactivates the Selection mode. In this mode, you can select the controls in a dialog so that you can edit them.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3154055" xml-lang="en-US" level="2" l10n="U" oldref="54">Properties</paragraph>
+<table id="tbl_id3156148">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148725" xml-lang="en-US" l10n="E">
+<image id="img_id3146874" src="cmd/sc_controlproperties.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3146874" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151105" xml-lang="en-US" l10n="U" oldref="55"><ahelp hid=".uno:ShowPropBrowser">Opens a dialog where you can edit the <link href="text/sbasic/shared/01170100.xhp" name="properties">properties</link> of the selected control.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<paragraph role="heading" id="hd_id3153746" xml-lang="en-US" level="2" l10n="U" oldref="56">Activate Test Mode</paragraph>
+<table id="tbl_id3149435">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147417" xml-lang="en-US" l10n="E">
+<image id="img_id3148883" src="cmd/sc_testmode.png" width="0.222inch" height="0.222inch"><alt id="alt_id3148883" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150699" xml-lang="en-US" l10n="CHG" oldref="57"><ahelp hid=".uno:TestMode">Starts test mode. Click the dialog closer icon to end test mode.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<bookmark xml-lang="en-US" branch="hid/.uno:ManageLanguage" id="bm_id5874813" localize="false"/><paragraph role="heading" id="hd_id2954191" xml-lang="en-US" level="2" l10n="NEW">Manage Language</paragraph>
+<table id="">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id2320017" xml-lang="en-US" l10n="NEW">
+<image id="img_id2856837" src="cmd/sc_managelanguage.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id2856837" xml-lang="en-US">Manage Language icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id1261940" xml-lang="en-US" l10n="NEW"><ahelp hid=".uno:ManageLanguage">Opens a <link href="text/sbasic/guide/translation.xhp">dialog</link> to enable or manage multiple sets of dialog resources for multiple languages.</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertTreeControl" id="bm_id1552781" localize="false"/><paragraph role="heading" id="hd_id11902" xml-lang="en-US" level="2" l10n="NEW">Tree Control</paragraph>
+<table id="">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id7511520" xml-lang="en-US" l10n="NEW">
+<image id="Graphic2" src="cmd/sc_inserttreecontrol.png" width="0.1665inch" height="0.1665inch"><alt id="alt_" xml-lang="en-US">Manage Language icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id9961851" xml-lang="en-US" l10n="NEW"><ahelp hid=".">Adds a tree control that can show a hierarchical list. You can populate the list by your program, using API calls (XtreeControl).</ahelp></paragraph>
+</tablecell>
+</tablerow>
+</table></body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/02/makefile.mk b/source/text/sbasic/shared/02/makefile.mk
new file mode 100644
index 0000000000..28fa37d1fa
--- /dev/null
+++ b/source/text/sbasic/shared/02/makefile.mk
@@ -0,0 +1,70 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/sbasic/shared/02
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_sbasic_shared_02
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ 11010000.xhp \
+ 11020000.xhp \
+ 11030000.xhp \
+ 11040000.xhp \
+ 11050000.xhp \
+ 11060000.xhp \
+ 11070000.xhp \
+ 11080000.xhp \
+ 11090000.xhp \
+ 11100000.xhp \
+ 11110000.xhp \
+ 11120000.xhp \
+ 11140000.xhp \
+ 11150000.xhp \
+ 11160000.xhp \
+ 11170000.xhp \
+ 11180000.xhp \
+ 11190000.xhp \
+ 20000000.xhp
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
diff --git a/source/text/sbasic/shared/03000000.xhp b/source/text/sbasic/shared/03000000.xhp
new file mode 100644
index 0000000000..c711057ae5
--- /dev/null
+++ b/source/text/sbasic/shared/03000000.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03000000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Run-Time Functions</title>
+<filename>/text/sbasic/shared/03000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="runtime">
+ <paragraph id="hd_id3152895" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><variable id="doc_title"><link href="text/sbasic/shared/03000000.xhp" name="Run-Time Functions">Run-Time Functions</link></variable></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3148983" l10n="U" oldref="2">This section describes the Runtime Functions of <item type="productname">%PRODUCTNAME</item> Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010000.xhp#bildschirmeinaus"/>
+ <embed href="text/sbasic/shared/03020000.xhp#dateieinaus"/>
+ <embed href="text/sbasic/shared/03030000.xhp#datumzeit"/>
+ <embed href="text/sbasic/shared/03050000.xhp#fehlerbehan"/>
+ <embed href="text/sbasic/shared/03060000.xhp#logi"/>
+ <embed href="text/sbasic/shared/03070000.xhp#mathe"/>
+ <embed href="text/sbasic/shared/03080000.xhp#nummer"/>
+ <embed href="text/sbasic/shared/03090000.xhp#programmablauf"/>
+ <embed href="text/sbasic/shared/03100000.xhp#variablen"/>
+ <embed href="text/sbasic/shared/03110000.xhp#vergleich"/>
+ <embed href="text/sbasic/shared/03120000.xhp#zeichen"/>
+ <embed href="text/sbasic/shared/03130000.xhp#sonstige"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010000.xhp b/source/text/sbasic/shared/03010000.xhp
new file mode 100644
index 0000000000..3933cc1127
--- /dev/null
+++ b/source/text/sbasic/shared/03010000.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Screen I/O Functions</title>
+<filename>/text/sbasic/shared/03010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="bildschirmeinaus">
+ <paragraph id="hd_id3156280" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010000.xhp" name="Screen I/O Functions">Screen I/O Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="2">This section describes the Runtime Functions used to call dialogs for the input and output of user entries.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010100.xhp#ausgabe"/>
+ <embed href="text/sbasic/shared/03010200.xhp#eingabe"/>
+ <embed href="text/sbasic/shared/03010300.xhp#farbe"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010100.xhp b/source/text/sbasic/shared/03010100.xhp
new file mode 100644
index 0000000000..7576321a2d
--- /dev/null
+++ b/source/text/sbasic/shared/03010100.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Display Functions</title>
+<filename>/text/sbasic/shared/03010100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ausgabe">
+ <paragraph id="hd_id3151384" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010100.xhp" name="Display Functions">Display Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149346" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to output information to the screen display.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010101.xhp#msgbox"/>
+ <embed href="text/sbasic/shared/03010102.xhp#msgbox"/>
+ <embed href="text/sbasic/shared/03010103.xhp#print"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010101.xhp b/source/text/sbasic/shared/03010101.xhp
new file mode 100644
index 0000000000..ea55124c10
--- /dev/null
+++ b/source/text/sbasic/shared/03010101.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03010101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-09-13T11:32:41">converted from old format - fpe
+dedr: fixed #i30425#</lastedited>
+</history>
+</meta>
+<body>
+<section id="msgbox">
+<bookmark xml-lang="en-US" branch="index" id="bm_id1807916"><bookmark_value>MsgBox statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="4">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="7">
+<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
+<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="9">0 : Display OK button only.</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="10">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="CHG" oldref="11">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12">3 : Display Yes, No and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">4 : Display Yes and No buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="14">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="16">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17">48 : Add the Exclamation icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3149960" xml-lang="en-US" l10n="U" oldref="18">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="19">128 : First button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="20">256 : Second button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="21">512 : Third button in the dialog as default button.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150715" xml-lang="en-US" level="2" l10n="U" oldref="22">Example:</paragraph>
+<paragraph role="code" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="23">Sub ExampleMsgBox</paragraph>
+<paragraph role="code" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="24">Const sText1 = "An unexpected error occurred."</paragraph>
+<paragraph role="code" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="25">Const sText2 = "The program execution will continue, however."</paragraph>
+<paragraph role="code" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="26">Const sText3 = "Error"</paragraph>
+<paragraph role="code" id="par_id3155445" xml-lang="en-US" l10n="U" oldref="27">MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
+<paragraph role="code" id="par_id3155768" xml-lang="en-US" l10n="U" oldref="28">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010102.xhp b/source/text/sbasic/shared/03010102.xhp
new file mode 100644
index 0000000000..1fb2282ed9
--- /dev/null
+++ b/source/text/sbasic/shared/03010102.xhp
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">MsgBox Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-09-13T11:33:09">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="msgbox">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153379"><bookmark_value>MsgBox function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message and returns a value.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156281" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
+<paragraph role="heading" id="hd_id3153771" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3153363" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the name of the respective application is displayed.</paragraph>
+<paragraph role="paragraph" id="par_id3153954" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Type</emph>: Any integer expression that specifies the dialog type and defines the number and type of buttons or icons displayed. <emph>Type</emph> represents a combination of bit patterns (dialog elements defined by adding the respective values):</paragraph>
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Values</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="12">0 : Display OK button only.</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="13">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3149410" xml-lang="en-US" l10n="CHG" oldref="14">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="U" oldref="15">3 : Display Yes, No, and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="16">4 : Display Yes and No buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="17">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3153837" xml-lang="en-US" l10n="U" oldref="19">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3150751" xml-lang="en-US" l10n="U" oldref="20">48 : Add the Exclamation Point icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3146915" xml-lang="en-US" l10n="U" oldref="21">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="22">128 : First button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="23">256 : Second button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3153715" xml-lang="en-US" l10n="U" oldref="24">512 : Third button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US" l10n="U" oldref="25">
+<emph>Return value:</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3145230" xml-lang="en-US" l10n="U" oldref="26">1 : OK</paragraph>
+<paragraph role="paragraph" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="27">2 : Cancel</paragraph>
+<paragraph role="paragraph" id="par_id4056825" xml-lang="en-US" l10n="NEW">3 : Abort</paragraph>
+<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="28">4 : Retry</paragraph>
+<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US" l10n="U" oldref="29">5 : Ignore</paragraph>
+<paragraph role="paragraph" id="par_id3155961" xml-lang="en-US" l10n="U" oldref="30">6 : Yes</paragraph>
+<paragraph role="paragraph" id="par_id3148488" xml-lang="en-US" l10n="U" oldref="31">7 : No</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150090" xml-lang="en-US" level="2" l10n="U" oldref="40">Example:</paragraph>
+<paragraph role="code" id="par_id3154120" xml-lang="en-US" l10n="U" oldref="41">Sub ExampleMsgBox</paragraph>
+<paragraph role="code" id="par_id3145131" xml-lang="en-US" l10n="U" oldref="42">Dim sVar as Integer</paragraph>
+<paragraph role="code" id="par_id3151278" xml-lang="en-US" l10n="U" oldref="43">sVar = MsgBox("Las Vegas")</paragraph>
+<paragraph role="code" id="par_id3149034" xml-lang="en-US" l10n="U" oldref="44">sVar = MsgBox("Las Vegas",1)</paragraph>
+<paragraph role="code" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="45">sVar = MsgBox( "Las Vegas",256 + 16 + 2,"Dialog title")</paragraph>
+<paragraph role="code" id="par_id3152581" xml-lang="en-US" l10n="U" oldref="46">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010103.xhp b/source/text/sbasic/shared/03010103.xhp
new file mode 100644
index 0000000000..b8b33190e8
--- /dev/null
+++ b/source/text/sbasic/shared/03010103.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Print Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03010103.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="print">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147230"><bookmark_value>Print statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147230" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010103.xhp" name="Print Statement [Runtime]">Print Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="CHG" oldref="2">Outputs the specified strings or numeric expressions to a dialog or to a file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145785" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3153188" xml-lang="en-US" l10n="CHG" oldref="4">Print [#FileName,] Expression1[{;|,} [Spc(Number As Integer);] [Tab(pos As Integer);] [Expression2[...]] </paragraph>
+<paragraph role="heading" id="hd_id3147348" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id2508621" xml-lang="en-US" l10n="NEW">
+<emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.<comment>see i61758</comment></paragraph>
+<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Expression</emph>: Any numeric or string expression to be printed. Multiple expressions can be separated by a semicolon. If separated by a comma, the expressions are indented to the next tab stop. The tab stops cannot be adjusted.</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Number</emph>: Number of spaces to be inserted by the <emph>Spc</emph> function.</paragraph>
+<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Pos</emph>: Spaces are inserted until the specified position.</paragraph>
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="9">If a semicolon or comma appears after the last expression to be printed, $[officename] Basic stores the text in an internal buffer and continues program execution without printing. When another Print statement without a semicolon or comma at the end is encountered, all text to be printed is printed at once.</paragraph>
+<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US" l10n="U" oldref="10">Positive numeric expressions are printed with a leading space. Negative expressions are printed with a leading minus sign. If a certain range is exceeded for floating-point values, the respective numeric expression is printed in exponential notation.</paragraph>
+<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="11">If the expression to be printed exceeds a certain length, the display will automatically wrap to the next line.</paragraph>
+<paragraph role="note" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="12">You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the <emph>Spc</emph> function to insert a specified number of spaces.</paragraph>
+<paragraph role="heading" id="hd_id3146912" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="code" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="14">Sub ExamplePrint</paragraph>
+<paragraph role="code" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="15">Print "ABC"</paragraph>
+<paragraph role="code" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="16">Print "ABC","123"</paragraph>
+<paragraph role="code" id="par_id5484176" xml-lang="en-US" l10n="NEW">i = FreeFile()</paragraph>
+<paragraph role="code" id="par_id2904141" xml-lang="en-US" l10n="NEW">Open <switchinline select="sys"><caseinline select="WIN">"C:\Temp.txt"
+</caseinline><defaultinline>"~/temp.txt"</defaultinline></switchinline> For Output As i</paragraph>
+<paragraph role="code" id="par_id36317" xml-lang="en-US" l10n="NEW">Print #i, "ABC"</paragraph>
+<paragraph role="code" id="par_id7381817" xml-lang="en-US" l10n="NEW">Close #i</paragraph>
+<paragraph role="code" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="17">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010200.xhp b/source/text/sbasic/shared/03010200.xhp
new file mode 100644
index 0000000000..6e345d5594
--- /dev/null
+++ b/source/text/sbasic/shared/03010200.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Functions for Screen Input</title>
+<filename>/text/sbasic/shared/03010200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="eingabe">
+ <paragraph id="hd_id3149456" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010200.xhp" name="Functions for Screen Input">Functions for Screen Input</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to control screen input.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010201.xhp#inputbox"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010201.xhp b/source/text/sbasic/shared/03010201.xhp
new file mode 100644
index 0000000000..4444a852d6
--- /dev/null
+++ b/source/text/sbasic/shared/03010201.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">InputBox Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:11:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="inputbox">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148932"><bookmark_value>InputBox function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148932" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010201.xhp" name="InputBox Function [Runtime]">InputBox Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3151262" xml-lang="en-US" l10n="U" oldref="2">Displays a prompt in a dialog at which the user can input text. The input is assigned to a variable.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3151100" xml-lang="en-US" l10n="U" oldref="3">The <emph>InputBox</emph> statement is a convenient method of entering text through a dialog. Confirm the input by clicking OK or pressing Return. The input is returned as the function return value. If you close the dialog with Cancel, <emph>InputBox</emph> returns a zero-length string ("").</paragraph>
+<paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="code" id="par_id3159201" xml-lang="en-US" l10n="U" oldref="5">InputBox (Msg As String[, Title As String[, Default As String[, x_pos As Integer, y_pos As Integer]]]]) </paragraph>
+<paragraph role="heading" id="hd_id3150713" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Msg</emph>: String expression displayed as the message in the dialog box.</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Title</emph>: String expression displayed in the title bar of the dialog box.</paragraph>
+<paragraph role="paragraph" id="par_id3154307" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Default</emph>: String expression displayed in the text box as default if no other input is given.</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="12">
+<emph>x_pos</emph>: Integer expression that specifies the horizontal position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="13">
+<emph>y_pos</emph>: Integer expression that specifies the vertical position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="14">If <emph>x_pos</emph> and <emph>y_pos</emph> are omitted, the dialog is centered on the screen. The position is specified in <link href="text/sbasic/shared/00000002.xhp#twips" name="twips">twips</link>.</paragraph>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="code" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleInputBox</paragraph>
+<paragraph role="code" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="17">Dim sText As String</paragraph>
+<paragraph role="code" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="18">sText = InputBox ("Please enter a phrase:","Dear User")</paragraph>
+<paragraph role="code" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="19">MsgBox ( sText , 64, "Confirmation of phrase")</paragraph>
+<paragraph role="code" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="20">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010300.xhp b/source/text/sbasic/shared/03010300.xhp
new file mode 100644
index 0000000000..dfa213c87a
--- /dev/null
+++ b/source/text/sbasic/shared/03010300.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Color Functions</title>
+<filename>/text/sbasic/shared/03010300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="farbe">
+ <paragraph id="hd_id3157896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010300.xhp" name="Color Functions">Color Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to define colors.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010301.xhp#blue"/>
+ <embed href="text/sbasic/shared/03010302.xhp#green"/>
+ <embed href="text/sbasic/shared/03010303.xhp#red"/>
+ <embed href="text/sbasic/shared/03010304.xhp#qbcolor"/>
+ <embed href="text/sbasic/shared/03010305.xhp#rgb"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010301.xhp b/source/text/sbasic/shared/03010301.xhp
new file mode 100644
index 0000000000..cd47e2f444
--- /dev/null
+++ b/source/text/sbasic/shared/03010301.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Blue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:12:07">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="blue">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149180"><bookmark_value>Blue function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149180" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010301.xhp" name="Blue Function [Runtime]">Blue Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="2">Returns the blue component of the specified color code.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="4">Blue (Color As Long)</paragraph>
+<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Color value</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the blue component.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153091" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleColor</paragraph>
+<paragraph role="code" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="11">Dim lVar As Long</paragraph>
+<paragraph role="code" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="12">lVar = rgb(128,0,200)</paragraph>
+<paragraph role="code" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="13">MsgBox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="code" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="14">"red= " &amp; Red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">"green= " &amp; Green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="16">"blue= " &amp; Blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph role="code" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="17">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010302.xhp b/source/text/sbasic/shared/03010302.xhp
new file mode 100644
index 0000000000..173a357f27
--- /dev/null
+++ b/source/text/sbasic/shared/03010302.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Green Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:12:30">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="green">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Green function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010302.xhp" name="Green Function [Runtime]">Green Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="2">Returns the Green component of the given color code.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="4">Green (Color As Long)</paragraph>
+<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Color</emph>: Long integer expression that specifies a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Green component.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3156442" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleColor</paragraph>
+<paragraph role="code" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="11">Dim lVar As Long</paragraph>
+<paragraph role="code" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="12">lVar = rgb(128,0,200)</paragraph>
+<paragraph role="code" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="13">msgbox "The color " &amp; lVar &amp; " contains the components:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="code" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="14">"red = " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="15">"green = " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="16">"blue = " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph role="code" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="17">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010303.xhp b/source/text/sbasic/shared/03010303.xhp
new file mode 100644
index 0000000000..b494ac3e87
--- /dev/null
+++ b/source/text/sbasic/shared/03010303.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010303xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Red Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:12:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="red">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Red function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010303.xhp" name="Red Function [Runtime]">Red Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2">Returns the Red component of the specified color code.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148799" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="4">Red (ColorNumber As Long)</paragraph>
+<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="8">
+<emph>ColorNumber</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Red component.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleColor</paragraph>
+<paragraph role="code" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="11">Dim lVar As Long</paragraph>
+<paragraph role="code" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="12">lVar = rgb(128,0,200)</paragraph>
+<paragraph role="code" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="13">msgbox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="code" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="14">"red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="15">"green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="16">"blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph role="code" id="par_id3156286" xml-lang="en-US" l10n="U" oldref="17">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010304.xhp b/source/text/sbasic/shared/03010304.xhp
new file mode 100644
index 0000000000..92eaedf6fc
--- /dev/null
+++ b/source/text/sbasic/shared/03010304.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010304xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">QBColor Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:17:50">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="qbcolor">
+<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010304.xhp" name="QBColor Function [Runtime]">QBColor Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="2">Returns the <link href="text/sbasic/shared/03010305.xhp" name="RGB">RGB</link> color code of the color passed as a color value through an older MS-DOS based programming system.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154140" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="4">QBColor (ColorNumber As Integer)</paragraph>
+<paragraph role="heading" id="hd_id3145172" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3156560" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="8">
+<emph>ColorNumber</emph>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="9">
+<emph>ColorNumber</emph> can be assigned the following values:</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="10">0 : Black</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="11">1 : Blue</paragraph>
+<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="12">2 : Green</paragraph>
+<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">3 : Cyan</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="14">4 : Red</paragraph>
+<paragraph role="paragraph" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="15">5 : Magenta</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="16">6 : Yellow</paragraph>
+<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="17">7 : White</paragraph>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="18">8 : Gray</paragraph>
+<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="19">9 : Light Blue</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="20">10 : Light Green</paragraph>
+<paragraph role="paragraph" id="par_id3149958" xml-lang="en-US" l10n="U" oldref="21">11 : Light Cyan</paragraph>
+<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="22">12 : Light Red</paragraph>
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="23">13 : Light Magenta</paragraph>
+<paragraph role="paragraph" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="24">14 : Light Yellow</paragraph>
+<paragraph role="paragraph" id="par_id3150750" xml-lang="en-US" l10n="U" oldref="25">15 : Bright White</paragraph>
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="26">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the $[officename] IDE.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148406" xml-lang="en-US" level="2" l10n="U" oldref="27">Example:</paragraph>
+<paragraph role="code" id="par_id3145642" xml-lang="en-US" l10n="U" oldref="28">Sub ExampleQBColor</paragraph>
+<paragraph role="code" id="par_id3154256" xml-lang="en-US" l10n="U" oldref="29">Dim iColor As Integer</paragraph>
+<paragraph role="code" id="par_id3147340" xml-lang="en-US" l10n="U" oldref="30">Dim sText As String</paragraph>
+<paragraph role="code" id="par_id3155962" xml-lang="en-US" l10n="U" oldref="31">iColor = 7</paragraph>
+<paragraph role="code" id="par_id3145230" xml-lang="en-US" l10n="U" oldref="32">sText = "RGB= " &amp; Red(QBColor( iColor) ) &amp; ":" &amp; Blue(QBColor( iColor) ) &amp; ":" &amp; Green(QBColor( iColor) )</paragraph>
+<paragraph role="code" id="par_id3149566" xml-lang="en-US" l10n="U" oldref="33">MsgBox stext,0,"Color " &amp; iColor</paragraph>
+<paragraph role="code" id="par_id3154705" xml-lang="en-US" l10n="U" oldref="34">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03010305.xhp b/source/text/sbasic/shared/03010305.xhp
new file mode 100644
index 0000000000..32d8275ad9
--- /dev/null
+++ b/source/text/sbasic/shared/03010305.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">RGB Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:18:05">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rgb">
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="2">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="4">RGB (Red, Green, Blue)</paragraph>
+<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3154013" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3147435" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="code" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleColor</paragraph>
+<paragraph role="code" id="par_id3149582" xml-lang="en-US" l10n="U" oldref="13">Dim lVar As Long</paragraph>
+<paragraph role="code" id="par_id3150417" xml-lang="en-US" l10n="U" oldref="14">lVar = rgb(128,0,200)</paragraph>
+<paragraph role="code" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="15">msgbox "The color " &amp; lVar &amp; " consists of:" &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="code" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="16">"red= " &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="17">"green= " &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+<paragraph role="code" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18">"blue= " &amp; blue(lVar) &amp; Chr(13) , 64,"colors"</paragraph>
+<paragraph role="code" id="par_id3150752" xml-lang="en-US" l10n="U" oldref="19">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020000.xhp b/source/text/sbasic/shared/03020000.xhp
new file mode 100644
index 0000000000..dc378da076
--- /dev/null
+++ b/source/text/sbasic/shared/03020000.xhp
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">File I/O Functions</title>
+<filename>/text/sbasic/shared/03020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T10:58:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="dateieinaus">
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020000.xhp" name="File I/O Functions">File I/O Functions</link></paragraph>
+<paragraph role="paragraph" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="2">Use File I/O functions to create and manage user-defined (data) files.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="3">You can use these functions to support the creation of "relative" files, so that you can save and reload certain records by specifying their record number. File I/O functions can also help you manage your files by providing you with information such as file size, current path settings, or the creation date of a file or a directory.</paragraph>
+<embed href="text/sbasic/shared/03020100.xhp#oeffnen"/>
+<embed href="text/sbasic/shared/03020200.xhp#eingabeeinaus"/>
+<embed href="text/sbasic/shared/03020400.xhp#organisation"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020100.xhp b/source/text/sbasic/shared/03020100.xhp
new file mode 100644
index 0000000000..1da4f62aeb
--- /dev/null
+++ b/source/text/sbasic/shared/03020100.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Opening and Closing Files</title>
+<filename>/text/sbasic/shared/03020100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:19:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="oeffnen">
+<paragraph role="heading" id="hd_id3152924" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020100.xhp" name="Opening and Closing Files">Opening and Closing Files</link></paragraph>
+</section>
+<embed href="text/sbasic/shared/03020101.xhp#close"/>
+<embed href="text/sbasic/shared/03020102.xhp#freefile"/>
+<embed href="text/sbasic/shared/03020103.xhp#open"/>
+<embed href="text/sbasic/shared/03020104.xhp#reset"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020101.xhp b/source/text/sbasic/shared/03020101.xhp
new file mode 100644
index 0000000000..90ea0073a8
--- /dev/null
+++ b/source/text/sbasic/shared/03020101.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Close Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T10:52:43">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="close">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>Close statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3157896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020101.xhp" name="Close Statement [Runtime]">Close Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="2">Closes a specified file that was opened with the Open statement.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="4">Close FileNumber As Integer[, FileNumber2 As Integer[,...]] </paragraph>
+<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="6">
+<emph>FileNumber:</emph> Any integer expression that specifies the number of the data channel that was opened with the <emph>Open</emph> statement.</paragraph>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="code" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="code" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="9">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="10">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="11">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="34">Dim sMsg as String</paragraph>
+<paragraph role="code" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="12">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3152598" xml-lang="en-US" l10n="CHG" oldref="13">sMsg = ""</paragraph>
+<paragraph role="code" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="14">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="15">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="16">Print #iNumber, "First line of text"</paragraph>
+<paragraph role="code" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17">Print #iNumber, "Another line of text"</paragraph>
+<paragraph role="code" id="par_id3149667" xml-lang="en-US" l10n="U" oldref="18">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3145801" xml-lang="en-US" l10n="U" oldref="22">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="23">Open aFile For Input As iNumber</paragraph>
+<paragraph role="code" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="24">While not eof(iNumber)</paragraph>
+<paragraph role="code" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="25">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="26">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3155602" xml-lang="en-US" l10n="U" oldref="27">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph role="code" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="29">end if</paragraph>
+<paragraph role="code" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="30">wend</paragraph>
+<paragraph role="code" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="31">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="35">Msgbox sMsg</paragraph>
+<paragraph role="code" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="32">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020102.xhp b/source/text/sbasic/shared/03020102.xhp
new file mode 100644
index 0000000000..24a5371b44
--- /dev/null
+++ b/source/text/sbasic/shared/03020102.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FreeFile Function[Runtime]</title>
+<filename>/text/sbasic/shared/03020102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T10:51:46">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="freefile">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>FreeFile function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020102.xhp" name="FreeFile Function[Runtime]">FreeFile Function[Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="2">Returns the next available file number for opening a file. Use this function to open a file using a file number that is not already in use by a currently open file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150769" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="4">FreeFile</paragraph>
+<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3148576" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="8">This function can only be used immediately in front of an Open statement. FreeFile returns the next available file number, but does not reserve it.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err67"/>
+<paragraph role="heading" id="hd_id3159153" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="code" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="11">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="12">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="13">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3149667" xml-lang="en-US" l10n="U" oldref="36">Dim sMsg as String</paragraph>
+<paragraph role="code" id="par_id3145800" xml-lang="en-US" l10n="U" oldref="14">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3147396" xml-lang="en-US" l10n="CHG" oldref="15">sMsg = ""</paragraph>
+<paragraph role="code" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="16">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="17">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="18">Print #iNumber, "First line of text"</paragraph>
+<paragraph role="code" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="19">Print #iNumber, "Another line of text"</paragraph>
+<paragraph role="code" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="20">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="24">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3155067" xml-lang="en-US" l10n="U" oldref="25">Open aFile For Input As #iNumber</paragraph>
+<paragraph role="code" id="par_id3155443" xml-lang="en-US" l10n="U" oldref="26">While not eof(#iNumber)</paragraph>
+<paragraph role="code" id="par_id3153714" xml-lang="en-US" l10n="U" oldref="27">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3148408" xml-lang="en-US" l10n="U" oldref="28">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3156385" xml-lang="en-US" l10n="U" oldref="29">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph role="code" id="par_id3145147" xml-lang="en-US" l10n="U" oldref="31">end if</paragraph>
+<paragraph role="code" id="par_id3153966" xml-lang="en-US" l10n="U" oldref="32">wend</paragraph>
+<paragraph role="code" id="par_id3155961" xml-lang="en-US" l10n="U" oldref="33">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="37">Msgbox sMsg</paragraph>
+<paragraph role="code" id="par_id3146917" xml-lang="en-US" l10n="U" oldref="34">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020103.xhp b/source/text/sbasic/shared/03020103.xhp
new file mode 100644
index 0000000000..f2cc3251b0
--- /dev/null
+++ b/source/text/sbasic/shared/03020103.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Open Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03020103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-08T13:20:10">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="open">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>Open statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150791" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement[Runtime]">Open Statement[Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="2">Opens a data channel.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147230" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154124" xml-lang="en-US" l10n="CHG" oldref="4">Open FileName As String [For Mode] [Access IOMode] [Protected] As [#]FileNumber As Integer [Len = DatasetLength]<comment>i37502</comment></paragraph>
+<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="6">
+<emph>FileName: </emph>Name and path of the file that you wan to open. If you try to read a file that does not exist (Access = Read), an error message appears. If you try to write to a file that does not exist (Access = Write), a new file is created.</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Mode:</emph> Keyword that specifies the file mode. Valid values: Append (append to sequential file), Binary (data can be accessed by bytes using Get and Put), Input (opens data channel for reading), Output (opens data channel for writing), and Random (edits relative files).</paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="CHG" oldref="8">
+<emph>IOMode:</emph> Keyword that defines the access type. Valid values: Read (read-only), Write (write-only), Read Write (both).</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Protected:</emph> Keyword that defines the security status of a file after opening. Valid values: Shared (file may be opened by other applications), Lock Read (file is protected against reading), Lock Write (file is protected against writing), Lock Read Write (denies file access).</paragraph>
+<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="10">
+<emph>FileNumber:</emph> Any integer expression from 0 to 511 to indicate the number of a free data channel. You can then pass commands through the data channel to access the file. The file number must be determined by the FreeFile function immediately before the Open statement.</paragraph>
+<paragraph role="paragraph" id="par_id3151115" xml-lang="en-US" l10n="CHG" oldref="11">
+<emph>DatasetLength:</emph> For random access files, set the length of the records.<comment>#61736</comment></paragraph>
+<paragraph role="note" id="par_id3153418" xml-lang="en-US" l10n="U" oldref="12">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</paragraph>
+<paragraph role="heading" id="hd_id3149123" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="code" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="14">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="code" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="15">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="16">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="17">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="40">Dim sMsg as String</paragraph>
+<paragraph role="code" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="18">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3153963" xml-lang="en-US" l10n="U" oldref="20">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="21">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3154705" xml-lang="en-US" l10n="U" oldref="22">Print #iNumber, "This is a line of text"</paragraph>
+<paragraph role="code" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="23">Print #iNumber, "This is another line of text"</paragraph>
+<paragraph role="code" id="par_id3150942" xml-lang="en-US" l10n="U" oldref="24">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3150300" xml-lang="en-US" l10n="U" oldref="28">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3154022" xml-lang="en-US" l10n="U" oldref="29">Open aFile For Input As iNumber</paragraph>
+<paragraph role="code" id="par_id3150783" xml-lang="en-US" l10n="U" oldref="30">While not eof(iNumber)</paragraph>
+<paragraph role="code" id="par_id3153270" xml-lang="en-US" l10n="U" oldref="31">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3153784" xml-lang="en-US" l10n="U" oldref="32">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3149208" xml-lang="en-US" l10n="U" oldref="33">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph role="code" id="par_id3150304" xml-lang="en-US" l10n="U" oldref="35">end if</paragraph>
+<paragraph role="code" id="par_id3151217" xml-lang="en-US" l10n="U" oldref="36">wend</paragraph>
+<paragraph role="code" id="par_id3152582" xml-lang="en-US" l10n="U" oldref="37">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3159100" xml-lang="en-US" l10n="U" oldref="41">Msgbox sMsg</paragraph>
+<paragraph role="code" id="par_id3159091" xml-lang="en-US" l10n="U" oldref="38">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020104.xhp b/source/text/sbasic/shared/03020104.xhp
new file mode 100644
index 0000000000..3148bd7837
--- /dev/null
+++ b/source/text/sbasic/shared/03020104.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020104xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Reset Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:21:04">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="reset">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154141"><bookmark_value>Reset statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154141" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020104.xhp">Reset Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2">Closes all open files and writes the contents of all file buffers to the harddisk.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="4">Reset</paragraph>
+<paragraph role="heading" id="hd_id3161831" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="code" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="37">Sub ExampleReset</paragraph>
+<paragraph role="code" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="38">On Error Goto ErrorHandler</paragraph>
+<paragraph role="code" id="par_id3153093" xml-lang="en-US" l10n="U" oldref="39">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="40">Dim iCount As Integer</paragraph>
+<paragraph role="code" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="41">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="42">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="43">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="45">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="46">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="47">Print #iNumber, "This is a new line of text"</paragraph>
+<paragraph role="code" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="48">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3149410" xml-lang="en-US" l10n="U" oldref="50">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="51">Open aFile For Input As iNumber</paragraph>
+<paragraph role="code" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="52">For iCount = 1 to 5</paragraph>
+<paragraph role="code" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="53">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3156277" xml-lang="en-US" l10n="U" oldref="54">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="55">rem</paragraph>
+<paragraph role="code" id="par_id3150322" xml-lang="en-US" l10n="U" oldref="56">end if</paragraph>
+<paragraph role="code" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="57">Next iCount</paragraph>
+<paragraph role="code" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="58">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="59">Exit Sub</paragraph>
+<paragraph role="code" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="60">ErrorHandler:</paragraph>
+<paragraph role="code" id="par_id3145147" xml-lang="en-US" l10n="U" oldref="61">Reset</paragraph>
+<paragraph role="code" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="62">MsgBox "All files will be closed",0,"Error"</paragraph>
+<paragraph role="code" id="par_id3147364" xml-lang="en-US" l10n="U" oldref="63">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020200.xhp b/source/text/sbasic/shared/03020200.xhp
new file mode 100644
index 0000000000..47323494f1
--- /dev/null
+++ b/source/text/sbasic/shared/03020200.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">File Input/Output Functions</title>
+<filename>/text/sbasic/shared/03020200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T10:57:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="eingabeeinaus">
+<paragraph role="heading" id="hd_id3150791" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020200.xhp" name="File Input/Output Functions">File Input/Output Functions</link></paragraph>
+</section>
+<embed href="text/sbasic/shared/03020201.xhp#get"/>
+<embed href="text/sbasic/shared/03020202.xhp#input"/>
+<embed href="text/sbasic/shared/03020203.xhp#lineinput"/>
+<embed href="text/sbasic/shared/03020204.xhp#put"/>
+<embed href="text/sbasic/shared/03020205.xhp#write"/>
+<embed href="text/sbasic/shared/03020302.xhp#loc"/>
+<embed href="text/sbasic/shared/03020304.xhp#seek"/>
+<embed href="text/sbasic/shared/03020301.xhp#eof"/>
+<embed href="text/sbasic/shared/03020303.xhp#lof"/><comment>see i61245</comment>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020201.xhp b/source/text/sbasic/shared/03020201.xhp
new file mode 100644
index 0000000000..abdadef468
--- /dev/null
+++ b/source/text/sbasic/shared/03020201.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Get Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:22:37">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="get">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154927"><bookmark_value>Get statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020201.xhp">Get Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="2">Reads a record from a relative file, or a sequence of bytes from a binary file, into a variable.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020204.xhp" name="PUT"><item type="literal">PUT</item></link> Statement</paragraph>
+<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="5">Get [#] FileNumber As Integer, [Position], Variable</paragraph>
+<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>FileNumber:</emph> Any integer expression that determines the file number.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Position:</emph> For files opened in Random mode, <emph>Position</emph> is the number of the record that you want to read.</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="9">For files opened in Binary mode, <emph>Position</emph> is the byte position in the file where the reading starts.</paragraph>
+<paragraph role="paragraph" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="10">If <emph>Position</emph> is omitted, the current position or the current data record of the file is used.</paragraph>
+<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="11">Variable: Name of the variable to be read. With the exception of object variables, you can use any variable type.</paragraph>
+<paragraph role="heading" id="hd_id3153144" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="code" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleRandomAccess</paragraph>
+<paragraph role="code" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3155307" xml-lang="en-US" l10n="U" oldref="15">Dim sText As Variant REM Must be a variant</paragraph>
+<paragraph role="code" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="16">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="17">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="19">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3150418" xml-lang="en-US" l10n="U" oldref="20">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="code" id="par_id3149411" xml-lang="en-US" l10n="U" oldref="21">Seek #iNumber,1 REM Position at beginning</paragraph>
+<paragraph role="code" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="22">Put #iNumber,, "This is the first line of text" REM Fill line with text</paragraph>
+<paragraph role="code" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="23">Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph role="code" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="24">Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph role="code" id="par_id3153836" xml-lang="en-US" l10n="U" oldref="25">Seek #iNumber,2</paragraph>
+<paragraph role="code" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="26">Get #iNumber,,sText</paragraph>
+<paragraph role="code" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="27">Print sText</paragraph>
+<paragraph role="code" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="28">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3153715" xml-lang="en-US" l10n="U" oldref="30">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3154256" xml-lang="en-US" l10n="U" oldref="31">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="code" id="par_id3147340" xml-lang="en-US" l10n="U" oldref="32">Get #iNumber,2,sText</paragraph>
+<paragraph role="code" id="par_id3155938" xml-lang="en-US" l10n="U" oldref="33">Put #iNumber,,"This is a new text"</paragraph>
+<paragraph role="code" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="34">Get #iNumber,1,sText</paragraph>
+<paragraph role="code" id="par_id3147361" xml-lang="en-US" l10n="U" oldref="35">Get #iNumber,2,sText</paragraph>
+<paragraph role="code" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="36">Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph role="code" id="par_id3149259" xml-lang="en-US" l10n="U" oldref="37">Print Lof(#iNumber)</paragraph>
+<paragraph role="code" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="38">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3155606" xml-lang="en-US" l10n="U" oldref="40">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020202.xhp b/source/text/sbasic/shared/03020202.xhp
new file mode 100644
index 0000000000..7f8f5c70db
--- /dev/null
+++ b/source/text/sbasic/shared/03020202.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020202xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Input# Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-15T12:49:46">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="input">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154908"><bookmark_value>Input statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154908" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020202.xhp" name="Input# Statement [Runtime]">Input# Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="2">Reads data from an open sequential file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="4">Input #FileNumber As Integer; var1[, var2[, var3[,...]]]</paragraph>
+<paragraph role="heading" id="hd_id3146121" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="6">
+<emph>FileNumber:</emph> Number of the file that contains the data that you want to read. The file must be opened with the Open statement using the key word INPUT.</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="7">
+<emph>var:</emph> A numeric or string variable that you assign the values read from the opened file to.</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="8">The <emph>Input#</emph> statement reads numeric values or strings from an open file and assigns the data to one or more variables. A numeric variable is read up to the first carriage return (Asc=13), line feed (Asc=10), space, or comma. String variables are read to up to the first carriage return (Asc=13), line feed (Asc=10), or comma.</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="9">Data and data types in the opened file must appear in the same order as the variables that are passed in the "var" parameter. If you assign non-numeric values to a numeric variable, "var" is assigned a value of "0".</paragraph>
+<paragraph role="paragraph" id="par_id3156442" xml-lang="en-US" l10n="CHG" oldref="10">Records that are separated by commas cannot be assigned to a string variable. Quotation marks (") in the file are disregarded as well. If you want to read these characters from the file, use the <emph>Line Input#</emph> statement to read pure text files (files containing only printable characters) line by line.</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="11">If the end of the file is reached while reading a data element, an error occurs and the process is aborted.</paragraph>
+<paragraph role="heading" id="hd_id3152578" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="bascode" localize="false">Dim iCount As Integer</paragraph>
+<paragraph role="bascode" localize="false">Dim sName As String</paragraph>
+<paragraph role="bascode" localize="false">Dim sValue As Integer</paragraph>
+<paragraph role="bascode" localize="false">Dim sFileName as String</paragraph>
+<paragraph role="bascode" localize="false"> </paragraph>
+<paragraph role="bascode" localize="false">sFileName = "c:\data.txt"</paragraph>
+<paragraph role="bascode" localize="false">iCount = Freefile</paragraph>
+<paragraph role="bascode" localize="false"> </paragraph>
+<paragraph role="bascode" id="par_id4144765" xml-lang="en-US">' Write data ( which we will read later with Input ) to file</paragraph>
+<paragraph role="bascode" localize="false">Open sFileName for OutPut as iCount</paragraph>
+<paragraph role="bascode" localize="false">sName = "Hamburg"</paragraph>
+<paragraph role="bascode" localize="false">sValue = 200</paragraph>
+<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">sName = "New York"</paragraph>
+<paragraph role="bascode" localize="false">sValue = 300</paragraph>
+<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">sName = "Miami"</paragraph>
+<paragraph role="bascode" localize="false">sValue = 459</paragraph>
+<paragraph role="bascode" localize="false">Write #iCount, sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">Close #iCount</paragraph>
+<paragraph role="bascode" localize="false"> </paragraph>
+<paragraph role="bascode" localize="false">iCount = Freefile</paragraph>
+<paragraph role="bascode" id="par_id4144766" xml-lang="en-US">' Read data file using Input</paragraph>
+<paragraph role="bascode" localize="false">Open sFileName for Input as iCount</paragraph>
+<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">Msgbox sName &amp; " " &amp; sValue</paragraph>
+<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">Msgbox sName &amp; " " &amp; sValue</paragraph>
+<paragraph role="bascode" localize="false">Input #iCount; sName, sValue</paragraph>
+<paragraph role="bascode" localize="false">Msgbox sName &amp; " " &amp; sValue</paragraph>
+<paragraph role="bascode" localize="false">Close #iCount</paragraph>
+<paragraph role="bascode" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020203.xhp b/source/text/sbasic/shared/03020203.xhp
new file mode 100644
index 0000000000..8c2c1cb127
--- /dev/null
+++ b/source/text/sbasic/shared/03020203.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020203xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Line Input # Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-03-20T10:03:53">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="lineinput">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>Line Input statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020203.xhp" name="Line Input # Statement [Runtime]">Line Input # Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="2">Reads strings from a sequential file into a variable.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="4">Line Input #FileNumber As Integer, Var As String </paragraph>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="CHG" oldref="6">
+<emph>FileNumber: </emph>Number of the file that contains the data that you want to read. The file must have been opened in advance with the Open statement using the key word INPUT.</paragraph>
+<paragraph role="paragraph" id="par_id3151119" xml-lang="en-US" l10n="U" oldref="7">
+<emph>var:</emph> The name of the variable that stores the result.</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="8">With the <emph>Line Input#</emph> statement, you can read strings from an open file into a variable. String variables are read line-by-line up to the first carriage return (Asc=13) or linefeed (Asc=10). Line end marks are not included in the resulting string.</paragraph>
+<paragraph role="heading" id="hd_id3163711" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="code" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="11">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="12">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="13">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3147436" xml-lang="en-US" l10n="U" oldref="36">Dim sMsg as String</paragraph>
+<paragraph role="code" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="14">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="16">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="17">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="18">Print #iNumber, "This is a line of text"</paragraph>
+<paragraph role="code" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="19">Print #iNumber, "This is another line of text"</paragraph>
+<paragraph role="code" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="20">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3154482" xml-lang="en-US" l10n="U" oldref="24">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3150321" xml-lang="en-US" l10n="U" oldref="25">Open aFile For Input As iNumber</paragraph>
+<paragraph role="code" id="par_id3155443" xml-lang="en-US" l10n="U" oldref="26">While not eof(iNumber)</paragraph>
+<paragraph role="code" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="27">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="28">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3147338" xml-lang="en-US" l10n="U" oldref="29">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph role="code" id="par_id3147362" xml-lang="en-US" l10n="U" oldref="31">end if</paragraph>
+<paragraph role="code" id="par_id3155333" xml-lang="en-US" l10n="U" oldref="32">wend</paragraph>
+<paragraph role="code" id="par_id3153965" xml-lang="en-US" l10n="U" oldref="33">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3147345" xml-lang="en-US" l10n="U" oldref="37">Msgbox sMsg</paragraph>
+<paragraph role="code" id="par_id3149257" xml-lang="en-US" l10n="U" oldref="34">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020204.xhp b/source/text/sbasic/shared/03020204.xhp
new file mode 100644
index 0000000000..6abfac8191
--- /dev/null
+++ b/source/text/sbasic/shared/03020204.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020204xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Put Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020204.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:23:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="put">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150360"><bookmark_value>Put statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150360" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020204.xhp" name="Put Statement [Runtime]">Put Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="2">Writes a record to a relative file or a sequence of bytes to a binary file.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020201.xhp" name="Get"><item type="literal">Get</item></link> statement</paragraph>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="code" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="5">Put [#] FileNumber As Integer, [position], Variable</paragraph>
+<paragraph role="heading" id="hd_id3153190" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="7">
+<emph>FileNumber:</emph> Any integer expression that defines the file that you want to write to.</paragraph>
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Position: </emph>For relative files (random access files), the number of the record that you want to write.</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="9">For binary files (binary access), the position of the byte in the file where you want to start writing.</paragraph>
+<paragraph role="paragraph" id="par_id3153729" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Variable:</emph> Name of the variable that you want to write to the file.</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="11">Note for relative files: If the contents of this variable does not match the length of the record that is specified in the <emph>Len</emph> clause of the <emph>Open</emph> statement, the space between the end of the newly written record and the next record is padded with existing data from the file that you are writing to.</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="12">Note for binary files: The contents of the variables are written to the specified position, and the file pointer is inserted directly after the last byte. No space is left between the records.</paragraph>
+<paragraph role="heading" id="hd_id3154491" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="code" id="par_id3149410" xml-lang="en-US" l10n="U" oldref="14">Sub ExampleRandomAccess</paragraph>
+<paragraph role="code" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="15">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="16">Dim sText As Variant REM Must be a variant type</paragraph>
+<paragraph role="code" id="par_id3156286" xml-lang="en-US" l10n="U" oldref="17">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3149400" xml-lang="en-US" l10n="U" oldref="18">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3149124" xml-lang="en-US" l10n="U" oldref="20">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="21">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="code" id="par_id3156278" xml-lang="en-US" l10n="U" oldref="22">Seek #iNumber,1 REM Position to start writing</paragraph>
+<paragraph role="code" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="23">Put #iNumber,, "This is the first line of text" REM Fill line with text</paragraph>
+<paragraph role="code" id="par_id3155446" xml-lang="en-US" l10n="U" oldref="24">Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph role="code" id="par_id3154255" xml-lang="en-US" l10n="U" oldref="25">Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph role="code" id="par_id3150045" xml-lang="en-US" l10n="U" oldref="26">Seek #iNumber,2</paragraph>
+<paragraph role="code" id="par_id3145149" xml-lang="en-US" l10n="U" oldref="27">Get #iNumber,,sText</paragraph>
+<paragraph role="code" id="par_id3147363" xml-lang="en-US" l10n="U" oldref="28">Print sText</paragraph>
+<paragraph role="code" id="par_id3163806" xml-lang="en-US" l10n="U" oldref="29">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3149568" xml-lang="en-US" l10n="U" oldref="31">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3155607" xml-lang="en-US" l10n="U" oldref="32">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="code" id="par_id3154022" xml-lang="en-US" l10n="U" oldref="33">Get #iNumber,2,sText</paragraph>
+<paragraph role="code" id="par_id3150940" xml-lang="en-US" l10n="U" oldref="34">Put #iNumber,,"This is new text"</paragraph>
+<paragraph role="code" id="par_id3146132" xml-lang="en-US" l10n="U" oldref="35">Get #iNumber,1,sText</paragraph>
+<paragraph role="code" id="par_id3154198" xml-lang="en-US" l10n="U" oldref="36">Get #iNumber,2,sText</paragraph>
+<paragraph role="code" id="par_id3159102" xml-lang="en-US" l10n="U" oldref="37">Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph role="code" id="par_id3153785" xml-lang="en-US" l10n="U" oldref="38">Print Lof(#iNumber)</paragraph>
+<paragraph role="code" id="par_id3151277" xml-lang="en-US" l10n="U" oldref="39">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3150786" xml-lang="en-US" l10n="U" oldref="41">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020205.xhp b/source/text/sbasic/shared/03020205.xhp
new file mode 100644
index 0000000000..e211faa331
--- /dev/null
+++ b/source/text/sbasic/shared/03020205.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020205xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Write Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020205.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-03-20T10:02:21">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="write">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147229"><bookmark_value>Write statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020205.xhp" name="Write Statement [Runtime]">Write Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="2">Writes data to a sequential file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150449" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3145785" xml-lang="en-US" l10n="CHG" oldref="4">Write [#FileName], [Expressionlist]<comment>see i61248</comment></paragraph>
+<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="6">
+<emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expressionlist:</emph> Variables or expressions that you want to enter in a file, separated by commas.</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="CHG" oldref="8">If the expression list is omitted, the <emph>Write</emph> statement appends an empty line to the file.</paragraph>
+<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="9">To add an expression list to a new or an existing file, the file must be opened in the <emph>Output</emph> or <emph>Append</emph> mode.</paragraph>
+<paragraph role="paragraph" id="par_id3147428" xml-lang="en-US" l10n="CHG" oldref="10">Strings that you write are enclosed by quotation marks and separated by commas. You do not need to enter these delimiters in the expression list.</paragraph>
+<paragraph role="paragraph" id="par_id1002838" xml-lang="en-US" l10n="NEW">Each <emph>Write</emph> statement outputs a line end symbol as last entry.</paragraph>
+<paragraph role="paragraph" id="par_id6618854" xml-lang="en-US" l10n="NEW">Numbers with decimal delimiters are converted according to the locale settings.</paragraph>
+<paragraph role="heading" id="hd_id3151073" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="code" id="par_id3145252" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleWrite</paragraph>
+<paragraph role="code" id="par_id3149958" xml-lang="en-US" l10n="U" oldref="13">Dim iCount As Integer</paragraph>
+<paragraph role="code" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="14">Dim sValue As String</paragraph>
+<paragraph role="code" id="par_id3145645" xml-lang="en-US" l10n="U" oldref="15">iCount = Freefile</paragraph>
+<paragraph role="code" id="par_id3153417" xml-lang="en-US" l10n="U" oldref="16">open "C:\data.txt" for OutPut as iCount</paragraph>
+<paragraph role="code" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="17">sValue = "Hamburg"</paragraph>
+<paragraph role="code" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="18">Write #iCount,sValue,200</paragraph>
+<paragraph role="code" id="par_id3146913" xml-lang="en-US" l10n="U" oldref="19">sValue = "New York"</paragraph>
+<paragraph role="code" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="20">Write #iCount,sValue,300</paragraph>
+<paragraph role="code" id="par_id3150322" xml-lang="en-US" l10n="U" oldref="21">sValue = "Miami"</paragraph>
+<paragraph role="code" id="par_id3155766" xml-lang="en-US" l10n="U" oldref="22">Write #iCount,sValue,450</paragraph>
+<paragraph role="code" id="par_id3145643" xml-lang="en-US" l10n="U" oldref="23">close #iCount</paragraph>
+<paragraph role="code" id="par_id3150044" xml-lang="en-US" l10n="U" oldref="24">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020301.xhp b/source/text/sbasic/shared/03020301.xhp
new file mode 100644
index 0000000000..7d688e8709
--- /dev/null
+++ b/source/text/sbasic/shared/03020301.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Eof Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:24:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="eof">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154598"><bookmark_value>Eof function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154598" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020301.xhp" name="Eof Function [Runtime]">Eof Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147182" xml-lang="en-US" l10n="U" oldref="2">Determines if the file pointer has reached the end of a file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149119" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3147399" xml-lang="en-US" l10n="U" oldref="4">Eof (intexpression As Integer)</paragraph>
+<paragraph role="heading" id="hd_id3153539" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156027" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3152924" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153990" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Intexpression:</emph> Any integer expression that evaluates to the number of an open file.</paragraph>
+<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="9">Use EOF to avoid errors when you attempt to get input past the end of a file. When you use the Input or Get statement to read from a file, the file pointer is advanced by the number of bytes read. When the end of a file is reached, EOF returns the value "True" (-1).</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+<paragraph role="heading" id="hd_id3154046" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="code" id="par_id3143270" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleWorkWithAFile</paragraph>
+<paragraph role="code" id="par_id3150670" xml-lang="en-US" l10n="U" oldref="12">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3154143" xml-lang="en-US" l10n="U" oldref="13">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3148943" xml-lang="en-US" l10n="U" oldref="14">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="37">Dim sMsg as String</paragraph>
+<paragraph role="code" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="15">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="17">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="18">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="19">Print #iNumber, "First line of text"</paragraph>
+<paragraph role="code" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="20">Print #iNumber, "Another line of text"</paragraph>
+<paragraph role="code" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="21">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3153104" xml-lang="en-US" l10n="U" oldref="25">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3144761" xml-lang="en-US" l10n="U" oldref="26">Open aFile For Input As iNumber</paragraph>
+<paragraph role="code" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="27">While not eof(iNumber)</paragraph>
+<paragraph role="code" id="par_id3158408" xml-lang="en-US" l10n="U" oldref="28">Line Input #iNumber, sLine</paragraph>
+<paragraph role="code" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="29">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="code" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="30">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+<paragraph role="code" id="par_id3153367" xml-lang="en-US" l10n="U" oldref="32">end if</paragraph>
+<paragraph role="code" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="33">wend</paragraph>
+<paragraph role="code" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="34">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="38">Msgbox sMsg</paragraph>
+<paragraph role="code" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="35">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020302.xhp b/source/text/sbasic/shared/03020302.xhp
new file mode 100644
index 0000000000..ab52b90844
--- /dev/null
+++ b/source/text/sbasic/shared/03020302.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Loc Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:25:02">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="loc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148663"><bookmark_value>Loc function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148663" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020302.xhp" name="Loc Function [Runtime]">Loc Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="2">Returns the current position in an open file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="4">Loc(FileNumber)</paragraph>
+<paragraph role="heading" id="hd_id3150440" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3152462" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="8">
+<emph>FileNumber:</emph> Any numeric expression that contains the file number that is set by the Open statement for the respective file.</paragraph>
+<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="9">If the Loc function is used for an open random access file, it returns the number of the last record that was last read or written.</paragraph>
+<paragraph role="paragraph" id="par_id3151115" xml-lang="en-US" l10n="U" oldref="10">For a sequential file, the Loc function returns the position in a file divided by 128. For binary files, the position of the last read or written byte is returned.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020303.xhp b/source/text/sbasic/shared/03020303.xhp
new file mode 100644
index 0000000000..5d3b09daa9
--- /dev/null
+++ b/source/text/sbasic/shared/03020303.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020303xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Lof Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:25:31">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="lof">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Lof function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020303.xhp" name="Lof Function [Runtime]">Lof Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3146794" xml-lang="en-US" l10n="U" oldref="2">Returns the size of an open file in bytes.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153380" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="4">Lof (FileNumber)</paragraph>
+</bascode>
+<paragraph role="heading" id="hd_id3154141" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3156281" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="8">
+<emph>FileNumber:</emph> Any numeric expression that contains the file number that is specified in the Open statement.</paragraph>
+<paragraph role="tip" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="9">To obtain the length of a file that is not open, use the <emph>FileLen</emph> function.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+<paragraph role="heading" id="hd_id3155415" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false" id="par_id3151074" xml-lang="en-US">Sub ExampleRandomAccess</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3145251" xml-lang="en-US">Dim iNumber As Integer</paragraph>
+<paragraph role="bascode" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="13">Dim sText As Variant REM must be a Variant</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3145646" xml-lang="en-US">Dim aFile As String</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3153157" xml-lang="en-US"> aFile = "c:\data.txt"</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149403" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149121" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="bascode" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="19"> Seek #iNumber,1 REM Position at start</paragraph>
+<paragraph role="bascode" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="20"> Put #iNumber,, "This is the first line of text" REM Fill with text</paragraph>
+<paragraph role="bascode" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="21"> Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph role="bascode" id="par_id3145643" xml-lang="en-US" l10n="U" oldref="22"> Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3156383" xml-lang="en-US"> Seek #iNumber,2</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3155333" xml-lang="en-US"> Get #iNumber,,sText</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149255" xml-lang="en-US"> Print sText</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3154702" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3153965" xml-lang="en-US"> iNumber = Freefile</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3163807" xml-lang="en-US"> Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3155607" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph role="bascode" id="par_id3150299" xml-lang="en-US" l10n="U" oldref="31"> Put #iNumber,,"This is a new line of text"</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3147002" xml-lang="en-US"> Get #iNumber,1,sText</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149036" xml-lang="en-US"> Get #iNumber,2,sText</paragraph>
+<paragraph role="bascode" id="par_id3166425" xml-lang="en-US" l10n="U" oldref="34"> Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3149817" xml-lang="en-US"> Print Lof(#iNumber)</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3146811" xml-lang="en-US"> Close #iNumber</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3154200" xml-lang="en-US">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020304.xhp b/source/text/sbasic/shared/03020304.xhp
new file mode 100644
index 0000000000..bdf472dc56
--- /dev/null
+++ b/source/text/sbasic/shared/03020304.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020304xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Seek Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-08T13:29:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="seek">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154367"><bookmark_value>Seek function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154367" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020304.xhp" name="Seek Function [Runtime]">Seek Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="CHG" oldref="2">Returns the position for the next writing or reading in a file that was opened with the open statement.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="3">For random access files, the Seek function returns the number of the next record to be read.</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="4">For all other files, the function returns the byte position at which the next operation is to occur.</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="5">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link>, <link href="text/sbasic/shared/03020305.xhp" name="Seek">Seek</link>.</paragraph>
+<paragraph role="heading" id="hd_id3152460" xml-lang="en-US" level="2" l10n="U" oldref="6">Syntax:</paragraph>
+<paragraph role="code" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="7">Seek (FileNumber)</paragraph>
+<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="8">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="9">Long</paragraph>
+<paragraph role="heading" id="hd_id3149665" xml-lang="en-US" level="2" l10n="U" oldref="10">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="CHG" oldref="11">
+<emph>FileNumber:</emph> The data channel number used in the Open statement.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020305.xhp b/source/text/sbasic/shared/03020305.xhp
new file mode 100644
index 0000000000..e7a3b7f9db
--- /dev/null
+++ b/source/text/sbasic/shared/03020305.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020305xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Seek Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-08T13:37:45">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>Seek statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020305.xhp" name="Seek Statement [Runtime]">Seek Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="CHG" oldref="2">Sets the position for the next writing or reading in a file that was opened with the Open statement.<comment>see #61751</comment></paragraph>
+<paragraph role="paragraph" id="par_id2100589" xml-lang="en-US" l10n="NEW">For random access files, the Seek statement sets the number of the next record to be accessed.</paragraph>
+<paragraph role="paragraph" id="par_id5444807" xml-lang="en-US" l10n="NEW">For all other files, the Seek statement sets the byte position at which the next operation is to occur.</paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="5">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link>, <link href="text/sbasic/shared/03020304.xhp" name="Seek">Seek</link>.</paragraph>
+<paragraph role="heading" id="hd_id3145785" xml-lang="en-US" level="2" l10n="U" oldref="6">Syntax:</paragraph>
+<paragraph role="code" id="par_id3145273" xml-lang="en-US" l10n="CHG" oldref="7">Seek[#FileNumber], Position (As Long)</paragraph>
+<paragraph role="heading" id="hd_id3154321" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="CHG" oldref="9">
+<emph>FileNumber: </emph>The data channel number used in the Open statement.</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Position: </emph>Position for the next writing or reading. Position can be a number between 1 and 2,147,483,647. According to the file type, the position indicates the number of the record (files in the Random mode) or the byte position (files in the Binary, Output, Append or Input mode). The first byte in a file is position 1, the second byte is position 2, and so on.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020400.xhp b/source/text/sbasic/shared/03020400.xhp
new file mode 100644
index 0000000000..9229c77f82
--- /dev/null
+++ b/source/text/sbasic/shared/03020400.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Managing Files</title>
+<filename>/text/sbasic/shared/03020400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="organisation">
+ <paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020400.xhp" name="Managing Files">Managing Files</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="2">The functions and statements for managing files are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03020401.xhp#chdir"/>
+ <embed href="text/sbasic/shared/03020402.xhp#chdrive"/>
+ <embed href="text/sbasic/shared/03020403.xhp#curdir"/>
+ <embed href="text/sbasic/shared/03020404.xhp#dir"/>
+ <embed href="text/sbasic/shared/03020405.xhp#fileattr"/>
+ <embed href="text/sbasic/shared/03020406.xhp#filecopy"/>
+ <embed href="text/sbasic/shared/03020407.xhp#filedatetime"/>
+ <embed href="text/sbasic/shared/03020415.xhp#fileexists"/>
+ <embed href="text/sbasic/shared/03020408.xhp#filelen"/>
+ <embed href="text/sbasic/shared/03020409.xhp#getattr"/>
+ <embed href="text/sbasic/shared/03020410.xhp#kill"/>
+ <embed href="text/sbasic/shared/03020411.xhp#mkdir"/>
+ <embed href="text/sbasic/shared/03020412.xhp#name"/>
+ <embed href="text/sbasic/shared/03020413.xhp#rmdir"/>
+ <embed href="text/sbasic/shared/03020414.xhp#setattr"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020401.xhp b/source/text/sbasic/shared/03020401.xhp
new file mode 100644
index 0000000000..6ea00b311a
--- /dev/null
+++ b/source/text/sbasic/shared/03020401.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020401xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ChDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-03-20T10:10:45">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="chdir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150178"><bookmark_value>ChDir statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150178" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020401.xhp" name="ChDir Statement [Runtime]">ChDir Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="2">Changes the current directory or drive.</paragraph>
+</section>
+<section id="i30692">
+<paragraph role="warning" id="par_id9783013" xml-lang="en-US" l10n="NEW">This runtime statement currently does not work as documented. See <link href="http://www.openoffice.org/issues/show_bug.cgi?id=30692">this issue</link> for more information.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="4">ChDir Text As String</paragraph>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that specifies the directory path or drive.</paragraph>
+<paragraph role="note" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="7">If you only want to change the current drive, enter the drive letter followed by a colon.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleChDir</paragraph>
+<paragraph role="code" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="10">Dim sDir1 as String , sDir2 as String</paragraph>
+<paragraph role="code" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="11">sDir1 = "c:\Test"</paragraph>
+<paragraph role="code" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="12">sDir2 = "d:\private"</paragraph>
+<paragraph role="code" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="13">ChDir( sDir1 )</paragraph>
+<paragraph role="code" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="14">msgbox CurDir</paragraph>
+<paragraph role="code" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="15">ChDir( sDir2 )</paragraph>
+<paragraph role="code" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="16">msgbox CurDir</paragraph>
+<paragraph role="code" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="17">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020402.xhp b/source/text/sbasic/shared/03020402.xhp
new file mode 100644
index 0000000000..bdf367d13b
--- /dev/null
+++ b/source/text/sbasic/shared/03020402.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020402xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ChDrive Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-09-19T11:27:43">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="chdrive">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>ChDrive statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020402.xhp" name="ChDrive Statement [Runtime]">ChDrive Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2">Changes the current drive.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03020401.xhp#i30692"/>
+<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">ChDrive Text As String</paragraph>
+<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that contains the drive letter of the new drive. If you want, you can use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="7">The drive must be assigned a capital letter. Under Windows, the letter that you assign the drive is restricted by the settings in LASTDRV. If the drive argument is a multiple-character string, only the first letter is relevant. If you attempt to access a non-existent drive, an error occurs that you can respond to with the OnError statement.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err68"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3153188" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleCHDrive</paragraph>
+<paragraph role="code" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="10">ChDrive "D" REM Only possible if a drive 'D' exists.</paragraph>
+<paragraph role="code" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="11">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020403.xhp b/source/text/sbasic/shared/03020403.xhp
new file mode 100644
index 0000000000..7fc3aba96d
--- /dev/null
+++ b/source/text/sbasic/shared/03020403.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020403xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CurDir Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-09-19T11:27:49">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="curdir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>CurDir function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020403.xhp">CurDir Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="2">Returns a variant string that represents the current path of the specified drive.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03020401.xhp#i30692"/>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="4">CurDir [(Text As String)]</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that specifies an existing drive (for example, "C" for the first partition of the first hard drive).</paragraph>
+<paragraph role="paragraph" id="par_id3155133" xml-lang="en-US" l10n="U" oldref="9">If no drive is specified or if the drive is a zero-length string (""), CurDir returns the path for the current drive. $[officename] Basic reports an error if the syntax of the drive description is incorrect, the drive does not exist, or if the drive letter occurs after the letter defined in the CONFIG.SYS with the Lastdrive statement.</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="10">This function is not case-sensitive.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err68"/>
+<embed href="text/sbasic/shared/00000003.xhp#err7"/>
+<embed href="text/sbasic/shared/00000003.xhp#err51"/>
+<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="code" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleCurDir</paragraph>
+<paragraph role="code" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="13">Dim sDir1 as String , sDir2 as String</paragraph>
+<paragraph role="code" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="14">sDir1 = "c:\Test"</paragraph>
+<paragraph role="code" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="15">sDir2 = "d:\private"</paragraph>
+<paragraph role="code" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="16">ChDir( sDir1 )</paragraph>
+<paragraph role="code" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="17">msgbox CurDir</paragraph>
+<paragraph role="code" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="18">ChDir( sDir2 )</paragraph>
+<paragraph role="code" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="19">msgbox CurDir</paragraph>
+<paragraph role="code" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="20">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020404.xhp b/source/text/sbasic/shared/03020404.xhp
new file mode 100644
index 0000000000..1039e79afa
--- /dev/null
+++ b/source/text/sbasic/shared/03020404.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020404xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Dir Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020404.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-09-27T17:09:01">converted from old format - fpe; bug fix: i29276</lastedited>
+</history>
+</meta>
+<body>
+<section id="dir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154347"><bookmark_value>Dir function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020404.xhp" name="Dir Function [Runtime]">Dir Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="2">Returns the name of a file, a directory, or all of the files and the directories on a drive or in a directory that match the specified search path.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="4">Dir [(Text As String) [, Attrib As Integer]]</paragraph>
+<paragraph role="heading" id="hd_id3156424" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that specifies the search path, directory or file. This argument can only be specified the first time that you call the Dir function. If you want, you can enter the path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Attrib: </emph>Any integer expression that specifies bitwise file attributes. The Dir function only returns files or directories that match the specified attributes. You can combine several attributes by adding the attribute values:</paragraph>
+<paragraph role="paragraph" id="par_id3149666" xml-lang="en-US" l10n="U" oldref="11">0 : Normal files.</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="15">16 : Returns the name of the directory only.</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="16">Use this attribute to check if a file or directory exists, or to determine all files and folders in a specific directory.</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="17">To check if a file exists, enter the complete path and name of the file. If the file or directory name does not exist, the Dir function returns a zero-length string ("").</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="18">To generate a list of all existing files in a specific directory, proceed as follows: The first time you call the Dir function, specify the complete search path for the files, for example, "D:\Files\*.sxw". If the path is correct and the search finds at least one file, the Dir function returns the name of the first file that matches the search path. To return additional file names that match the path, call Dir again, but with no arguments.</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="19">To return directories only, use the attribute parameter. The same applies if you want to determine the name of a volume (for example, a hard drive partition)</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err53"/>
+<paragraph role="heading" id="hd_id3154942" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+<paragraph role="code" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDir</paragraph>
+<paragraph role="code" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="22">REM Displays all files and directories</paragraph>
+<paragraph role="code" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="23">Dim sPath As String</paragraph>
+<paragraph role="code" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="24">Dim sDir as String, sValue as String</paragraph>
+<paragraph role="code" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="27">sDir="Directories:"</paragraph>
+<paragraph role="code" id="par_id3153838" xml-lang="en-US" l10n="U" oldref="29">sPath = CurDir</paragraph>
+<paragraph role="code" id="par_id3150327" xml-lang="en-US" l10n="CHG" oldref="30">sValue = Dir$(sPath + getPathSeparator + "*",16)</paragraph>
+<paragraph role="code" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="31">Do</paragraph>
+<paragraph role="code" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="32">If sValue &lt;&gt; "." and sValue &lt;&gt; ".." Then</paragraph>
+<paragraph role="code" id="par_id3155766" xml-lang="en-US" l10n="U" oldref="33">if (GetAttr( sPath + getPathSeparator + sValue) AND 16) &gt;0 then</paragraph>
+<paragraph role="code" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="34">REM get the directories</paragraph>
+<paragraph role="code" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="35">sDir = sDir &amp; chr(13) &amp; sValue</paragraph>
+<paragraph role="code" id="par_id3145148" xml-lang="en-US" l10n="U" oldref="43">End If</paragraph>
+<paragraph role="code" id="par_idN10700" xml-lang="en-US" l10n="NEW">End If</paragraph>
+<paragraph role="code" id="par_id3147324" xml-lang="en-US" l10n="U" oldref="44">sValue = Dir$</paragraph>
+<paragraph role="code" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="45">Loop Until sValue = ""</paragraph>
+<paragraph role="code" id="par_id3147345" xml-lang="en-US" l10n="U" oldref="46">MsgBox sDir,0,sPath</paragraph>
+<paragraph role="code" id="par_id3163808" xml-lang="en-US" l10n="U" oldref="48">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020405.xhp b/source/text/sbasic/shared/03020405.xhp
new file mode 100644
index 0000000000..29c37a8d63
--- /dev/null
+++ b/source/text/sbasic/shared/03020405.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020405xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FileAttr-Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020405.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:27:50">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="fileattr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153380"><bookmark_value>FileAttr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153380" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020405.xhp" name="FileAttr-Function [Runtime]">FileAttr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="2">Returns the access mode or the file access number of a file that was opened with the Open statement. The file access number is dependent on the operating system (OSH = Operating System Handle).</paragraph>
+</section>
+<paragraph role="note" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="3">If you use a 32-Bit operating system, you cannot use the FileAttr-Function to determine the file access number.</paragraph>
+<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="4">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link></paragraph>
+<paragraph role="heading" id="hd_id3151116" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="6">FileAttr (FileNumber As Integer, Attribute As Integer)</paragraph>
+<paragraph role="heading" id="hd_id3147349" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="8">Integer</paragraph>
+<paragraph role="heading" id="hd_id3153728" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="10">
+<emph>FileNumber:</emph> The number of the file that was opened with the Open statement.</paragraph>
+<paragraph role="paragraph" id="par_id3144766" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Attribute:</emph> Integer expression that indicates the type of file information that you want to return. The following values are possible:</paragraph>
+<paragraph role="paragraph" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="12">1: The FileAttr-Function indicates the access mode of the file.</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="13">2: The FileAttr-Function returns the file access number of the operating system.</paragraph>
+<paragraph role="paragraph" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="14">If you specify a parameter attribute with a value of 1, the following return values apply:</paragraph>
+<paragraph role="paragraph" id="par_id3149124" xml-lang="en-US" l10n="U" oldref="15">1 - INPUT (file open for input)</paragraph>
+<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="16">2 - OUTPUT (file open for output)</paragraph>
+<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="17">4 - RANDOM (file open for random access)</paragraph>
+<paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="U" oldref="18">8 - APPEND (file open for appending)</paragraph>
+<paragraph role="paragraph" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="19">32 - BINARY (file open in binary mode).</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+<paragraph role="heading" id="hd_id3147339" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+<paragraph role="code" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleFileAttr</paragraph>
+<paragraph role="code" id="par_id3145147" xml-lang="en-US" l10n="U" oldref="22">Dim iNumber As Integer</paragraph>
+<paragraph role="code" id="par_id3153966" xml-lang="en-US" l10n="U" oldref="23">Dim sLine As String</paragraph>
+<paragraph role="code" id="par_id3155336" xml-lang="en-US" l10n="U" oldref="24">Dim aFile As String</paragraph>
+<paragraph role="code" id="par_id3163807" xml-lang="en-US" l10n="U" oldref="25">aFile = "c:\data.txt"</paragraph>
+<paragraph role="code" id="par_id3154021" xml-lang="en-US" l10n="U" oldref="27">iNumber = Freefile</paragraph>
+<paragraph role="code" id="par_id3153786" xml-lang="en-US" l10n="U" oldref="28">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="code" id="par_id3155607" xml-lang="en-US" l10n="U" oldref="29">Print #iNumber, "This is a line of text"</paragraph>
+<paragraph role="code" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="30">MsgBox FileAttr(#iNumber, 1 ),0,"Access mode"</paragraph>
+<paragraph role="code" id="par_id3149817" xml-lang="en-US" l10n="U" oldref="31">MsgBox FileAttr(#iNumber, 2 ),0,"File attribute"</paragraph>
+<paragraph role="code" id="par_id3155115" xml-lang="en-US" l10n="U" oldref="32">Close #iNumber</paragraph>
+<paragraph role="code" id="par_id3147130" xml-lang="en-US" l10n="U" oldref="33">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020406.xhp b/source/text/sbasic/shared/03020406.xhp
new file mode 100644
index 0000000000..19ff88ae19
--- /dev/null
+++ b/source/text/sbasic/shared/03020406.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020406xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FileCopy Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020406.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:28:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="filecopy">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154840"><bookmark_value>FileCopy statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154840" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020406.xhp" name="FileCopy Statement [Runtime]">FileCopy Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149497" xml-lang="en-US" l10n="U" oldref="2">Copies a file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147443" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="4">FileCopy TextFrom As String, TextTo As String</paragraph>
+<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3155390" xml-lang="en-US" l10n="U" oldref="6">
+<emph>TextFrom:</emph> Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="7">
+<emph>TextTo:</emph> Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.</paragraph>
+<paragraph role="note" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="8">You can only use the FileCopy statement to copy files that are not opened.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleFilecopy</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="11">Filecopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="12">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020407.xhp b/source/text/sbasic/shared/03020407.xhp
new file mode 100644
index 0000000000..24ae04ddd5
--- /dev/null
+++ b/source/text/sbasic/shared/03020407.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020407xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FileDateTime Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020407.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:28:26">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="filedatetime">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>FileDateTime function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020407.xhp" name="FileDateTime Function [Runtime]">FileDateTime Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2">Returns a string that contains the date and the time that a file was created or last modified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="4">FileDateTime (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3150448" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that contains an unambiguous (no wildcards) file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="7">This function determines the exact time of creation or last modification of a file, returned in the format "MM.DD.YYYY HH.MM.SS".</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleFileDateTime</paragraph>
+<paragraph role="code" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="10">msgbox FileDateTime("C:\autoexec.bat")</paragraph>
+<paragraph role="code" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="11">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020408.xhp b/source/text/sbasic/shared/03020408.xhp
new file mode 100644
index 0000000000..ca2e86c9b9
--- /dev/null
+++ b/source/text/sbasic/shared/03020408.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020408xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FileLen-Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020408.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:28:40">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="filelen">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>FileLen function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020408.xhp" name="FileLen-Function [Runtime]">FileLen Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="2">Returns the length of a file in bytes.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159414" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="4">FileLen (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="9">This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3163710" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="code" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleFileLen</paragraph>
+<paragraph role="code" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="12">msgbox FileLen("C:\autoexec.bat")</paragraph>
+<paragraph role="code" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="13">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020409.xhp b/source/text/sbasic/shared/03020409.xhp
new file mode 100644
index 0000000000..4c2a38bbfc
--- /dev/null
+++ b/source/text/sbasic/shared/03020409.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020409xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GetAttr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020409.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:28:56">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="getattr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150984"><bookmark_value>GetAttr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020409.xhp" name="GetAttr Function [Runtime]">GetAttr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="2">Returns a bit pattern that identifies the file type or the name of a volume or a directory.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="4">GetAttr (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3145172" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="9">This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err53"/>
+<paragraph role="heading" id="hd_id3145364" xml-lang="en-US" level="2" l10n="U" oldref="10">Value</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="11">0 : Normal files.</paragraph>
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="12">1 : Read-only files.</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="15">8 : Returns the name of the volume</paragraph>
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="16">16 : Returns the name of the directory only.</paragraph>
+<paragraph role="paragraph" id="par_id3153953" xml-lang="en-US" l10n="U" oldref="17">32 : File was changed since last backup (Archive bit).</paragraph>
+<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="18">If you want to know if a bit of the attribute byte is set, use the following query method:</paragraph>
+<paragraph role="heading" id="hd_id3153094" xml-lang="en-US" level="2" l10n="U" oldref="19">Example:</paragraph>
+<paragraph role="code" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="20">Sub ExampleSetGetAttr</paragraph>
+<paragraph role="code" id="par_id3155415" xml-lang="en-US" l10n="U" oldref="21">On Error Goto ErrorHandler REM Define target for error-handler</paragraph>
+<paragraph role="code" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="22">If Dir("C:\test",16)="" Then MkDir "C:\test"</paragraph>
+<paragraph role="code" id="par_id3151075" xml-lang="en-US" l10n="U" oldref="23">If Dir("C:\test\autoexec.sav")="" THEN Filecopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="24">SetAttr "c:\test\autoexec.sav" ,0</paragraph>
+<paragraph role="code" id="par_id3153418" xml-lang="en-US" l10n="U" oldref="25">Filecopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3149122" xml-lang="en-US" l10n="U" oldref="26">SetAttr "c:\test\autoexec.sav" ,1</paragraph>
+<paragraph role="code" id="par_id3154480" xml-lang="en-US" l10n="U" oldref="27">print GetAttr( "c:\test\autoexec.sav" )</paragraph>
+<paragraph role="code" id="par_id3150753" xml-lang="en-US" l10n="U" oldref="28">end</paragraph>
+<paragraph role="code" id="par_id3150323" xml-lang="en-US" l10n="U" oldref="29">ErrorHandler:</paragraph>
+<paragraph role="code" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="30">Print Error</paragraph>
+<paragraph role="code" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="31">end</paragraph>
+<paragraph role="code" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="32">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020410.xhp b/source/text/sbasic/shared/03020410.xhp
new file mode 100644
index 0000000000..8d135b15fc
--- /dev/null
+++ b/source/text/sbasic/shared/03020410.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020410xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Kill Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020410.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:29:09">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="kill">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>Kill statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020410.xhp" name="Kill Statement [Runtime]">Kill Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US" l10n="U" oldref="2">Deletes a file from a disk.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150767" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">Kill File As String</paragraph>
+<paragraph role="heading" id="hd_id3153194" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="6">
+<emph>File:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="code" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="8">sub ExampleKill</paragraph>
+<paragraph role="code" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="9">Kill "C:\datafile.dat" REM File must be created in advance</paragraph>
+<paragraph role="code" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="10">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020411.xhp b/source/text/sbasic/shared/03020411.xhp
new file mode 100644
index 0000000000..0b44caf346
--- /dev/null
+++ b/source/text/sbasic/shared/03020411.xhp
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020411xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">MkDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020411.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="mkdir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156421"><bookmark_value>MkDir statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156421" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020411.xhp" name="MkDir Statement [Runtime]">MkDir Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147000" xml-lang="en-US" l10n="U" oldref="2">Creates a new directory on a data medium.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148520" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3155150" xml-lang="en-US" l10n="U" oldref="4">MkDir Text As String</paragraph>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153750" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that specifies the name and path of the directory to be created. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="7">If the path is not determined, the directory is created in the current directory.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3155388" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleFileIO</paragraph>
+<paragraph role="code" id="par_id3149762" xml-lang="en-US" l10n="CHG" oldref="10">' Example for functions of the file organization</paragraph>
+<paragraph role="code" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="11">Const sFile1 as String = "file://c|/autoexec.bat"</paragraph>
+<paragraph role="code" id="par_id3147264" xml-lang="en-US" l10n="U" oldref="12">Const sDir1 as String = "file://c|/Temp"</paragraph>
+<paragraph role="code" id="par_id3149669" xml-lang="en-US" l10n="U" oldref="13">Const sSubDir1 as String ="Test"</paragraph>
+<paragraph role="code" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="14">Const sFile2 as String = "Copied.tmp"</paragraph>
+<paragraph role="code" id="par_id3154071" xml-lang="en-US" l10n="U" oldref="15">Const sFile3 as String = "Renamed.tmp"</paragraph>
+<paragraph role="code" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="16">Dim sFile as String</paragraph>
+<paragraph role="code" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="17">sFile = sDir1 + "/" + sSubDir1</paragraph>
+<paragraph role="code" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="18">ChDir( sDir1 )</paragraph>
+<paragraph role="code" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="19">If Dir(sSubDir1,16)="" then ' Does the directory exist ?</paragraph>
+<paragraph role="code" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="20">MkDir sSubDir1</paragraph>
+<paragraph role="code" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="21">MsgBox sFile,0,"Create directory"</paragraph>
+<paragraph role="code" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="22">End If</paragraph>
+<paragraph role="code" id="par_id3148451" xml-lang="en-US" l10n="U" oldref="24">sFile = sFile + "/" + sFile2</paragraph>
+<paragraph role="code" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="25">FileCopy sFile1 , sFile</paragraph>
+<paragraph role="code" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="26">MsgBox fSysURL(CurDir()),0,"Current directory"</paragraph>
+<paragraph role="code" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="27">MsgBox sFile &amp; Chr(13) &amp; FileDateTime( sFile ),0,"Creation time"</paragraph>
+<paragraph role="code" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="28">MsgBox sFile &amp; Chr(13)&amp; FileLen( sFile ),0,"File length"</paragraph>
+<paragraph role="code" id="par_id3152885" xml-lang="en-US" l10n="U" oldref="29">MsgBox sFile &amp; Chr(13)&amp; GetAttr( sFile ),0,"File attributes"</paragraph>
+<paragraph role="code" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="30">Name sFile as sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
+<paragraph role="code" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="31">' Rename in the same directory</paragraph>
+<paragraph role="code" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="33">sFile = sDir1 + "/" + sSubDir1 + "/" + sFile3</paragraph>
+<paragraph role="code" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="34">SetAttr( sFile, 0 ) 'Delete all attributes</paragraph>
+<paragraph role="code" id="par_id3148647" xml-lang="en-US" l10n="U" oldref="35">MsgBox sFile &amp; Chr(13) &amp; GetAttr( sFile ),0,"New file attributes"</paragraph>
+<paragraph role="code" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="36">Kill sFile</paragraph>
+<paragraph role="code" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="37">RmDir sDir1 + "/" + sSubDir1</paragraph>
+<paragraph role="code" id="par_id3153157" xml-lang="en-US" l10n="U" oldref="38">end sub</paragraph>
+<paragraph role="code" id="par_id3150092" xml-lang="en-US" l10n="U" oldref="40">' Converts a system path in URL</paragraph>
+<paragraph role="code" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="41">Function fSysURL( fSysFp as String ) as String</paragraph>
+<paragraph role="code" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="42">Dim iPos As String</paragraph>
+<paragraph role="code" id="par_id3150420" xml-lang="en-US" l10n="U" oldref="43">iPos = 1</paragraph>
+<paragraph role="code" id="par_id3145253" xml-lang="en-US" l10n="U" oldref="44">iPos = Instr(iPos,fSysFp, getPathSeparator())</paragraph>
+<paragraph role="code" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="45">do while iPos &gt; 0</paragraph>
+<paragraph role="code" id="par_id3153512" xml-lang="en-US" l10n="U" oldref="46">mid( fSysFp, iPos , 1,"/")</paragraph>
+<paragraph role="code" id="par_id3146899" xml-lang="en-US" l10n="U" oldref="47">iPos = Instr(iPos+1,fSysFp, getPathSeparator())</paragraph>
+<paragraph role="code" id="par_id3145652" xml-lang="en-US" l10n="U" oldref="48">loop</paragraph>
+<paragraph role="code" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="49">' the colon with DOS</paragraph>
+<paragraph role="code" id="par_id3146913" xml-lang="en-US" l10n="U" oldref="50">iPos = Instr(1,fSysFp,":")</paragraph>
+<paragraph role="code" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="51">if iPos &gt; 0 then mid( fSysFp, iPos , 1,"|")</paragraph>
+<paragraph role="code" id="par_id3155443" xml-lang="en-US" l10n="U" oldref="52">fSysURL = "file://" &amp; fSysFp</paragraph>
+<paragraph role="code" id="par_id3148995" xml-lang="en-US" l10n="U" oldref="53">End Function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020412.xhp b/source/text/sbasic/shared/03020412.xhp
new file mode 100644
index 0000000000..de02a33586
--- /dev/null
+++ b/source/text/sbasic/shared/03020412.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020412xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Name Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020412.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-04-26T12:58:05">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="name">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>Name statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020412.xhp" name="Name Statement [Runtime]">Name Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="2">Renames an existing file or directory.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="4">Name OldName As String As NewName As String</paragraph>
+<paragraph role="heading" id="hd_id3153362" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US" l10n="U" oldref="6">
+<emph>OldName, NewName:</emph> Any string expression that specifies the file name, including the path. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph><comment>see #i61074</comment>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleReName</paragraph>
+<paragraph role="code" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="10">On Error Goto Error</paragraph>
+<paragraph role="code" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="11">Filecopy "c:\autoexec.bat", "c:\temp\autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3156444" xml-lang="en-US" l10n="CHG" oldref="12">Name "c:\temp\autoexec.sav" as "c:\temp\autoexec.bat"</paragraph>
+<paragraph role="code" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="13">end</paragraph>
+<paragraph role="code" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="14">Error:</paragraph>
+<paragraph role="code" id="par_id3153951" xml-lang="en-US" l10n="CHG" oldref="15">if err = 58 then</paragraph>
+<paragraph role="code" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="16">msgbox "File already exists"</paragraph>
+<paragraph role="code" id="par_id3149263" xml-lang="en-US" l10n="U" oldref="17">end if</paragraph>
+<paragraph role="code" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="18">end</paragraph>
+<paragraph role="code" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="19">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020413.xhp b/source/text/sbasic/shared/03020413.xhp
new file mode 100644
index 0000000000..9dbb1e0425
--- /dev/null
+++ b/source/text/sbasic/shared/03020413.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020413xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">RmDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020413.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:32:05">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rmdir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>RmDir statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020413.xhp" name="RmDir Statement [Runtime]">RmDir Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="2">Deletes an existing directory from a data medium.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="4">RmDir Text As String</paragraph>
+<paragraph role="heading" id="hd_id3156281" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that specifies the name and path of the directory that you want to delete. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="7">If the path is not determined, the <emph>RmDir Statement</emph> searches for the directory that you want to delete in the current path. If it is not found there, an error message appears.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err76"/>
+<paragraph role="heading" id="hd_id3145271" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="code" id="par_id3156442" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleRmDir</paragraph>
+<paragraph role="code" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="10">MkDir "C:\Test2"</paragraph>
+<paragraph role="code" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="11">ChDir "C:\test2"</paragraph>
+<paragraph role="code" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="12">msgbox Curdir</paragraph>
+<paragraph role="code" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="13">ChDir "\"</paragraph>
+<paragraph role="code" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">RmDir "C:\test2"</paragraph>
+<paragraph role="code" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020414.xhp b/source/text/sbasic/shared/03020414.xhp
new file mode 100644
index 0000000000..a2dbedb627
--- /dev/null
+++ b/source/text/sbasic/shared/03020414.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020414xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">SetAttr Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020414.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:32:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="setattr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147559"><bookmark_value>SetAttr statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147559" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020414.xhp" name="SetAttr Statement [Runtime]">SetAttr Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147264" xml-lang="en-US" l10n="U" oldref="2">Sets the attribute information for a specified file.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150359" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="4">SetAttr FileName As String, Attribute As Integer</paragraph>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="6">FileName: Name of the file, including the path, that you want to test attributes of. If you do not enter a path, <emph>SetAttr</emph> searches for the file in the current directory. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Attribute:</emph> Bit pattern defining the attributes that you want to set or to clear:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Value</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="9">0 : Normal files.</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="10">1 : Read-only files.</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="13">32 : File was changed since last backup (Archive bit).</paragraph>
+<paragraph role="paragraph" id="par_id3153093" xml-lang="en-US" l10n="U" oldref="14">You can set multiple attributes by combining the respective values with a logic OR statement.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err53"/>
+<embed href="text/sbasic/shared/00000003.xhp#err70"/>
+<paragraph role="heading" id="hd_id3147434" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="code" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleSetGetAttr</paragraph>
+<paragraph role="code" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="17">On Error Goto ErrorHandler REM Define target for error-handler</paragraph>
+<paragraph role="code" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="18">If Dir("C:\test",16)="" Then MkDir "C:\test"</paragraph>
+<paragraph role="code" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="19">If Dir("C:\test\autoexec.sav")="" THEN Filecopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="20">SetAttr "c:\test\autoexec.sav" ,0</paragraph>
+<paragraph role="code" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="21">Filecopy "c:\autoexec.bat", "c:\test\autoexec.sav"</paragraph>
+<paragraph role="code" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="22">SetAttr "c:\test\autoexec.sav" ,1</paragraph>
+<paragraph role="code" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="23">print GetAttr( "c:\test\autoexec.sav" )</paragraph>
+<paragraph role="code" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="24">end</paragraph>
+<paragraph role="code" id="par_id3149121" xml-lang="en-US" l10n="U" oldref="25">ErrorHandler:</paragraph>
+<paragraph role="code" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="26">Print Error</paragraph>
+<paragraph role="code" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="27">end</paragraph>
+<paragraph role="code" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="28">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03020415.xhp b/source/text/sbasic/shared/03020415.xhp
new file mode 100644
index 0000000000..4b1e4fd9c2
--- /dev/null
+++ b/source/text/sbasic/shared/03020415.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020415xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FileExists Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020415.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-01T15:32:29">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="fileexists">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148946"><bookmark_value>FileExists function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148946" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020415.xhp" name="FileExists Function [Runtime]">FileExists Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="2">Determines if a file or a directory is available on the data medium.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">FileExists(FileName As String | DirectoryName As String)</paragraph>
+<paragraph role="heading" id="hd_id3154126" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="8">FileName | DirectoryName: Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_id3145272" xml-lang="en-US" l10n="U" oldref="10">sub ExampleFileExists</paragraph>
+<paragraph role="code" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="12">msgbox FileExists("C:\autoexec.bat")</paragraph>
+<paragraph role="code" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="13">msgbox FileExists("file:///d|/bookmark.htm")</paragraph>
+<paragraph role="code" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="14">msgbox FileExists("file:///d|/private")</paragraph>
+<paragraph role="code" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030000.xhp b/source/text/sbasic/shared/03030000.xhp
new file mode 100644
index 0000000000..c0dcde2efe
--- /dev/null
+++ b/source/text/sbasic/shared/03030000.xhp
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Date and Time Functions</title>
+<filename>/text/sbasic/shared/03030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="datumzeit">
+ <paragraph id="hd_id3150502" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030000.xhp" name="Date and Time Functions">Date and Time Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153255" l10n="U" xml-lang="en-US" oldref="2">Use the statements and functions described here to perform date and time calculations.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3152363" xml-lang="en-US" oldref="3"><item type="productname">%PRODUCTNAME</item> Basic lets you calculate time or date differences by converting the time and date values to continuous numeric values. After the difference is calculated, special functions are used to reconvert the values to the standard time or date formats.</paragraph>
+ <paragraph xml-lang="en-US" role="tip" id="par_id3151054" l10n="U" oldref="4">You can combine date and time values into a single floating-decimal number. Dates are converted to integers, and times to decimal values. <item type="productname">%PRODUCTNAME</item> Basic also supports the variable type Date, which can contain a time specification consisting of both a date and time.</paragraph>
+ <embed href="text/sbasic/shared/03030100.xhp#datumswerte"/>
+ <embed href="text/sbasic/shared/03030200.xhp#uhrzeiten"/>
+ <embed href="text/sbasic/shared/03030300.xhp#ermitteln"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030100.xhp b/source/text/sbasic/shared/03030100.xhp
new file mode 100644
index 0000000000..1489f80a32
--- /dev/null
+++ b/source/text/sbasic/shared/03030100.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Converting Date Values</title>
+<filename>/text/sbasic/shared/03030100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-25T13:52:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="datumswerte">
+<paragraph role="heading" id="hd_id3147573" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030100.xhp" name="Converting Date Values">Converting Date Values</link></paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="2">The following functions convert date values to calculable numbers and back.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03030101.xhp#dateserial"/>
+<embed href="text/sbasic/shared/03030102.xhp#datevalue"/>
+<embed href="text/sbasic/shared/03030103.xhp#day"/>
+<embed href="text/sbasic/shared/03030104.xhp#month"/>
+<embed href="text/sbasic/shared/03030105.xhp#weekday"/>
+<embed href="text/sbasic/shared/03030106.xhp#year"/>
+<embed href="text/sbasic/shared/03030107.xhp#cdatetoiso"/>
+<embed href="text/sbasic/shared/03030108.xhp#cdatefromiso"/>
+<embed href="text/sbasic/shared/03030110.xhp#dateadd"/>
+<embed href="text/sbasic/shared/03030120.xhp#datediff"/>
+<embed href="text/sbasic/shared/03030130.xhp#datepart"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030101.xhp b/source/text/sbasic/shared/03030101.xhp
new file mode 100644
index 0000000000..c088a10fb6
--- /dev/null
+++ b/source/text/sbasic/shared/03030101.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DateSerial Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-10-30T11:41:13">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="dateserial">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>DateSerial function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3157896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030101.xhp" name="DateSerial Function [Runtime]">DateSerial Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="2">Returns a <emph>Date</emph> value for a specified year, month, or day.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="4">DateSerial (year, month, day)</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
+<paragraph role="heading" id="hd_id3154141" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Year:</emph> Integer expression that indicates a year. All values between 0 and 99 are interpreted as the years 1900-1999. For years that fall outside this range, you must enter all four digits.</paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Month:</emph> Integer expression that indicates the month of the specified year. The accepted range is from 1-12.</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="CHG" oldref="10">
+<emph>Day:</emph> Integer expression that indicates the day of the specified month. The accepted range is from 1-31. No error is returned when you enter a non-existing day for a month shorter than 31 days.<comment>see i69463</comment></paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="11">The <emph>DateSerial function</emph> returns the number of days between December 30,1899 and the given date. You can use this function to calculate the difference between two dates.</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="12">The <emph>DateSerial function</emph> returns the data type Variant with VarType 7 (Date). Internally, this value is stored as a Double value, so that when the given date is 1.1.1900, the returned value is 2. Negative values correspond to dates before December 30, 1899 (not inclusive).</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="13">If a date is defined that lies outside of the accepted range, $[officename] Basic returns an error message.</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="14">Whereas you define the <emph>DateValue function</emph> as a string that contains the date, the <emph>DateSerial function</emph> evaluates each of the parameters (year, month, day) as separate numeric expressions.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3148646" xml-lang="en-US" localize="false">Sub ExampleDateSerial</paragraph>
+<paragraph role="bascode" id="par_id3156441" xml-lang="en-US" localize="false">Dim lDate As Long</paragraph>
+<paragraph role="bascode" id="par_id3154791" xml-lang="en-US" localize="false">Dim sDate As String</paragraph>
+<paragraph role="bascode" id="par_id3155415" xml-lang="en-US" localize="false"> lDate = DateSerial(1964, 4, 9)</paragraph>
+<paragraph role="bascode" id="par_id3147125" xml-lang="en-US" localize="false"> sDate = DateSerial(1964, 4, 9)</paragraph>
+<paragraph role="bascode" id="par_id3154942" xml-lang="en-US"> MsgBox lDate ' returns 23476</paragraph>
+<paragraph role="bascode" id="par_id3151074" xml-lang="en-US"> MsgBox sDate ' returns 04/09/1964</paragraph>
+<paragraph role="bascode" id="par_id3153878" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030102.xhp b/source/text/sbasic/shared/03030102.xhp
new file mode 100644
index 0000000000..78b8e8e555
--- /dev/null
+++ b/source/text/sbasic/shared/03030102.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DateValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-06-27T11:15:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="datevalue">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156344"><bookmark_value>DateValue function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030102.xhp" name="DateValue Function [Runtime]">DateValue Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150542" xml-lang="en-US" l10n="CHG" oldref="2">Returns a date value from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148799" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="U" oldref="4">DateValue [(date)]</paragraph>
+<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="CHG" oldref="6">Date<comment>i66764</comment></paragraph>
+<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Date:</emph> String expression that contains the date that you want to calculate. The date can be specified in almost any format.</paragraph>
+<paragraph role="paragraph" id="par_id3153189" xml-lang="en-US" l10n="U" oldref="22">You can use this function to convert a date that occurs between December 1, 1582 and December 31, 9999 into a single integer value. You can then use this value to calculate the difference between two dates. If the date argument lies outside the acceptable range, $[officename] Basic returns an error message.</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="23">In contrast to the DateSerial function that passes years, months, and days as separate numeric values, the DateValue function passes the date using the format "month.[,]day.[,]year".</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153142" xml-lang="en-US" level="2" l10n="U" oldref="24">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3155412" xml-lang="en-US" localize="false">Sub ExampleDateValue</paragraph>
+<paragraph role="bascode" id="par_id3153363" xml-lang="en-US" localize="false"> MsgBox DateValue("12/02/2011")</paragraph>
+<paragraph role="bascode" id="par_id3149262" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030103.xhp b/source/text/sbasic/shared/03030103.xhp
new file mode 100644
index 0000000000..38c735eedf
--- /dev/null
+++ b/source/text/sbasic/shared/03030103.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Day Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:22:33">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="day">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>Day function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030103.xhp" name="Day Function [Runtime]">Day Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="2">Returns a value that represents the day of the month based on a serial date number generated by <emph>DateSerial</emph> or <emph>DateValue</emph>.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="4">Day (Number)</paragraph>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3125865" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150448" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> A numeric expression that contains a serial date number from which you can determine the day of the month.</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="9">This function is basically the opposite of the DateSerial function, returning the day of the month from a serial date number generated by the <emph>DateSerial</emph> or the <emph>DateValue</emph> function. For example, the expression</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3145364" xml-lang="en-US" localize="false">Print Day (DateSerial(1994, 12, 20))</paragraph>
+</bascode>
+<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="11">returns the value 20.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149481" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3155413" xml-lang="en-US" localize="false">Sub ExampleDay</paragraph>
+<paragraph role="bascode" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="14"> Print "Day " &amp; Day(DateSerial(1994, 12, 20)) &amp; " of the month"</paragraph>
+<paragraph role="bascode" id="par_id3148645" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030104.xhp b/source/text/sbasic/shared/03030104.xhp
new file mode 100644
index 0000000000..6addc46728
--- /dev/null
+++ b/source/text/sbasic/shared/03030104.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030104xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Month Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:41:09">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="month">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>Month function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030104.xhp" name="Month Function [Runtime]">Month Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US" l10n="U" oldref="2">Returns the month of a year from a serial date that is generated by the DateSerial or the DateValue function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="4">Month (Number)</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Numeric expression that contains the serial date number that is used to determine the month of the year.</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="9">This function is the opposite of the <emph>DateSerial </emph>function. It returns the month in the year that corresponds to the serial date that is generated by <emph>DateSerial</emph> or <emph>DateValue</emph>. For example, the expression</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3147426" xml-lang="en-US" localize="false">Print Month(DateSerial(1994, 12, 20))</paragraph>
+</bascode>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="11">returns the value 12.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3146923" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3156442" xml-lang="en-US" localize="false">Sub ExampleMonth</paragraph>
+<paragraph role="bascode" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="14"> MsgBox "" &amp; Month(Now) ,64,"The current month"</paragraph>
+<paragraph role="bascode" id="par_id3150012" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030105.xhp b/source/text/sbasic/shared/03030105.xhp
new file mode 100644
index 0000000000..10245b3444
--- /dev/null
+++ b/source/text/sbasic/shared/03030105.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030105xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">WeekDay Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030105.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:55:15">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="weekday">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>WeekDay function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030105.xhp" name="WeekDay Function [Runtime]">WeekDay Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="2">Returns the number corresponding to the weekday represented by a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="4">WeekDay (Number)</paragraph>
+<paragraph role="heading" id="hd_id3148799" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the day of the week (1-7).</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="9">The following example determines the day of the week using the WeekDay function when you enter a date.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148616" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3145749" xml-lang="en-US" localize="false">Sub ExampleWeekDay</paragraph>
+<paragraph role="bascode" id="par_id3147426" xml-lang="en-US" localize="false">Dim sDay As String</paragraph>
+<paragraph role="bascode" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="13">' Return And display the day of the week</paragraph>
+<paragraph role="bascode" id="par_id3155412" xml-lang="en-US" localize="false"> Select Case WeekDay( Now )</paragraph>
+<paragraph role="bascode" id="par_id3155306" xml-lang="en-US" localize="false"> Case 1</paragraph>
+<paragraph role="bascode" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="16"> sDay="Sunday"</paragraph>
+<paragraph role="bascode" id="par_id3152460" xml-lang="en-US" localize="false"> Case 2</paragraph>
+<paragraph role="bascode" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="18"> sDay="Monday"</paragraph>
+<paragraph role="bascode" id="par_id3149666" xml-lang="en-US" localize="false"> Case 3</paragraph>
+<paragraph role="bascode" id="par_id3153157" xml-lang="en-US" l10n="U" oldref="20"> sDay="Tuesday"</paragraph>
+<paragraph role="bascode" id="par_id3154730" xml-lang="en-US" localize="false"> Case 4</paragraph>
+<paragraph role="bascode" id="par_id3154942" xml-lang="en-US" l10n="U" oldref="22"> sDay="Wednesday"</paragraph>
+<paragraph role="bascode" id="par_id3145799" xml-lang="en-US" localize="false"> Case 5</paragraph>
+<paragraph role="bascode" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="24"> sDay="Thursday"</paragraph>
+<paragraph role="bascode" id="par_id3150716" xml-lang="en-US" localize="false"> Case 6</paragraph>
+<paragraph role="bascode" id="par_id3154015" xml-lang="en-US" l10n="U" oldref="26"> sDay="Friday"</paragraph>
+<paragraph role="bascode" id="par_id3146971" xml-lang="en-US" localize="false"> Case 7</paragraph>
+<paragraph role="bascode" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="28"> sDay="Saturday"</paragraph>
+<paragraph role="bascode" id="par_id3155065" xml-lang="en-US" localize="false"> End Select</paragraph>
+<paragraph role="bascode" id="par_id3148993" xml-lang="en-US" l10n="U" oldref="30"> MsgBox "" + sDay,64,"Today Is"</paragraph>
+<paragraph role="bascode" id="par_id3149019" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030106.xhp b/source/text/sbasic/shared/03030106.xhp
new file mode 100644
index 0000000000..544c63fdf2
--- /dev/null
+++ b/source/text/sbasic/shared/03030106.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030106xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Year Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030106.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:57:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="year">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148664"><bookmark_value>Year function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030106.xhp" name="Year Function [Runtime]">Year Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="2">Returns the year from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="4">Year (Number)</paragraph>
+<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150440" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the year.</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="9">This function is the opposite of the <emph>DateSerial </emph>function, and returns the year of a serial date. For example, the expression:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3154319" xml-lang="en-US" localize="false">Print Year(DateSerial(1994, 12, 20))</paragraph>
+</bascode>
+<paragraph role="paragraph" id="par_id3149483" xml-lang="en-US" l10n="U" oldref="11">returns the value 1994.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3146985" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3153952" xml-lang="en-US" localize="false">Sub ExampleYear</paragraph>
+<paragraph role="bascode" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="14"> MsgBox "" &amp; Year(Now) ,64,"Current year"</paragraph>
+<paragraph role="bascode" id="par_id3145274" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030107.xhp b/source/text/sbasic/shared/03030107.xhp
new file mode 100644
index 0000000000..4ea3d4dd1c
--- /dev/null
+++ b/source/text/sbasic/shared/03030107.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030107xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CDateToIso Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030107.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:53:34">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cdatetoiso">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150620"><bookmark_value>CdateToIso function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150620" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030107.xhp" name="CDateToIso Function [Runtime]">CDateToIso Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3151097" xml-lang="en-US" l10n="U" oldref="2">Returns the date in ISO format from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149497" xml-lang="en-US" l10n="U" oldref="4">CDateToIso(Number)</paragraph>
+<paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Integer that contains the serial date number.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleCDateToIso</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="11">MsgBox "" &amp; CDateToIso(Now) ,64,"ISO Date"</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="12">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030108.xhp b/source/text/sbasic/shared/03030108.xhp
new file mode 100644
index 0000000000..3d92632be8
--- /dev/null
+++ b/source/text/sbasic/shared/03030108.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030108xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CDateFromIso Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030108.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:53:04">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cdatefromiso">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>CdateFromIso function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030108.xhp" name="CDateFromIso Function [Runtime]">CDateFromIso Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US" l10n="U" oldref="2">Returns the internal date number from a string that contains a date in ISO format.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="4">CDateFromIso(String)</paragraph>
+<paragraph role="heading" id="hd_id3154367" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="6">Internal date number</paragraph>
+<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="8">
+<emph>String:</emph> A string that contains a date in ISO format. The year may have two or four digits.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="10">dateval = CDateFromIso("20021231")</paragraph>
+<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="11">returns 12/31/2002 in the date format of your system</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030110.xhp b/source/text/sbasic/shared/03030110.xhp
new file mode 100644
index 0000000000..465e018dcf
--- /dev/null
+++ b/source/text/sbasic/shared/03030110.xhp
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030110xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DateAdd Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030110.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T12:44:45">DateAdd</created>
+<lastedited date="2005-04-26T10:20:22">checked</lastedited>
+</history>
+</meta>
+<body>
+<section id="dateadd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6269417"><bookmark_value>DateAdd function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03030110.xhp">DateAdd Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US" l10n="NEW">Adds a date interval to a given date a number of times and returns the resulting date.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1055B" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN1055F" xml-lang="en-US" l10n="NEW">DateAdd (Add, Count, Date)</paragraph>
+<paragraph role="heading" id="par_idN1061E" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN10622" xml-lang="en-US" l10n="NEW">A Variant containing a date.</paragraph>
+<paragraph role="heading" id="par_idN10625" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN10629" xml-lang="en-US" l10n="NEW">Add - A string expression from the following table, specifying the date interval.</paragraph>
+<section id="datetable">
+<table id="tbl_id7568285">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN10636" xml-lang="en-US" l10n="NEW">Add (string value)</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN1063C" xml-lang="en-US" l10n="NEW">Explanation</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10643" xml-lang="en-US" l10n="NEW">yyyy</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10649" xml-lang="en-US" l10n="NEW">Year</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10650" xml-lang="en-US" l10n="NEW">q</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10656" xml-lang="en-US" l10n="NEW">Quarter</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1065D" xml-lang="en-US" l10n="NEW">m</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10663" xml-lang="en-US" l10n="NEW">Month</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1066A" xml-lang="en-US" l10n="NEW">y</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10670" xml-lang="en-US" l10n="NEW">Day of year</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10677" xml-lang="en-US" l10n="NEW">w</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1067D" xml-lang="en-US" l10n="NEW">Weekday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10684" xml-lang="en-US" l10n="NEW">ww</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1068A" xml-lang="en-US" l10n="NEW">Week of year</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10691" xml-lang="en-US" l10n="NEW">d</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10697" xml-lang="en-US" l10n="NEW">Day</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1069E" xml-lang="en-US" l10n="NEW">h</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106A4" xml-lang="en-US" l10n="NEW">Hour</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106AB" xml-lang="en-US" l10n="NEW">n</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106B1" xml-lang="en-US" l10n="NEW">Minute</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106B8" xml-lang="en-US" l10n="NEW">s</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106BE" xml-lang="en-US" l10n="NEW">Second</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<paragraph role="paragraph" id="par_idN106C1" xml-lang="en-US" l10n="NEW">Count - A numerical expression specifying how often the Add interval will be added (Count is positive) or subtracted (Count is negative).</paragraph>
+<paragraph role="paragraph" id="par_idN106C4" xml-lang="en-US" l10n="NEW">Date - A given date or the name of a Variant variable containing a date. The Add value will be added Count times to this value.</paragraph>
+<paragraph role="heading" id="par_idN106C7" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="code" id="par_idN106CB" xml-lang="en-US" l10n="NEW">Sub example_dateadd</paragraph>
+<paragraph role="code" id="par_idN106CE" xml-lang="en-US" l10n="NEW">msgbox DateAdd("m", 1, "1/31/2004") &amp;" - "&amp; DateAdd("m", 1, "1/31/2005")</paragraph>
+<paragraph role="code" id="par_idN106D1" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030120.xhp b/source/text/sbasic/shared/03030120.xhp
new file mode 100644
index 0000000000..cdde5b22e2
--- /dev/null
+++ b/source/text/sbasic/shared/03030120.xhp
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030120xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DateDiff Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030120.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T13:20:42">DateDiff</created>
+<lastedited date="2005-04-26T10:55:34">checked</lastedited>
+</history>
+</meta>
+<body>
+<section id="datediff">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6134830"><bookmark_value>DateDiff function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10542" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03030120.xhp">DateDiff Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10546" xml-lang="en-US" l10n="NEW">Returns the number of date intervals between two given date values.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10549" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10648" xml-lang="en-US" l10n="NEW">DateDiff (Add, Date1, Date2 [, Week_start [, Year_start]])</paragraph>
+<paragraph role="heading" id="par_idN1064B" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN1064F" xml-lang="en-US" l10n="NEW">A number.</paragraph>
+<paragraph role="heading" id="par_idN10652" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN10656" xml-lang="en-US" l10n="NEW">
+<emph>Add</emph> - A string expression from the following table, specifying the date interval.</paragraph>
+<embed href="text/sbasic/shared/03030110.xhp#datetable"/>
+<paragraph role="paragraph" id="par_idN10664" xml-lang="en-US" l10n="NEW">
+<emph>Date1, Date2</emph> - The two date values to be compared.</paragraph>
+<section id="weekyear">
+<paragraph role="paragraph" id="par_idN1066A" xml-lang="en-US" l10n="NEW">
+<emph>Week_start</emph> - An optional parameter that specifies the starting day of a week. </paragraph>
+<table id="tbl_id8356883">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN1067A" xml-lang="en-US" l10n="NEW">Week_start value</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN10680" xml-lang="en-US" l10n="NEW">Explanation</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10687" xml-lang="en-US" l10n="NEW">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1068D" xml-lang="en-US" l10n="NEW">Use system default value</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10694" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1069A" xml-lang="en-US" l10n="NEW">Sunday (default)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106A1" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106A7" xml-lang="en-US" l10n="NEW">Monday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106AE" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106B4" xml-lang="en-US" l10n="NEW">Tuesday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106BB" xml-lang="en-US" l10n="NEW">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106C1" xml-lang="en-US" l10n="NEW">Wednesday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106C8" xml-lang="en-US" l10n="NEW">5</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106CE" xml-lang="en-US" l10n="NEW">Thursday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106D5" xml-lang="en-US" l10n="NEW">6</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106DB" xml-lang="en-US" l10n="NEW">Friday</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106E2" xml-lang="en-US" l10n="NEW">7</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN106E8" xml-lang="en-US" l10n="NEW">Saturday</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_idN106EB" xml-lang="en-US" l10n="NEW">
+<emph>Year_start</emph> - An optional parameter that specifies the starting week of a year. </paragraph>
+<table id="tbl_id1173436">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN106FB" xml-lang="en-US" l10n="NEW">Year_start value</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_idN10701" xml-lang="en-US" l10n="NEW">Explanation</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10708" xml-lang="en-US" l10n="NEW">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1070E" xml-lang="en-US" l10n="NEW">Use system default value</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10715" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1071B" xml-lang="en-US" l10n="NEW">Week 1 is the week with January, 1st (default)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10722" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10728" xml-lang="en-US" l10n="NEW">Week 1 is the first week containing four or more days of that year</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN1072F" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_idN10735" xml-lang="en-US" l10n="NEW">Week 1 is the first week containing only days of the new year</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<paragraph role="heading" id="par_idN10738" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="code" id="par_idN1073C" xml-lang="en-US" l10n="NEW">Sub example_datediff</paragraph>
+<paragraph role="code" id="par_idN1073F" xml-lang="en-US" l10n="NEW">msgbox DateDiff("d", "1/1/2005", "12/31/2005")</paragraph>
+<paragraph role="code" id="par_idN10742" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030130.xhp b/source/text/sbasic/shared/03030130.xhp
new file mode 100644
index 0000000000..6f4177a00e
--- /dev/null
+++ b/source/text/sbasic/shared/03030130.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030130xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DatePart Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030130.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T13:49:19">DatePart</created>
+<lastedited date="2006-01-23T13:27:35">checked</lastedited>
+</history>
+</meta>
+<body>
+<section id="datepart">
+<bookmark xml-lang="en-US" branch="index" id="bm_id249946"><bookmark_value>DatePart function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10542" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03030130.xhp">DatePart Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10546" xml-lang="en-US" l10n="CHG">The DatePart function returns a specified part of a date.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10549" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN105E8" xml-lang="en-US" l10n="NEW">DatePart (Add, Date [, Week_start [, Year_start]])</paragraph>
+<paragraph role="heading" id="par_idN105EB" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN105EF" xml-lang="en-US" l10n="CHG">A Variant containing a date.</paragraph>
+<paragraph role="heading" id="par_idN105F2" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN105F6" xml-lang="en-US" l10n="NEW">
+<emph>Add</emph> - A string expression from the following table, specifying the date interval.</paragraph>
+<embed href="text/sbasic/shared/03030110.xhp#datetable"/>
+<paragraph role="paragraph" id="par_idN10604" xml-lang="en-US" l10n="NEW">
+<emph>Date</emph> - The date from which the result is calculated.</paragraph>
+<embed href="text/sbasic/shared/03030120.xhp#weekyear"/>
+<paragraph role="heading" id="par_idN10611" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="code" id="par_idN10615" xml-lang="en-US" l10n="NEW">Sub example_datepart</paragraph>
+<paragraph role="code" id="par_idN10618" xml-lang="en-US" l10n="NEW">msgbox DatePart("ww", "12/31/2005")</paragraph>
+<paragraph role="code" id="par_idN1061B" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030200.xhp b/source/text/sbasic/shared/03030200.xhp
new file mode 100644
index 0000000000..c6b8fea8f7
--- /dev/null
+++ b/source/text/sbasic/shared/03030200.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Converting Time Values</title>
+<filename>/text/sbasic/shared/03030200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="uhrzeiten">
+ <paragraph id="hd_id3147226" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030200.xhp" name="Converting Time Values">Converting Time Values</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149415" l10n="U" xml-lang="en-US" oldref="2">The following functions convert time values to calculable numbers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03030201.xhp#hour"/>
+ <embed href="text/sbasic/shared/03030202.xhp#minute"/>
+ <embed href="text/sbasic/shared/03030204.xhp#second"/>
+ <embed href="text/sbasic/shared/03030205.xhp#timeserial"/>
+ <embed href="text/sbasic/shared/03030206.xhp#timevalue"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030201.xhp b/source/text/sbasic/shared/03030201.xhp
new file mode 100644
index 0000000000..2164fb0f6c
--- /dev/null
+++ b/source/text/sbasic/shared/03030201.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared03030201xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Hour Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03030201.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="hour">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156042"><bookmark_value>Hour function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3156042" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030201.xhp" name="Hour Function [Runtime]">Hour Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149346" role="paragraph" l10n="U" oldref="2">Returns the hour from a time value that is generated by the TimeSerial or the TimeValue function.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="hd_id3147574" role="heading" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147264" role="paragraph" l10n="U" oldref="4">Hour (Number)</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145069" role="heading" level="2" l10n="U" oldref="5">Return value:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149670" role="paragraph" l10n="U" oldref="6">Integer</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150359" role="heading" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154366" role="paragraph" l10n="U" oldref="8">
+ <emph>Number:</emph> Numeric expression that contains the serial time value that is used to return the hour value.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154909" role="paragraph" l10n="U" oldref="9">This function is the opposite of the <emph>TimeSerial</emph> function. It returns an integer value that represents the hour from a time value that is generated by the <emph>TimeSerial</emph> or the <emph>TimeValue </emph>function. For example, the expression</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3163798" role="paragraph" l10n="CHG" oldref="10">Print Hour(TimeSerial(12,30,41))</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155132" role="paragraph" l10n="U" oldref="11">returns the value 12.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph xml-lang="en-US" id="hd_id3147348" role="heading" level="2" l10n="U"
+ oldref="12">Example:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146985" role="paragraph" l10n="U" oldref="13">Sub ExampleHour</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156441" role="paragraph" l10n="U" oldref="14">Print "The current hour is " &amp; Hour( Now )</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153145" role="paragraph" l10n="U" oldref="15">End Sub</paragraph>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03030202.xhp b/source/text/sbasic/shared/03030202.xhp
new file mode 100644
index 0000000000..3369b16cb3
--- /dev/null
+++ b/source/text/sbasic/shared/03030202.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared03030202xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Minute Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03030202.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="minute">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155419"><bookmark_value>Minute function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3155419" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030202.xhp" name="Minute Function [Runtime]">Minute Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156344" role="paragraph" l10n="U" oldref="2">Returns the minute of the hour that corresponds to the serial time value that is generated by the TimeSerial or the TimeValue function.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="hd_id3154758" role="heading" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149656" role="paragraph" l10n="U" oldref="4">Minute (Number)</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148798" role="heading" level="2" l10n="U" oldref="5">Return value:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150449" role="paragraph" l10n="U" oldref="6">Integer</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153193" role="heading" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153969" role="paragraph" l10n="U" oldref="8">
+ <emph>Number:</emph> Numeric expression that contains the serial time value that is used to return the minute value.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150869" role="paragraph" l10n="U" oldref="9">This function is the opposite of the <emph>TimeSerial </emph>function. It returns the minute of the serial time value that is generated by the <emph>TimeSerial</emph> or the <emph>TimeValue </emph>function. For example, the expression:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149262" role="paragraph" l10n="CHG" oldref="10">Print Minute(TimeSerial(12,30,41))</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph" l10n="U" oldref="11">returns the value 30.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph xml-lang="en-US" id="hd_id3150010" role="heading" level="2" l10n="U"
+ oldref="12">Example:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159154" role="paragraph" l10n="U" oldref="13">Sub ExampleMinute</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146119" role="paragraph" l10n="U" oldref="14">MsgBox "The current minute is "&amp; Minute(Now)&amp; "."</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153726" role="paragraph" l10n="U" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/sbasic/shared/03030203.xhp b/source/text/sbasic/shared/03030203.xhp
new file mode 100644
index 0000000000..a487c3aad2
--- /dev/null
+++ b/source/text/sbasic/shared/03030203.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030203xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Now Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:44:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="now">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Now function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030203.xhp" name="Now Function [Runtime]">Now Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="2">Returns the current system date and time as a <emph>Date</emph> value.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="4">Now</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
+<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleNow</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="9">msgbox "It is now " &amp; Now</paragraph>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="10">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030204.xhp b/source/text/sbasic/shared/03030204.xhp
new file mode 100644
index 0000000000..d75415cee2
--- /dev/null
+++ b/source/text/sbasic/shared/03030204.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030204xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Second Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030204.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:18:44">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="second">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153346"><bookmark_value>Second function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030204.xhp" name="Second Function [Runtime]">Second Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="2">Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="4">Second (Number)</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Numeric expression that contains the serial time number that is used to calculate the number of seconds.</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="9">This function is the opposite of the <emph>TimeSerial </emph>function. It returns the seconds of a serial time value that is generated by the <emph>TimeSerial</emph> or <emph>TimeValue </emph>functions. For example, the expression:</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="10">Print Second(TimeSerial(12,30,41))</paragraph>
+<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="11">returns the value 41.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3147426" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleSecond</paragraph>
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="14">MsgBox "The exact second of the current time is "&amp; Second( Now )</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="15">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030205.xhp b/source/text/sbasic/shared/03030205.xhp
new file mode 100644
index 0000000000..cc9488b1c1
--- /dev/null
+++ b/source/text/sbasic/shared/03030205.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030205xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">TimeSerial Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030205.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:40:09">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="timeserial">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143271"><bookmark_value>TimeSerial function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143271" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030205.xhp" name="TimeSerial Function [Runtime]">TimeSerial Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="2">Calculates a serial time value for the specified hour, minute, and second parameters that are passed as numeric value. You can then use this value to calculate the difference between times.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3146794" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="5">TimeSerial (hour, minute, second)</paragraph>
+<paragraph role="heading" id="hd_id3148797" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="7">Date</paragraph>
+<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="9">
+<emph>hour:</emph> Any integer expression that indicates the hour of the time that is used to determine the serial time value. Valid values: 0-23.</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="10">
+<emph>minute:</emph> Any integer expression that indicates the minute of the time that is used to determine the serial time value. In general, use values between 0 and 59. However, you can also use values that lie outside of this range, where the number of minutes influence the hour value.</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="11">
+<emph>second:</emph> Any integer expression that indicates the second of the time that is used to determine the serial time value. In general, you can use values between 0 and 59. However, you can also use values that lie outside of this range, where the number seconds influences the minute value.</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Examples:</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="13">12, -5, 45 corresponds to 11, 55, 45</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="14">12, 61, 45 corresponds to 13, 2, 45</paragraph>
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="15">12, 20, -2 corresponds to 12, 19, 58</paragraph>
+<paragraph role="paragraph" id="par_id3153365" xml-lang="en-US" l10n="U" oldref="16">12, 20, 63 corresponds to 12, 21, 4</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="17">You can use the TimeSerial function to convert any time into a single value that you can use to calculate time differences.</paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="18">The TimeSerial function returns the type Variant with VarType 7 (Date). This value is stored internally as a double-precision number between 0 and 0.9999999999. As opposed to the DateSerial or DateValue function, where the serial date values are calculated as days relative to a fixed date, you can calculate with values returned by the TimeSerial function, but you cannot evaluate them.</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="19">In the TimeValue function, you can pass a string as a parameter containing the time. For the TimeSerial function, however, you can pass the individual parameters (hour, minute, second) as separate numeric expressions.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154790" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145252" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleTimeSerial</paragraph>
+<paragraph role="paragraph" id="par_id3153157" xml-lang="en-US" l10n="U" oldref="22">Dim dDate As Double, sDate As String</paragraph>
+<paragraph role="paragraph" id="par_id3156286" xml-lang="en-US" l10n="U" oldref="23">dDate = TimeSerial(8,30,15)</paragraph>
+<paragraph role="paragraph" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="24">sDate = TimeSerial(8,30,15)</paragraph>
+<paragraph role="paragraph" id="par_id3155600" xml-lang="en-US" l10n="U" oldref="25">MsgBox dDate,64,"Time as a number"</paragraph>
+<paragraph role="paragraph" id="par_id3153417" xml-lang="en-US" l10n="U" oldref="26">MsgBox sDate,64,"Formatted time"</paragraph>
+<paragraph role="paragraph" id="par_id3153836" xml-lang="en-US" l10n="U" oldref="27">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030206.xhp b/source/text/sbasic/shared/03030206.xhp
new file mode 100644
index 0000000000..38e122ce1b
--- /dev/null
+++ b/source/text/sbasic/shared/03030206.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030206xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">TimeValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030206.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:40:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="timevalue">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149670"><bookmark_value>TimeValue function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030206.xhp" name="TimeValue Function [Runtime]">TimeValue Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="2">Calculates a serial time value from the specified hour, minute, and second - parameters passed as strings - that represents the time in a single numeric value. This value can be used to calculate the difference between times.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="4">TimeValue (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
+<paragraph role="heading" id="hd_id3145172" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that contains the time that you want to calculate in the format "HH:MM:SS".</paragraph>
+<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="9">Use the TimeValue function to convert any time into a single value, so that you can calculate time differences.</paragraph>
+<paragraph role="paragraph" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="10">This TimeValue function returns the type Variant with VarType 7 (Date), and stores this value internally as a double-precision number between 0 and 0.9999999999.</paragraph>
+<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="11">As opposed to the DateSerial or the DateValue function, where serial date values result in days relative to a fixed date, you can calculate with the values that are returned by the TimeValue function, but you cannot evaluate them.</paragraph>
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="12">In the TimeSerial function, you can pass individual parameters (hour, minute, second) as separate numeric expressions. For the TimeValue function, however, you can pass a string as a parameter containing the time.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err13"/>
+<paragraph role="heading" id="hd_id3145271" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="30">Sub ExampleTimerValue</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="31">Dim daDT as Date</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="32">Dim a1, b1, c1, a2, b2, c2 as String</paragraph>
+<paragraph role="paragraph" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="33">a1 = "start time"</paragraph>
+<paragraph role="paragraph" id="par_id3145800" xml-lang="en-US" l10n="U" oldref="34">b1 = "end time"</paragraph>
+<paragraph role="paragraph" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="35">c1 = "total time"</paragraph>
+<paragraph role="paragraph" id="par_id3154492" xml-lang="en-US" l10n="U" oldref="37">a2 = "8:34"</paragraph>
+<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US" l10n="U" oldref="38">b2 = "18:12"</paragraph>
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="39">daDT = TimeValue(b2) - TimeValue(a2)</paragraph>
+<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="U" oldref="40">c2 = a1 &amp; ": " &amp; a2 &amp; chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="41">c2 = c2 &amp; b1 &amp; ": " &amp; b2 &amp; chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3154755" xml-lang="en-US" l10n="U" oldref="42">c2 = c2 &amp; c1 &amp; ": " &amp; trim(Str(Hour(daDT))) &amp; ":" &amp; trim(Str(Minute(daDT))) &amp; ":" &amp; trim(Str(Second(daDT)))</paragraph>
+<paragraph role="paragraph" id="par_id3153714" xml-lang="en-US" l10n="U" oldref="43">Msgbox c2</paragraph>
+<paragraph role="paragraph" id="par_id3155767" xml-lang="en-US" l10n="U" oldref="44">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030300.xhp b/source/text/sbasic/shared/03030300.xhp
new file mode 100644
index 0000000000..8d06a2cb0d
--- /dev/null
+++ b/source/text/sbasic/shared/03030300.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">System Date and Time</title>
+<filename>/text/sbasic/shared/03030300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ermitteln">
+ <paragraph id="hd_id3154923" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030300.xhp" name="System Date and Time">System Date and Time</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="2">The following functions and statements set or return the system date and time.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03030301.xhp#date"/>
+ <embed href="text/sbasic/shared/03030203.xhp#now"/>
+ <embed href="text/sbasic/shared/03030302.xhp#time"/>
+ <embed href="text/sbasic/shared/03030303.xhp#timer"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030301.xhp b/source/text/sbasic/shared/03030301.xhp
new file mode 100644
index 0000000000..e2ce260e26
--- /dev/null
+++ b/source/text/sbasic/shared/03030301.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Date Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03030301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:20:05">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="date">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Date statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030301.xhp" name="Date Statement [Runtime]">Date Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147291" xml-lang="en-US" l10n="U" oldref="2">Returns the current system date as a string, or resets the date. The date format depends on your local system settings.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148686" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146794" xml-lang="en-US" l10n="U" oldref="4">Date ; Date = Text As String</paragraph>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Only required in order to reset the system date. In this case, the string expression must correspond to the date format defined in your local settings.</paragraph>
+<paragraph role="heading" id="hd_id3150793" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151212" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleDate</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="9">msgbox "The date is " &amp; Date</paragraph>
+<paragraph role="paragraph" id="par_id3145174" xml-lang="en-US" l10n="U" oldref="10">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030302.xhp b/source/text/sbasic/shared/03030302.xhp
new file mode 100644
index 0000000000..6aa8ec82d0
--- /dev/null
+++ b/source/text/sbasic/shared/03030302.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Time Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03030302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:39:12">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="time">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Time statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030302.xhp">Time Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="2">This function returns the current system time as a string in the format "HH:MM:SS".</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="4">Time</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that specifies the new time in the format "HH:MM:SS".</paragraph>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleTime</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="9">MsgBox Time,0,"The time is"</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="10">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03030303.xhp b/source/text/sbasic/shared/03030303.xhp
new file mode 100644
index 0000000000..1d673ef380
--- /dev/null
+++ b/source/text/sbasic/shared/03030303.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030303xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Timer Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:39:41">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="timer">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>Timer function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030303.xhp" name="Timer Function [Runtime]">Timer Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="2">Returns a value that specifies the number of seconds that have elapsed since midnight.</paragraph>
+</section>
+<paragraph role="note" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="3">You must first declare a variable to call the Timer function and assign it the "Long " data type, otherwise a Date value is returned.</paragraph>
+<paragraph role="heading" id="hd_id3153768" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="5">Timer</paragraph>
+<paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="7">Date</paragraph>
+<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleTimer</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="10">Dim lSec as long,lMin as long,lHour as long</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="11">lSec = Timer</paragraph>
+<paragraph role="paragraph" id="par_id3145748" xml-lang="en-US" l10n="U" oldref="12">MsgBox lSec,0,"Seconds since midnight"</paragraph>
+<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="13">lMin = lSec / 60</paragraph>
+<paragraph role="paragraph" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="14">lSec = lSec Mod 60</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="15">lHour = lMin / 60</paragraph>
+<paragraph role="paragraph" id="par_id3150418" xml-lang="en-US" l10n="U" oldref="16">lMin = lMin Mod 60</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="17">MsgBox Right("00" &amp; lHour , 2) &amp; ":"&amp; Right("00" &amp; lMin , 2) &amp; ":" &amp; Right("00" &amp; lSec , 2) ,0,"The time is"</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="18">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03050000.xhp b/source/text/sbasic/shared/03050000.xhp
new file mode 100644
index 0000000000..cd3b0e5576
--- /dev/null
+++ b/source/text/sbasic/shared/03050000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Error-Handling Functions</title>
+<filename>/text/sbasic/shared/03050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fehlerbehan">
+ <paragraph id="hd_id3143271" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03050000.xhp" name="Error-Handling Functions">Error-Handling Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">Use the following statements and functions to define the way $[officename] Basic reacts to run-time errors.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3148946" l10n="U" xml-lang="en-US" oldref="3">$[officename] Basic offers several methods to prevent the termination of a program when a run-time error occurs.</paragraph>
+ <embed href="text/sbasic/shared/03050100.xhp#erl"/>
+ <embed href="text/sbasic/shared/03050200.xhp#err"/>
+ <embed href="text/sbasic/shared/03050300.xhp#errorf"/>
+ <embed href="text/sbasic/shared/03050500.xhp#onerrorgotoresume"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03050100.xhp b/source/text/sbasic/shared/03050100.xhp
new file mode 100644
index 0000000000..657da7ef59
--- /dev/null
+++ b/source/text/sbasic/shared/03050100.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Erl Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:37:22">converted from old format - fpe
+dedr: fixed #i30425#</lastedited>
+</history>
+</meta>
+<body>
+<section id="erl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>Erl function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3157896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03050100.xhp" name="Erl Function [Runtime]">Erl Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Returns the line number where an error occurred during program execution.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="4">Erl</paragraph>
+<paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="note" id="par_id3153771" xml-lang="en-US" l10n="U" oldref="8">The Erl function only returns a line number, and not a line label.</paragraph>
+<paragraph role="heading" id="hd_id3146921" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="10">sub ExampleError</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="11">on error goto ErrorHandler REM Set up error handler</paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="12">Dim iVar as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="13">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">REM Error caused by non-existent file</paragraph>
+<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">iVar = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="16">Open "\file9879.txt" for Input as #iVar</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="17">Line Input #iVar, sVar</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="18">Close #iVar</paragraph>
+<paragraph role="paragraph" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="19">exit sub</paragraph>
+<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US" l10n="U" oldref="20">ErrorHandler:</paragraph>
+<paragraph role="paragraph" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="21">MsgBox "Error " &amp; err &amp; ": " &amp; error$ + chr(13) + "In line : " + Erl + chr(13) + Now , 16 ,"An error occurred"</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03050200.xhp b/source/text/sbasic/shared/03050200.xhp
new file mode 100644
index 0000000000..7a4b90f789
--- /dev/null
+++ b/source/text/sbasic/shared/03050200.xhp
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Err Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:37:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="err">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156343"><bookmark_value>Err function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156343" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03050200.xhp" name="Err Function [Runtime]">Err Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="2">Returns an error code that identifies the error that occurred during program execution.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="4">Err</paragraph>
+<paragraph role="heading" id="hd_id3147229" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3153193" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="8">The Err function is used in error-handling routines to determine the error and the corrective action.</paragraph>
+<paragraph role="heading" id="hd_id3147317" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3153727" xml-lang="en-US" localize="false">Sub ExampleError</paragraph>
+<paragraph role="bascode" id="par_id3147426" xml-lang="en-US" oldref="11">On Error Goto ErrorHandler REM Set up error handler</paragraph>
+<paragraph role="bascode" id="par_id3163710" xml-lang="en-US" localize="false">Dim iVar as Integer</paragraph>
+<paragraph role="bascode" id="par_id3153093" xml-lang="en-US" localize="false">Dim sVar As String</paragraph>
+<paragraph role="bascode" id="par_id3149481" xml-lang="en-US" oldref="14">REM Error occurs due to non-existent file</paragraph>
+<paragraph role="bascode" id="par_id3153190" xml-lang="en-US" localize="false"> iVar = Freefile</paragraph>
+<paragraph role="bascode" id="par_id3146120" xml-lang="en-US" localize="false"> Open "\file9879.txt" for Input as #iVar</paragraph>
+<paragraph role="bascode" id="par_id3155308" xml-lang="en-US" localize="false"> Line Input #iVar, sVar</paragraph>
+<paragraph role="bascode" id="par_id3153142" xml-lang="en-US" localize="false"> Close #iVar</paragraph>
+<paragraph role="bascode" id="par_id3149665" xml-lang="en-US" localize="false">Exit Sub</paragraph>
+<paragraph role="bascode" id="par_id3154942" xml-lang="en-US" localize="false">ErrorHandler:</paragraph>
+<paragraph role="bascode" id="par_id3145646" xml-lang="en-US" oldref="21"> MsgBox "Error " &amp; Err &amp; ": " &amp; Error$ + chr(13) + "At line : " + Erl + chr(13) + Now , 16 ,"an error occurred"</paragraph>
+<paragraph role="bascode" id="par_id3155418" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03050300.xhp b/source/text/sbasic/shared/03050300.xhp
new file mode 100644
index 0000000000..c49ea8698c
--- /dev/null
+++ b/source/text/sbasic/shared/03050300.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Error Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-06-26T09:04:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="errorf">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>Error function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03050300.xhp" name="Error Function [Runtime]">Error Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="2">Returns the error message that corresponds to a given error code.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="4">Error (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3150869" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any numeric expression that contains the error code of the error message that you want to return.</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="9">If no parameters are passed, the Error function returns the error message of the most recent error that occurred during program execution.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#allerrors"/><comment>fixed i60953</comment>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03050500.xhp b/source/text/sbasic/shared/03050500.xhp
new file mode 100644
index 0000000000..77c4ef3d67
--- /dev/null
+++ b/source/text/sbasic/shared/03050500.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">On Error GoTo ... Resume Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03050500.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="onerrorgotoresume">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146795"><bookmark_value>Resume Next parameter</bookmark_value>
+<bookmark_value>On Error GoTo ... Resume statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146795" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03050500.xhp" name="On Error GoTo ... Resume Statement [Runtime]">On Error GoTo ... Resume Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="2">Enables an error-handling routine after an error occurs, or resumes program execution.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3151212" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="4">On {[Local] Error GoTo Labelname | GoTo 0 | Resume Next}</paragraph>
+<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="7"><emph>GoTo Labelname:</emph> If an error occurs, enables the error-handling routine that starts at the line "Labelname".</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="8"><emph>Resume Next:</emph> If an error occurs, program execution continues with the statement that follows the statement in which the error occurred.</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="9"><emph>GoTo 0:</emph> Disables the error handler in the current procedure.</paragraph>
+
+<paragraph role="paragraph" id="par_id3149483" xml-lang="en-US" l10n="U" oldref="9"><emph>Local:</emph> "On error" is global in scope, and remains active until canceled by another "On error" statement. "On Local error" is local to the routine which invokes it. Local error handling overrides any previous global setting. When the invoking routine exits, the local error handling is canceled automatically, and any previous global setting is restored.</paragraph>
+
+<paragraph role="paragraph" id="par_id3148619" xml-lang="en-US" l10n="CGH" oldref="10">The On Error GoTo statement is used to react to errors that occur in a macro.<comment>see i112231: The statement must be inserted at the start of a procedure (in a local error-handling routine) or at the start of a module.</comment></paragraph>
+<paragraph role="heading" id="hd_id3146985" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="42">Sub ExampleReset</paragraph>
+<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="43">On Error Goto ErrorHandler</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="44">Dim iNumber As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="45">Dim iCount As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153091" xml-lang="en-US" l10n="U" oldref="46">Dim sLine As String</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="47">Dim aFile As String</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="48">aFile = "c:\data.txt"</paragraph>
+<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="50">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="51">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="52">Print #iNumber, "This is a line of text"</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="53">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3155602" xml-lang="en-US" l10n="U" oldref="55">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="56">Open aFile For Input As iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="57">For iCount = 1 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="58">Line Input #iNumber, sLine</paragraph>
+<paragraph role="paragraph" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="59">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="paragraph" id="par_id3148993" xml-lang="en-US" l10n="U" oldref="60">rem</paragraph>
+<paragraph role="paragraph" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="61">end if</paragraph>
+<paragraph role="paragraph" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="62">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="63">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="64">Exit Sub</paragraph>
+<paragraph role="paragraph" id="par_id3151251" xml-lang="en-US" l10n="U" oldref="65">ErrorHandler:</paragraph>
+<paragraph role="paragraph" id="par_id3149106" xml-lang="en-US" l10n="U" oldref="66">Reset</paragraph>
+<paragraph role="paragraph" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="67">MsgBox "All files will be closed",0,"Error"</paragraph>
+<paragraph role="paragraph" id="par_id3149568" xml-lang="en-US" l10n="U" oldref="68">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060000.xhp b/source/text/sbasic/shared/03060000.xhp
new file mode 100644
index 0000000000..bf34d09cdb
--- /dev/null
+++ b/source/text/sbasic/shared/03060000.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Logical Operators</title>
+<filename>/text/sbasic/shared/03060000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="logi">
+ <paragraph id="hd_id3147559" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060000.xhp" name="Logical Operators">Logical Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="2">The following logical operators are supported by $[officename] Basic.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3154138" l10n="U" xml-lang="en-US" oldref="3">Logical operators combine (bitwise) the contents of two expressions or variables, for example, to test if specific bits are set or not.</paragraph>
+ <embed href="text/sbasic/shared/03060100.xhp#and"/>
+ <embed href="text/sbasic/shared/03060200.xhp#eqv"/>
+ <embed href="text/sbasic/shared/03060300.xhp#imp"/>
+ <embed href="text/sbasic/shared/03060400.xhp#not"/>
+ <embed href="text/sbasic/shared/03060500.xhp#or"/>
+ <embed href="text/sbasic/shared/03060600.xhp#xor"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060100.xhp b/source/text/sbasic/shared/03060100.xhp
new file mode 100644
index 0000000000..d7f81d5f0c
--- /dev/null
+++ b/source/text/sbasic/shared/03060100.xhp
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">AND Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-02-01T12:42:55">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="and">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146117"><bookmark_value>AND operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146117" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03060100.xhp" name="AND Operator [Runtime]">AND Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143268" xml-lang="en-US" l10n="U" oldref="2">Logically combines two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 And Expression2</paragraph>
+<paragraph role="heading" id="hd_id3148946" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that records the result of the combination.</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any expressions that you want to combine.</paragraph>
+<paragraph role="paragraph" id="par_id3156215" xml-lang="en-US" l10n="U" oldref="8">Boolean expressions combined with AND only return the value <emph>True</emph> if both expressions evaluate to <emph>True</emph>:</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="9">
+<emph>True</emph> AND <emph>True</emph> returns <emph>True</emph>; for all other combinations the result is <emph>False</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="10">The AND operator also performs a bitwise comparison of identically positioned bits in two numeric expressions.</paragraph>
+<paragraph role="heading" id="hd_id3153727" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleAnd</paragraph>
+<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="CHG" oldref="13">Dim A as Variant, B as Variant, C as Variant, D as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="14">Dim vVarOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="15">A = 10: B = 8: C = 6: D = Null</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="16">vVarOut = A &gt; B And B &gt; C REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="U" oldref="17">vVarOut = B &gt; A And B &gt; C REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="CHG" oldref="18">vVarOut = A &gt; B And B &gt; D REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3145751" xml-lang="en-US" l10n="U" oldref="19">vVarOut = (B &gt; D And B &gt; A) REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US" l10n="U" oldref="20">vVarOut = B And A REM returns 8 due to the bitwise AND combination of both arguments</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="21">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060200.xhp b/source/text/sbasic/shared/03060200.xhp
new file mode 100644
index 0000000000..2cb9ced858
--- /dev/null
+++ b/source/text/sbasic/shared/03060200.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Eqv Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-14T10:36:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="eqv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156344"><bookmark_value>Eqv operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="1" l10n="CHG" oldref="1"><link href="text/sbasic/shared/03060200.xhp" name="Eqv Operator [Runtime]">Eqv Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2">Calculates the logical equivalence of two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154367" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 Eqv Expression2</paragraph>
+<paragraph role="heading" id="hd_id3151043" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that contains the result of the comparison.</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any expressions that you want to compare.</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="U" oldref="8">When testing for equivalence between Boolean expressions, the result is <emph>True</emph> if both expressions are either <emph>True</emph> or <emph>False</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="9">In a bit-wise comparison, the Eqv operator only sets the corresponding bit in the result if a bit is set in both expressions, or in neither expression.</paragraph>
+<paragraph role="heading" id="hd_id3159154" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleEqv</paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="CHG" oldref="12">Dim A as Variant, B as Variant, C as Variant, D as Variant<comment>see #i38265</comment></paragraph>
+<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="13">Dim vOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="CHG" oldref="14">A = 10: B = 8: C = 6: D = Null</paragraph>
+<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="15">vOut = A &gt; B Eqv B &gt; C REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3153191" xml-lang="en-US" l10n="CHG" oldref="16">vOut = B &gt; A Eqv B &gt; C REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="CHG" oldref="17">vOut = A &gt; B Eqv B &gt; D REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="CHG" oldref="18">vOut = (B &gt; D Eqv B &gt; A) REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="CHG" oldref="19">vOut = B Eqv A REM returns -3</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="20">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060300.xhp b/source/text/sbasic/shared/03060300.xhp
new file mode 100644
index 0000000000..c891476a31
--- /dev/null
+++ b/source/text/sbasic/shared/03060300.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Imp-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-15T10:27:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="imp">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Imp operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03060300.xhp" name="Imp-Operator [Runtime]">Imp Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="2">Performs a logical implication on two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 Imp Expression2</paragraph>
+<paragraph role="heading" id="hd_id3151212" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that contains the result of the implication.</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any expressions that you want to evaluate with the Imp operator.</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="8">If you use the Imp operator in Boolean expressions, False is only returned if the first expression evaluates to True and the second expression to False.</paragraph>
+<paragraph role="paragraph" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="9">If you use the Imp operator in bit expressions, a bit is deleted from the result if the corresponding bit is set in the first expression and the corresponding bit is deleted in the second expression.</paragraph>
+<paragraph role="heading" id="hd_id3147318" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleImp</paragraph>
+<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US" l10n="CHG" oldref="12">Dim A as Variant, B as Variant, C as Variant, D as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="13">Dim vOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="14">A = 10: B = 8: C = 6: D = Null</paragraph>
+<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="15">vOut = A &gt; B Imp B &gt; C REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="CHG" oldref="16">vOut = B &gt; A Imp B &gt; C REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="CHG" oldref="17">vOut = A &gt; B Imp B &gt; D REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3154942" xml-lang="en-US" l10n="CHG" oldref="18">vOut = (B &gt; D Imp B &gt; A) REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3154492" xml-lang="en-US" l10n="CHG" oldref="19">vOut = B Imp A REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US" l10n="U" oldref="20">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060400.xhp b/source/text/sbasic/shared/03060400.xhp
new file mode 100644
index 0000000000..996cfcc457
--- /dev/null
+++ b/source/text/sbasic/shared/03060400.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Not-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T10:18:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="not">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Not operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03060400.xhp" name="Not-Operator [Runtime]">Not-Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="2">Negates an expression by inverting the bit values.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150360" xml-lang="en-US" l10n="U" oldref="4">Result = Not Expression</paragraph>
+<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that contains the result of the negation.</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="CHG" oldref="7">
+<emph>Expression:</emph> Any expression that you want to negate.</paragraph>
+<paragraph role="paragraph" id="par_id3150868" xml-lang="en-US" l10n="U" oldref="8">When a Boolean expression is negated, the value True changes to False, and the value False changes to True.</paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="9">In a bitwise negation each individual bit is inverted.</paragraph>
+<paragraph role="heading" id="hd_id3153093" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleNot</paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3145274" xml-lang="en-US" l10n="U" oldref="13">Dim vOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="15">vOut = Not vA REM Returns -11</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="CHG" oldref="16">vOut = Not(vC &gt; vD) REM Returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="17">vOut = Not(vB &gt; vA) REM Returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="18">vOut = Not(vA &gt; vB) REM Returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="19">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060500.xhp b/source/text/sbasic/shared/03060500.xhp
new file mode 100644
index 0000000000..d0d7e83718
--- /dev/null
+++ b/source/text/sbasic/shared/03060500.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Or-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-01-03T16:03:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="or">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150986"><bookmark_value>Or operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150986" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03060500.xhp" name="Or-Operator [Runtime]">Or Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="2">Performs a logical OR disjunction on two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 Or Expression2</paragraph>
+<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that contains the result of the disjunction.</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numeric expressions that you want to compare.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="8">A logical OR disjunction of two Boolean expressions returns the value True if at least one comparison expression is True.</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="9">A bit-wise comparison sets a bit in the result if the corresponding bit is set in at least one of the two expressions.</paragraph>
+<paragraph role="heading" id="hd_id3161831" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleOr</paragraph>
+<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="U" oldref="13">Dim vOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US" l10n="U" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="15">vOut = vA &gt; vB Or vB &gt; vC REM -1</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="16">vOut = vB &gt; vA Or vB &gt; vC REM -1</paragraph>
+<paragraph role="paragraph" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="17">vOut = vA &gt; vB Or vB &gt; vD REM -1</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="CHG" oldref="18">vOut = (vB &gt; vD Or vB &gt; vA) REM 0</paragraph>
+<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="19">vOut = vB Or vA REM 10</paragraph>
+<paragraph role="paragraph" id="par_id3150420" xml-lang="en-US" l10n="U" oldref="20">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03060600.xhp b/source/text/sbasic/shared/03060600.xhp
new file mode 100644
index 0000000000..89630ce40e
--- /dev/null
+++ b/source/text/sbasic/shared/03060600.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Xor-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T10:56:13">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="xor">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Xor operator (logical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03060600.xhp" name="Xor-Operator [Runtime]">Xor-Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="2">Performs a logical Exclusive-Or combination of two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153381" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 Xor Expression2</paragraph>
+<paragraph role="heading" id="hd_id3153968" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric variable that contains the result of the combination.</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numeric expressions that you want to combine.</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="8">A logical Exclusive-Or conjunction of two Boolean expressions returns the value True only if both expressions are different from each other.</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="9">A bitwise Exclusive-Or conjunction returns a bit if the corresponding bit is set in only one of the two expressions.</paragraph>
+<paragraph role="heading" id="hd_id3153366" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleXor</paragraph>
+<paragraph role="paragraph" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US" l10n="U" oldref="13">Dim vOut as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+<paragraph role="paragraph" id="par_id3156442" xml-lang="en-US" l10n="U" oldref="15">vOut = vA &gt; vB Xor vB &gt; vC REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3153191" xml-lang="en-US" l10n="U" oldref="16">vOut = vB &gt; vA Xor vB &gt; vC REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US" l10n="CHG" oldref="17">vOut = vA &gt; vB Xor vB &gt; vD REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="CHG" oldref="18">vOut = (vB &gt; vD Xor vB &gt; vA) REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="19">vOut = vB Xor vA REM returns 2</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="20">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070000.xhp b/source/text/sbasic/shared/03070000.xhp
new file mode 100644
index 0000000000..92c235dad3
--- /dev/null
+++ b/source/text/sbasic/shared/03070000.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Mathematical Operators</title>
+<filename>/text/sbasic/shared/03070000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="mathe">
+ <paragraph id="hd_id3149234" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070000.xhp" name="Mathematical Operators">Mathematical Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">The following mathematical operators are supported in $[officename] Basic.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="3">This chapter provides a short overview of all of the arithmetical operators that you may need for calculations within a program.</paragraph>
+ <embed href="text/sbasic/shared/03070100.xhp#subtraktion"/>
+ <embed href="text/sbasic/shared/03070200.xhp#multiplikation"/>
+ <embed href="text/sbasic/shared/03070300.xhp#addition"/>
+ <embed href="text/sbasic/shared/03070400.xhp#division"/>
+ <embed href="text/sbasic/shared/03070500.xhp#potenz"/>
+ <embed href="text/sbasic/shared/03070600.xhp#mod"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070100.xhp b/source/text/sbasic/shared/03070100.xhp
new file mode 100644
index 0000000000..2b3eca0877
--- /dev/null
+++ b/source/text/sbasic/shared/03070100.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">"-" Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:32:20">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="subtraktion">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156042"><bookmark_value>"-" operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156042" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070100.xhp">"-" Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="2">Subtracts two values.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 - Expression2</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numerical expression that contains the result of the subtraction.</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numerical expressions that you want to subtract.</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleSubtraction1</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="10">Print 5 - 5</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="11">End sub</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleSubtraction2</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="14">Dim iValue1 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="15">Dim iValue2 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="16">iValue1 = 5</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="17">iValue2 = 10</paragraph>
+<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="18">Print iValue1 - iValue2</paragraph>
+<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070200.xhp b/source/text/sbasic/shared/03070200.xhp
new file mode 100644
index 0000000000..d159319b31
--- /dev/null
+++ b/source/text/sbasic/shared/03070200.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">"*" Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:30:31">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="multiplikation">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147573"><bookmark_value>"*" operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147573" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070200.xhp">"*" Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="2">Multiplies two values.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148946" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 * Expression2</paragraph>
+<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numeric expression that records the result of a multiplication.</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numeric expressions that you want to multiply.</paragraph>
+<paragraph role="heading" id="hd_id3153968" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleMultiplication1</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="10">Print 5 * 5</paragraph>
+<paragraph role="paragraph" id="par_id3153091" xml-lang="en-US" l10n="U" oldref="11">End sub</paragraph>
+<paragraph role="paragraph" id="par_id3149667" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleMultiplication2</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="14">Dim iValue1 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="15">Dim iValue2 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="16">iValue1 = 5</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="17">iValue2 = 10</paragraph>
+<paragraph role="paragraph" id="par_id3149261" xml-lang="en-US" l10n="U" oldref="18">Print iValue1 * iValue2</paragraph>
+<paragraph role="paragraph" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070300.xhp b/source/text/sbasic/shared/03070300.xhp
new file mode 100644
index 0000000000..c0cdd58fb6
--- /dev/null
+++ b/source/text/sbasic/shared/03070300.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">"+" Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:31:37">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="addition">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145316"><bookmark_value>"+" operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145316" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070300.xhp">"+" Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="2">Adds or combines two expressions.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3144500" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 + Expression2</paragraph>
+<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numerical expression that contains the result of the addition.</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numerical expressions that you want to combine or to add.</paragraph>
+<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleAddition1</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="10">Print 5 + 5</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="11">End sub</paragraph>
+<paragraph role="paragraph" id="par_id3153191" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleAddition2</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="14">Dim iValue1 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="15">Dim iValue2 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="16">iValue1 = 5</paragraph>
+<paragraph role="paragraph" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="17">iValue2 = 10</paragraph>
+<paragraph role="paragraph" id="par_id3151118" xml-lang="en-US" l10n="U" oldref="18">Print iValue1 + iValue2</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070400.xhp b/source/text/sbasic/shared/03070400.xhp
new file mode 100644
index 0000000000..187a92dc46
--- /dev/null
+++ b/source/text/sbasic/shared/03070400.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">"/" Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:32:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="division">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150669"><bookmark_value>"/" operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070400.xhp">"/" Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="2">Divides two values.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148946" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 / Expression2 </paragraph>
+<paragraph role="heading" id="hd_id3150359" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numerical value that contains the result of the division.</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numerical expressions that you want to divide.</paragraph>
+<paragraph role="heading" id="hd_id3154684" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleDivision1</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="10">Print 5 / 5</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="11">End sub</paragraph>
+<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleDivision2</paragraph>
+<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="14">Dim iValue1 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="15">Dim iValue2 as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="16">iValue1 = 5</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="17">iValue2 = 10</paragraph>
+<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="18">Print iValue1 / iValue2</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070500.xhp b/source/text/sbasic/shared/03070500.xhp
new file mode 100644
index 0000000000..7e713b71bf
--- /dev/null
+++ b/source/text/sbasic/shared/03070500.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">"^" Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:33:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="potenz">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145315"><bookmark_value>"^" operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070500.xhp">"^" Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="2">Raises a number to a power.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="4">Result = Expression ^ Exponent</paragraph>
+<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Any numerical expression that contains the result of the number raised to a power.</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression:</emph> Numerical value that you want to raise to a power.</paragraph>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Exponent:</emph> The value of the power that you want to raise the expression to.</paragraph>
+<paragraph role="heading" id="hd_id3147287" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="10">Sub Example</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="U" oldref="11">Print ( 12.345 ^ 23 )</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="12">Print Exp ( 23 * Log( 12.345 ) ) REM Raises by forming a logarithm</paragraph>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="13">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03070600.xhp b/source/text/sbasic/shared/03070600.xhp
new file mode 100644
index 0000000000..731a6e699c
--- /dev/null
+++ b/source/text/sbasic/shared/03070600.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Mod-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:35:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="mod">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150669"><bookmark_value>MOD operator (mathematical)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03070600.xhp" name="Mod-Operator [Runtime]">Mod Operator [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148686" xml-lang="en-US" l10n="U" oldref="2">Returns the integer remainder of a division.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3146795" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 MOD Expression2</paragraph>
+<paragraph role="heading" id="hd_id3149657" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153380" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Result:</emph> Any numeric variable that contains the result of the MOD operation.</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Expression1, Expression2:</emph> Any numeric expressions that you want to divide.</paragraph>
+<paragraph role="heading" id="hd_id3147287" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="11">sub ExampleMod</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="12">print 10 mod 2.5 REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3146922" xml-lang="en-US" l10n="U" oldref="13">print 10 / 2.5 REM returns 4</paragraph>
+<paragraph role="paragraph" id="par_id3145273" xml-lang="en-US" l10n="U" oldref="14">print 10 mod 5 REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="15">print 10 / 5 REM returns 2</paragraph>
+<paragraph role="paragraph" id="par_id3149483" xml-lang="en-US" l10n="U" oldref="16">print 5 mod 10 REM returns 5</paragraph>
+<paragraph role="paragraph" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="17">print 5 / 10 REM returns 0.5</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="18">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080000.xhp b/source/text/sbasic/shared/03080000.xhp
new file mode 100644
index 0000000000..7326dd2f4b
--- /dev/null
+++ b/source/text/sbasic/shared/03080000.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Numeric Functions</title>
+<filename>/text/sbasic/shared/03080000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="nummer">
+ <paragraph id="hd_id3153127" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080000.xhp" name="Numeric Functions">Numeric Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">The following numeric functions perform calculations. Mathematical and Boolean operators are described in a separate section. Functions differ from operators in that functions pass arguments and return a result, instead of operators that return a result by combining two numeric expressions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080100.xhp#trigo"/>
+ <embed href="text/sbasic/shared/03080200.xhp#loga"/>
+ <embed href="text/sbasic/shared/03080300.xhp#zufall"/>
+ <embed href="text/sbasic/shared/03080400.xhp#quadrat"/>
+ <embed href="text/sbasic/shared/03080500.xhp#ganzzahl"/>
+ <embed href="text/sbasic/shared/03080600.xhp#absolut"/>
+ <embed href="text/sbasic/shared/03080700.xhp#vorzeichen"/>
+ <embed href="text/sbasic/shared/03080800.xhp#umwandeln"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080100.xhp b/source/text/sbasic/shared/03080100.xhp
new file mode 100644
index 0000000000..beab2747ba
--- /dev/null
+++ b/source/text/sbasic/shared/03080100.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Trigonometric Functions</title>
+<filename>/text/sbasic/shared/03080100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="trigo">
+ <paragraph id="hd_id3159201" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080100.xhp" name="Trigonometric Functions">Trigonometric Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149180" l10n="U" xml-lang="en-US" oldref="2">The following are the trigonometric functions that are supported in $[officename] Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080101.xhp#atn"/>
+ <embed href="text/sbasic/shared/03080102.xhp#cos"/>
+ <embed href="text/sbasic/shared/03080103.xhp#sin"/>
+ <embed href="text/sbasic/shared/03080104.xhp#tan"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080101.xhp b/source/text/sbasic/shared/03080101.xhp
new file mode 100644
index 0000000000..3961f03df0
--- /dev/null
+++ b/source/text/sbasic/shared/03080101.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Atn Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:41:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="atn">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Atn function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080101.xhp" name="Atn Function [Runtime]">Atn Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="2">Trigonometric function that returns the arctangent of a numeric expression. The return value is in the range -Pi/2 to +Pi/2.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3143271" xml-lang="en-US" l10n="U" oldref="3">The arctangent is the inverse of the tangent function. The Atn Function returns the angle "Alpha", expressed in radians, using the tangent of this angle. The function can also return the angle "Alpha" by comparing the ratio of the length of the side that is opposite of the angle to the length of the side that is adjacent to the angle in a right-angled triangle.</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="4">Atn(side opposite the angle/side adjacent to angle)= Alpha</paragraph>
+<paragraph role="heading" id="hd_id3149669" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="6">Atn (Number)</paragraph>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="8">Double</paragraph>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Number:</emph> Any numerical expression that represents the ratio of two sides of a right triangle. The Atn function returns the corresponding angle in radians (arctangent).</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="11">To convert radians to degrees, multiply radians by 180/pi.</paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="U" oldref="12">degree=(radian*180)/pi</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="13">radian=(degree*pi)/180</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="14">Pi is here the fixed circle constant with the rounded value 3.14159.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153142" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="16">REM The following example calculates for a right-angled triangle</paragraph>
+<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="17">REM the angle Alpha from the tangent of the angle Alpha:</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="18">Sub ExampleATN</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="19">REM rounded Pi = 3.14159 is a predefined constant</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="20">Dim d1 As Double</paragraph>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="21">Dim d2 As Double</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="22">d1 = InputBox$ ("Enter the length of the side adjacent to the angle: ","Adjacent")</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="23">d2 = InputBox$ ("Enter the length of the side opposite the angle: ","Opposite")</paragraph>
+<paragraph role="paragraph" id="par_id3155415" xml-lang="en-US" l10n="U" oldref="24">Print "The Alpha angle is"; (atn (d2/d1) * 180 / Pi); " degrees"</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="25">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080102.xhp b/source/text/sbasic/shared/03080102.xhp
new file mode 100644
index 0000000000..64c45466b1
--- /dev/null
+++ b/source/text/sbasic/shared/03080102.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Cos Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:09:53">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cos">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154923"><bookmark_value>Cos function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154923" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080102.xhp" name="Cos Function [Runtime]">Cos Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US" l10n="U" oldref="2">Calculates the cosine of an angle. The angle is specified in radians. The result lies between -1 and 1.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="3">Using the angle Alpha, the Cos-Function calculates the ratio of the length of the side that is adjacent to the angle, divided by the length of the hypotenuse in a right-angled triangle.</paragraph>
+<paragraph role="paragraph" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="4">Cos(Alpha) = Adjacent/Hypotenuse</paragraph>
+<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="6">Cos (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156214" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="8">Double</paragraph>
+<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Number:</emph> Numeric expression that specifies an angle in radians that you want to calculate the cosine for.</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="11">To convert degrees to radians, multiply degrees by pi/180. To convert radians to degrees, multiply radians by 180/pi.</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="12">degree=(radian*180)/pi</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="13">radian=(degree*pi)/180</paragraph>
+<paragraph role="paragraph" id="par_id3152885" xml-lang="en-US" l10n="U" oldref="14">Pi is here the fixed circle constant with the rounded value 3.14159...</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153951" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="16">REM The following example allows for a right-angled triangle the input of</paragraph>
+<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="17">REM secant and angle (in degrees) and calculates the length of the hypotenuse:</paragraph>
+<paragraph role="paragraph" id="par_id3147428" xml-lang="en-US" l10n="U" oldref="18">Sub ExampleCosinus</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="19">REM rounded Pi = 3.14159</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="20">Dim d1 as Double, dAngle as Double</paragraph>
+<paragraph role="paragraph" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="21">d1 = InputBox$ (""Enter the length of the adjacent side: ","Adjacent")</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="22">dAngle = InputBox$ ("Enter the angle Alpha (in degrees): ","Alpha")</paragraph>
+<paragraph role="paragraph" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="23">Print "The length of the hypothenuse is"; (d1 / cos (dAngle * Pi / 180))</paragraph>
+<paragraph role="paragraph" id="par_id3149583" xml-lang="en-US" l10n="U" oldref="24">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080103.xhp b/source/text/sbasic/shared/03080103.xhp
new file mode 100644
index 0000000000..15a0eec358
--- /dev/null
+++ b/source/text/sbasic/shared/03080103.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sin Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:25:31">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="sin">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153896"><bookmark_value>Sin function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080103.xhp" name="Sin Function [Runtime]">Sin Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="U" oldref="2">Returns the sine of an angle. The angle is specified in radians. The result lies between -1 and 1.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="3">Using the angle Alpha, the Sin Function returns the ratio of the length of the opposite side of an angle to the length of the hypotenuse in a right-angled triangle.</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="4">Sin(Alpha) = side opposite the angle/hypotenuse</paragraph>
+<paragraph role="heading" id="hd_id3147230" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="6">Sin (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156214" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="8">Double</paragraph>
+<paragraph role="heading" id="hd_id3155132" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Number:</emph> Numeric expression that defines the angle in radians that you want to calculate the sine for.</paragraph>
+<paragraph role="paragraph" id="par_id3155413" xml-lang="en-US" l10n="U" oldref="11">To convert degrees to radians, multiply degrees by Pi/180, and to convert radians to degrees, multiply radians by 180/Pi.</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="12">grad=(radiant*180)/pi</paragraph>
+<paragraph role="paragraph" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="13">radiant=(grad*pi)/180</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="14">Pi is approximately 3.141593.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3163712" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="16">REM In this example, the following entry is possible for a right-angled triangle:</paragraph>
+<paragraph role="paragraph" id="par_id3148577" xml-lang="en-US" l10n="U" oldref="17">REM The side opposite the angle and the angle (in degrees) to calculate the length of the hypotenuse:</paragraph>
+<paragraph role="paragraph" id="par_id3152941" xml-lang="en-US" l10n="U" oldref="18">Sub ExampleSine</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="19">REM Pi = 3.1415926 is a predefined variable</paragraph>
+<paragraph role="paragraph" id="par_id3153159" xml-lang="en-US" l10n="U" oldref="20">Dim d1 as Double</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="21">Dim dAlpha as Double</paragraph>
+<paragraph role="paragraph" id="par_id3145251" xml-lang="en-US" l10n="U" oldref="22">d1 = InputBox$ ("Enter the length of the opposite side: ","Opposite Side")</paragraph>
+<paragraph role="paragraph" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="23">dAlpha = InputBox$ ("Enter the angle Alpha (in degrees): ","Alpha")</paragraph>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="24">Print "The length of the hypotenuse is"; (d1 / sin (dAlpha * Pi / 180))</paragraph>
+<paragraph role="paragraph" id="par_id3150717" xml-lang="en-US" l10n="U" oldref="25">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080104.xhp b/source/text/sbasic/shared/03080104.xhp
new file mode 100644
index 0000000000..2ddf64330d
--- /dev/null
+++ b/source/text/sbasic/shared/03080104.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080104xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Tan Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-12-15T09:15:53">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="tan">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148550"><bookmark_value>Tan function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148550" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080104.xhp" name="Tan Function [Runtime]">Tan Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US" l10n="CHG" oldref="2">Determines the tangent of an angle. The angle is specified in radians.<comment>i71396</comment></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="3">Using the angle Alpha, the Tan Function calculates the ratio of the length of the side opposite the angle to the length of the side adjacent to the angle in a right-angled triangle.</paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="4">Tan(Alpha) = side opposite the angle/side adjacent to angle</paragraph>
+<paragraph role="heading" id="hd_id3145174" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="6">Tan (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156214" xml-lang="en-US" level="2" l10n="U" oldref="7">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="8">Double</paragraph>
+<paragraph role="heading" id="hd_id3155132" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Number:</emph> Any numeric expression that you want to calculate the tangent for (in radians).</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="11">To convert degrees to radians, multiply by Pi/180. To convert radians to degrees, multiply by 180/Pi.</paragraph>
+<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="CHG" oldref="12">degrees=(radiant*180)/Pi</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="CHG" oldref="13">radiant=(degrees*Pi)/180</paragraph>
+<paragraph role="paragraph" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="14">Pi is approximately 3.141593.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149483" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="16">REM In this example, the following entry is possible for a right-angled triangle:</paragraph>
+<paragraph role="paragraph" id="par_id3150012" xml-lang="en-US" l10n="U" oldref="17">REM The side opposite the angle and the angle (in degrees) to calculate the length of the side adjacent to the angle:</paragraph>
+<paragraph role="paragraph" id="par_id3151115" xml-lang="en-US" l10n="U" oldref="18">Sub ExampleTangens</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="19">REM Pi = 3.1415926 is a pre-defined variable</paragraph>
+<paragraph role="paragraph" id="par_id3145800" xml-lang="en-US" l10n="U" oldref="20">Dim d1 as Double</paragraph>
+<paragraph role="paragraph" id="par_id3150417" xml-lang="en-US" l10n="U" oldref="21">Dim dAlpha as Double</paragraph>
+<paragraph role="paragraph" id="par_id3145252" xml-lang="en-US" l10n="U" oldref="22">d1 = InputBox$ ("Enter the length of the side opposite the angle: ","opposite")</paragraph>
+<paragraph role="paragraph" id="par_id3149582" xml-lang="en-US" l10n="U" oldref="23">dAlpha = InputBox$ ("Enter the Alpha angle (in degrees): ","Alpha")</paragraph>
+<paragraph role="paragraph" id="par_id3154016" xml-lang="en-US" l10n="U" oldref="24">Print "the length of the side adjacent the angle is"; (d1 / tan (dAlpha * Pi / 180))</paragraph>
+<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="25">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080200.xhp b/source/text/sbasic/shared/03080200.xhp
new file mode 100644
index 0000000000..1b26e8576b
--- /dev/null
+++ b/source/text/sbasic/shared/03080200.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Exponential and Logarithmic Functions</title>
+<filename>/text/sbasic/shared/03080200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="loga">
+ <paragraph id="hd_id3154758" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080200.xhp" name="Exponential and Logarithmic Functions">Exponential and Logarithmic Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">$[officename] Basic supports the following exponential and logarithmic functions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080201.xhp#exp"/>
+ <embed href="text/sbasic/shared/03080202.xhp#log"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080201.xhp b/source/text/sbasic/shared/03080201.xhp
new file mode 100644
index 0000000000..47b1b8af17
--- /dev/null
+++ b/source/text/sbasic/shared/03080201.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Exp Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-14T10:35:23">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="exp">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Exp function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080201.xhp" name="Exp Function [Runtime]">Exp Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155555" xml-lang="en-US" l10n="U" oldref="2">Returns the base of the natural logarithm (e = 2.718282) raised to a power.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="4">Exp (Number)</paragraph>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150793" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that specifies the power that you want to raise "e" to (the base of natural logarithms). The power must be for both single-precision numbers less than or equal to 88.02969 and double-precision numbers less than or equal to 709.782712893, since $[officename] Basic returns an Overflow error for numbers exceeding these values.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3156280" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleLogExp</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="11">Dim dValue as Double</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="12">const b1=12.345e12</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="13">const b2=1.345e34</paragraph>
+<paragraph role="paragraph" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="14">dValue=Exp( Log(b1)+Log(b2) )</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="15">MsgBox "" &amp; dValue &amp; chr(13) &amp; (b1*b2) ,0,"Multiplication by logarithm"</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="16">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080202.xhp b/source/text/sbasic/shared/03080202.xhp
new file mode 100644
index 0000000000..1eb316b05e
--- /dev/null
+++ b/source/text/sbasic/shared/03080202.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080202xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Log Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:28:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="log">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Log function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080202.xhp" name="Log Function [Runtime]">Log Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145066" xml-lang="en-US" l10n="U" oldref="2">Returns the natural logarithm of a number.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159414" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="4">Log (Number)</paragraph>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that you want to calculate the natural logarithm for.</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="9">The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282...</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="10">You can calculate logarithms to any base (n) for any number (x) by dividing the natural logarithm of x by the natural logarithm of n, as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="11">Log n(x) = Log(x) / Log(n)</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3155131" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3152463" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleLogExp</paragraph>
+<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="14">Dim a as Double</paragraph>
+<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="15">Dim const b1=12.345e12</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="16">Dim const b2=1.345e34</paragraph>
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="17">a=Exp( Log(b1)+Log(b2) )</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="18">MsgBox "" &amp; a &amp; chr(13) &amp; (b1*b2) ,0,"Multiplication by logarithm function"</paragraph>
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="19">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080300.xhp b/source/text/sbasic/shared/03080300.xhp
new file mode 100644
index 0000000000..bb638cb99a
--- /dev/null
+++ b/source/text/sbasic/shared/03080300.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Generating Random Numbers</title>
+<filename>/text/sbasic/shared/03080300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zufall">
+ <paragraph id="hd_id3143270" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080300.xhp" name="Generating Random Numbers">Generating Random Numbers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="2">The following statements and functions generate random numbers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080301.xhp#randomize"/>
+ <embed href="text/sbasic/shared/03080302.xhp#rnd"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080301.xhp b/source/text/sbasic/shared/03080301.xhp
new file mode 100644
index 0000000000..22f62b069f
--- /dev/null
+++ b/source/text/sbasic/shared/03080301.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Randomize Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03080301.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="randomize">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Randomize statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080301.xhp" name="Randomize Statement [Runtime]">Randomize Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="2">Initializes the random-number generator.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147573" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="4">Randomize [Number]</paragraph>
+<paragraph role="heading" id="hd_id3152456" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="CHG" oldref="6">
+<emph>Number:</emph> Any integer value that initializes the random-number generator.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149655" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="code" id="par_id3151211" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleRandomize</paragraph>
+<paragraph role="code" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="9">Dim iVar As Integer, sText As String</paragraph>
+<paragraph role="code" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="10">Dim iSpectral(10) As Integer</paragraph>
+<paragraph role="code" id="par_id3148673" xml-lang="en-US" l10n="U" oldref="12">Randomize 2^14-1</paragraph>
+<paragraph role="code" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="13">For iCount = 1 To 1000</paragraph>
+<paragraph role="code" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="14">iVar = Int((10 * Rnd) ) REM Range from 0 to 9</paragraph>
+<paragraph role="code" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="15">iSpectral(iVar) = iSpectral(iVar) +1</paragraph>
+<paragraph role="code" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="16">Next iCount</paragraph>
+<paragraph role="code" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="18">sText = " | "</paragraph>
+<paragraph role="code" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="19">For iCount = 0 To 9</paragraph>
+<paragraph role="code" id="par_id3145748" xml-lang="en-US" l10n="U" oldref="20">sText = sText &amp; iSpectral(iCount) &amp; " | "</paragraph>
+<paragraph role="code" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="21">Next iCount</paragraph>
+<paragraph role="code" id="par_id3148617" xml-lang="en-US" l10n="U" oldref="22">MsgBox sText,0,"Spectral Distribution"</paragraph>
+<paragraph role="code" id="par_id3152941" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080302.xhp b/source/text/sbasic/shared/03080302.xhp
new file mode 100644
index 0000000000..92f33def84
--- /dev/null
+++ b/source/text/sbasic/shared/03080302.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Rnd Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080302.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="rnd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148685"><bookmark_value>Rnd function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080302.xhp" name="Rnd Function [Runtime]">Rnd Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149669" xml-lang="en-US" l10n="U" oldref="2">Returns a random number between 0 and 1.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US" l10n="U" oldref="4">Rnd [(Expression)]</paragraph>
+<paragraph role="heading" id="hd_id3149655" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any numeric expression.</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Omitted:</emph> Returns the next random number in the sequence.</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="14">The <emph>Rnd</emph> function only returns values ranging from 0 to 1. To generate random integers in a given range, use the formula in the following example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3151118" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="code" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleRandomSelect</paragraph>
+<paragraph role="code" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="17">Dim iVar As Integer</paragraph>
+<paragraph role="code" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="18">iVar = Int((15 * Rnd) -2)</paragraph>
+<paragraph role="code" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="19">Select Case iVar</paragraph>
+<paragraph role="code" id="par_id3154097" xml-lang="en-US" l10n="U" oldref="20">Case 1 To 5</paragraph>
+<paragraph role="code" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="21">Print "Number from 1 to 5"</paragraph>
+<paragraph role="code" id="par_id3155418" xml-lang="en-US" l10n="U" oldref="22">Case 6, 7, 8</paragraph>
+<paragraph role="code" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="23">Print "Number from 6 to 8"</paragraph>
+<paragraph role="code" id="par_id3145800" xml-lang="en-US" l10n="U" oldref="24">Case Is &gt; 8 And iVar &lt; 11</paragraph>
+<paragraph role="code" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="25">Print "Greater than 8"</paragraph>
+<paragraph role="code" id="par_id3154016" xml-lang="en-US" l10n="U" oldref="26">Case Else</paragraph>
+<paragraph role="code" id="par_id3155602" xml-lang="en-US" l10n="U" oldref="27">Print "Outside range 1 to 10"</paragraph>
+<paragraph role="code" id="par_id3150328" xml-lang="en-US" l10n="U" oldref="28">End Select</paragraph>
+<paragraph role="code" id="par_id3154479" xml-lang="en-US" l10n="U" oldref="29">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080400.xhp b/source/text/sbasic/shared/03080400.xhp
new file mode 100644
index 0000000000..6873e25b0f
--- /dev/null
+++ b/source/text/sbasic/shared/03080400.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Square Root Calculation</title>
+<filename>/text/sbasic/shared/03080400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="quadrat">
+ <paragraph id="hd_id3148946" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080400.xhp" name="Square Root Calculation">Square Root Calculation</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="2">Use this function to calculate square roots.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080401.xhp#sqr"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080401.xhp b/source/text/sbasic/shared/03080401.xhp
new file mode 100644
index 0000000000..09fb2f79b9
--- /dev/null
+++ b/source/text/sbasic/shared/03080401.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080401xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sqr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:27:05">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="sqr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Sqr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080401.xhp" name="Sqr Function [Runtime]">Sqr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="2">Calculates the square root of a numeric expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3143267" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149415" xml-lang="en-US" l10n="U" oldref="4">Sqr (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156023" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that you want to calculate the square root for.</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="9">A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSqr</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="12">Dim iVar As Single</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="13">iVar = 36</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="14">Msgbox Sqr(iVar)</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080500.xhp b/source/text/sbasic/shared/03080500.xhp
new file mode 100644
index 0000000000..b1a83c9aa5
--- /dev/null
+++ b/source/text/sbasic/shared/03080500.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Integers</title>
+<filename>/text/sbasic/shared/03080500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ganzzahl">
+ <paragraph id="hd_id3153345" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080500.xhp" name="Integers">Integers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="2">The following functions round values to integers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080501.xhp#fix"/>
+ <embed href="text/sbasic/shared/03080502.xhp#int"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080501.xhp b/source/text/sbasic/shared/03080501.xhp
new file mode 100644
index 0000000000..1248c4a2e1
--- /dev/null
+++ b/source/text/sbasic/shared/03080501.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080501xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Fix Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080501.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-05-03T12:13:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="fix">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Fix function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080501.xhp" name="Fix Function [Runtime]">Fix Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="2">Returns the integer value of a numeric expression by removing the fractional part of the number.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3155419" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="4">Fix (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3154923" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Numeric expression that you want to return the integer value for.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="10">sub ExampleFix</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="11">Print Fix(3.14159) REM returns 3.</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="12">Print Fix(0) REM returns 0.</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="CHG" oldref="13">Print Fix(-3.14159) REM returns -3.</paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080502.xhp b/source/text/sbasic/shared/03080502.xhp
new file mode 100644
index 0000000000..a5f2933a79
--- /dev/null
+++ b/source/text/sbasic/shared/03080502.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080502xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Int Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080502.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="int">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>Int function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080502.xhp" name="Int Function [Runtime]">Int Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155420" xml-lang="en-US" l10n="U" oldref="2">Returns the integer portion of a number.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147559" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="4">Int (Number)</paragraph>
+<paragraph role="heading" id="hd_id3149670" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="CHG" oldref="8">
+<emph>Number:</emph> Any valid numeric expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148672" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="10">sub ExampleINT</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="CHG" oldref="11">Print Int(3.99) REM returns the value 3</paragraph>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="CHG" oldref="12">Print Int(0) REM returns the value 0</paragraph>
+<paragraph role="paragraph" id="par_id3153143" xml-lang="en-US" l10n="CHG" oldref="13">Print Int(-3.14159) REM returns the value -4</paragraph>
+<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080600.xhp b/source/text/sbasic/shared/03080600.xhp
new file mode 100644
index 0000000000..ab667dc1de
--- /dev/null
+++ b/source/text/sbasic/shared/03080600.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Absolute Values</title>
+<filename>/text/sbasic/shared/03080600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="absolut">
+ <paragraph id="hd_id3146958" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080600.xhp" name="Absolute Values">Absolute Values</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="2">This function returns absolute values.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080601.xhp#abs"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080601.xhp b/source/text/sbasic/shared/03080601.xhp
new file mode 100644
index 0000000000..140794fdf1
--- /dev/null
+++ b/source/text/sbasic/shared/03080601.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080601xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Abs Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080601.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:34:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="abs">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Abs function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080601.xhp" name="Abs Function [Runtime]">Abs Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Returns the absolute value of a numeric expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149233" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="4">Abs (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156152" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3154924" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that you want to return the absolute value for. Positive numbers, including 0, are returned unchanged, whereas negative numbers are converted to positive numbers.</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="9">The following example uses the Abs function to calculate the difference between two values. It does not matter which value you enter first.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148451" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleDifference</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="12">Dim siW1 As Single</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="13">Dim siW2 As Single</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="14">siW1 = Int(InputBox$ ("Please enter the first amount","Value input"))</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="15">siW2 = Int(InputBox$ ("Please enter the second amount","Value input"))</paragraph>
+<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="16">Print "The difference is "; Abs(siW1 - siW2)</paragraph>
+<paragraph role="paragraph" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="17">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080700.xhp b/source/text/sbasic/shared/03080700.xhp
new file mode 100644
index 0000000000..380030c70c
--- /dev/null
+++ b/source/text/sbasic/shared/03080700.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Expression Signs</title>
+<filename>/text/sbasic/shared/03080700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="vorzeichen">
+ <paragraph id="hd_id3150702" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080700.xhp" name="Expression Signs">Expression Signs</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148668" l10n="U" xml-lang="en-US" oldref="2">This function returns the algebraic sign of a numeric expression.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080701.xhp#sgn"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080701.xhp b/source/text/sbasic/shared/03080701.xhp
new file mode 100644
index 0000000000..447ce29eac
--- /dev/null
+++ b/source/text/sbasic/shared/03080701.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080701xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sgn Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080701.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:24:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="sgn">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148474"><bookmark_value>Sgn function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148474" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080701.xhp" name="Sgn Function [Runtime]">Sgn Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148686" xml-lang="en-US" l10n="U" oldref="2">Returns an integer number between -1 and 1 that indicates if the number that is passed to the function is positive, negative, or zero.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156023" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="4">Sgn (Number)</paragraph>
+<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150543" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Numeric expression that determines the value that is returned by the function.</paragraph>
+<table id="tbl_id3156281">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="9">NumExpression</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150441" xml-lang="en-US" l10n="U" oldref="10">Return value</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3161833" xml-lang="en-US" l10n="U" oldref="11">negative</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="12">Sgn returns -1.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="13">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="14">Sgn returns 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153139" xml-lang="en-US" l10n="U" oldref="15">positive</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="16">Sgn returns 1.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3152576" xml-lang="en-US" level="2" l10n="U" oldref="17">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US" l10n="U" oldref="18">Sub ExampleSgn</paragraph>
+<paragraph role="paragraph" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="19">Print sgn(-10) REM returns -1</paragraph>
+<paragraph role="paragraph" id="par_id3154096" xml-lang="en-US" l10n="U" oldref="20">Print sgn(0) REM returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="21">Print sgn(10) REM returns 1</paragraph>
+<paragraph role="paragraph" id="par_id3144765" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080800.xhp b/source/text/sbasic/shared/03080800.xhp
new file mode 100644
index 0000000000..a5de8cab8b
--- /dev/null
+++ b/source/text/sbasic/shared/03080800.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Converting Numbers</title>
+<filename>/text/sbasic/shared/03080800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="umwandeln">
+ <paragraph id="hd_id3145315" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080800.xhp" name="Converting Numbers">Converting Numbers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="2">The following functions convert numbers from one number format to another.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080801.xhp#hex"/>
+ <embed href="text/sbasic/shared/03080802.xhp#oct"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080801.xhp b/source/text/sbasic/shared/03080801.xhp
new file mode 100644
index 0000000000..7d751a1fdd
--- /dev/null
+++ b/source/text/sbasic/shared/03080801.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080801xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Hex Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080801.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:46:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="hex">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Hex function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080801.xhp" name="Hex Function [Runtime]">Hex Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="2">Returns a string that represents the hexadecimal value of a number.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147573" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="4">Hex (Number)</paragraph>
+<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that you want to convert to a hexadecimal number.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="29">Sub ExampleHex</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="30">REM uses BasicFormulas in $[officename] Calc</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="31">Dim a2, b2, c2 as String</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="32">a2 = "&amp;H3E8"</paragraph>
+<paragraph role="paragraph" id="par_id3148674" xml-lang="en-US" l10n="U" oldref="33">b2 = Hex2Int(a2)</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="34">MsgBox b2</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="35">c2 = Int2Hex(b2)</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="36">MsgBox c2</paragraph>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="37">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="19">Function Hex2Int( sHex As String ) As Long</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="20">REM Returns a Long-Integer from a hexadecimal value.</paragraph>
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="21">Hex2Int = clng( sHex )</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="22">End Function</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="24">Function Int2Hex( iLong As Long) As String</paragraph>
+<paragraph role="paragraph" id="par_id3147215" xml-lang="en-US" l10n="U" oldref="25">REM Calculates a hexadecimal value in Integer.</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="26">Int2Hex = "&amp;H" &amp; Hex( iLong )</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="27">End Function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03080802.xhp b/source/text/sbasic/shared/03080802.xhp
new file mode 100644
index 0000000000..4c506bd2da
--- /dev/null
+++ b/source/text/sbasic/shared/03080802.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080802xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Oct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080802.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:46:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="oct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155420"><bookmark_value>Oct function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155420" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03080802.xhp" name="Oct Function [Runtime]">Oct Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="2">Returns the octal value of a number.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US" l10n="U" oldref="4">Oct (Number)</paragraph>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Number:</emph> Any numeric expression that you want to convert to an octal value.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148672" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleOkt</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="11">Msgbox Oct(255)</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090000.xhp b/source/text/sbasic/shared/03090000.xhp
new file mode 100644
index 0000000000..e80019e2ca
--- /dev/null
+++ b/source/text/sbasic/shared/03090000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Controlling Program Execution</title>
+<filename>/text/sbasic/shared/03090000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="programmablauf">
+ <paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090000.xhp" name="Controlling Program Execution">Controlling Program Execution</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143268" l10n="U" xml-lang="en-US" oldref="2">The following statements control the execution of a program.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="3">A program generally executes from the first line of code to the last line of code. You can also execute certain procedures within the program according to specific conditions, or repeat a section of the program within a sub-procedure or function. You can use loops to repeat parts of a program as many times as necessary, or until a certain condition is met. These type of control statements are classified as Condition, Loop, or Jump statements.</paragraph>
+ <embed href="text/sbasic/shared/03090100.xhp#entscheidung"/>
+ <embed href="text/sbasic/shared/03090200.xhp#schleifen"/>
+ <embed href="text/sbasic/shared/03090300.xhp#sprung"/>
+ <embed href="text/sbasic/shared/03090400.xhp#weitere"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090100.xhp b/source/text/sbasic/shared/03090100.xhp
new file mode 100644
index 0000000000..5e2d431e5f
--- /dev/null
+++ b/source/text/sbasic/shared/03090100.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Condition Statements</title>
+<filename>/text/sbasic/shared/03090100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="entscheidung">
+ <paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090100.xhp" name="Condition Statements">Condition Statements</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153750" l10n="U" xml-lang="en-US" oldref="2">The following statements are based on conditions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090101.xhp#ifthenelse"/>
+ <embed href="text/sbasic/shared/03090102.xhp#selectcase"/>
+ <embed href="text/sbasic/shared/03090103.xhp#iif"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090101.xhp b/source/text/sbasic/shared/03090101.xhp
new file mode 100644
index 0000000000..120c3452e9
--- /dev/null
+++ b/source/text/sbasic/shared/03090101.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">If...Then...Else Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090101.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="ifthenelse">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>If statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154422" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090101.xhp" name="If...Then...Else Statement [Runtime]">If...Then...Else Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155555" xml-lang="en-US" l10n="U" oldref="2">Defines one or more statement blocks that you only want to execute if a given condition is True.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3146957" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="CHG" oldref="4">If condition=true Then Statement block [ElseIf condition=true Then] Statement block [Else] Statement block EndIf<br/>Instead of Else If you can write ElseIf, instead of End If you can write EndIf.</paragraph>
+<paragraph role="heading" id="hd_id3155419" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153062" xml-lang="en-US" l10n="U" oldref="6">The <emph>If...Then</emph> statement executes program blocks depending on given conditions. When $[officename] Basic encounters an <emph>If</emph> statement, the condition is tested. If the condition is True, all subsequent statements up to the next <emph>Else</emph> or <emph>ElseIf</emph> statement are executed. If the condition is False, and an <emph>ElseIf</emph> statement follows, $[officename] Basic tests the next condition and executes the following statements if the condition is True. If False, the program continues either with the next <emph>ElseIf</emph> or <emph>Else</emph> statement. Statements following <emph>Else</emph> are executed only if none of the previously tested conditions were True. After all conditions are evaluated, and the corresponding statements executed, the program continues with the statement following <emph>EndIf</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="7">You can nest multiple <emph>If...Then</emph> statements.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Else</emph> and <emph>ElseIf</emph> statements are optional.</paragraph>
+<paragraph role="warning" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="9">You can use <emph>GoTo</emph> and <emph>GoSub</emph> to jump out of an <emph>If...Then</emph> block, but not to jump into an <emph>If...Then</emph> structure.</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="10">The following example enables you to enter the expiration date of a product, and determines if the expiration date has passed.</paragraph>
+<paragraph role="heading" id="hd_id3152576" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="code" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleIfThenDate</paragraph>
+<paragraph role="code" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="13">Dim sDate as String</paragraph>
+<paragraph role="code" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="14">Dim sToday as String</paragraph>
+<paragraph role="code" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="16">sDate = InputBox("Enter the expiration date (MM.DD.YYYY)")</paragraph>
+<paragraph role="code" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="17">sDate = Right$(sDate, 4) + Mid$(sDate, 4, 2) + Left$(sDate, 2)</paragraph>
+<paragraph role="code" id="par_id3154098" xml-lang="en-US" l10n="U" oldref="18">sToday = Date$</paragraph>
+<paragraph role="code" id="par_id3144765" xml-lang="en-US" l10n="U" oldref="19">sToday = Right$(sToday, 4)+ Mid$(sToday, 4, 2) + Left$(sToday, 2)</paragraph>
+<paragraph role="code" id="par_id3154792" xml-lang="en-US" l10n="U" oldref="20">If sDate &lt; sToday Then</paragraph>
+<paragraph role="code" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="21">MsgBox "The expiration date has passed"</paragraph>
+<paragraph role="code" id="par_id3146972" xml-lang="en-US" l10n="U" oldref="22">ElseIf sDate &gt; sToday Then</paragraph>
+<paragraph role="code" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="23">MsgBox "The expiration date has not yet passed"</paragraph>
+<paragraph role="code" id="par_id3153710" xml-lang="en-US" l10n="U" oldref="24">Else</paragraph>
+<paragraph role="code" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="25">MsgBox "The expiration date is today"</paragraph>
+<paragraph role="code" id="par_id3154361" xml-lang="en-US" l10n="U" oldref="26">End If</paragraph>
+<paragraph role="code" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="28">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090102.xhp b/source/text/sbasic/shared/03090102.xhp
new file mode 100644
index 0000000000..80fdedca72
--- /dev/null
+++ b/source/text/sbasic/shared/03090102.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Select...Case Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:23:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="selectcase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Select...Case statement</bookmark_value>
+<bookmark_value>Case statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090102.xhp" name="Select...Case Statement [Runtime]">Select...Case Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153896" xml-lang="en-US" l10n="U" oldref="2">Defines one or more statement blocks depending on the value of an expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="4">Select Case condition Case expression Statement Block [Case expression2 Statement Block][Case Else] Statement Block End Select</paragraph>
+<paragraph role="heading" id="hd_id3150767" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Condition:</emph> Any expression that controls if the statement block that follows the respective Case clause is executed.</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression:</emph> Any expression that is compatible with the Condition type expression. The statement block that follows the Case clause is executed if <emph>Condition</emph> matches <emph>Expression</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3153768" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150441" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleRandomSelect</paragraph>
+<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="10">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="11">iVar = Int((15 * Rnd) -2)</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="12">Select Case iVar</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="13">Case 1 To 5</paragraph>
+<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="14">Print "Number from 1 to 5"</paragraph>
+<paragraph role="paragraph" id="par_id3147428" xml-lang="en-US" l10n="U" oldref="15">Case 6, 7, 8</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="16">Print "Number from 6 to 8"</paragraph>
+<paragraph role="paragraph" id="par_id3153729" xml-lang="en-US" l10n="U" oldref="17">Case 8 To 10</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="U" oldref="18">Print "Greater than 8"</paragraph>
+<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="19">Case Else</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="20">Print "Out of range 1 to 10"</paragraph>
+<paragraph role="paragraph" id="par_id3150419" xml-lang="en-US" l10n="U" oldref="21">End Select</paragraph>
+<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090103.xhp b/source/text/sbasic/shared/03090103.xhp
new file mode 100644
index 0000000000..4c9f803f62
--- /dev/null
+++ b/source/text/sbasic/shared/03090103.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IIf Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:55:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="iif">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155420"><bookmark_value>IIf statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155420" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090103.xhp" name="IIf Statement [Runtime]">IIf Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="2">Returns one of two possible function results, depending on the logical value of the evaluated expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="4">IIf (Expression, ExpressionTrue, ExpressionFalse)</paragraph>
+<paragraph role="heading" id="hd_id3150541" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Expression:</emph> Any expression that you want to evaluate. If the expression evaluates to <emph>True</emph>, the function returns the result of ExpressionTrue, otherwise it returns the result of ExpressionFalse.</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="7">
+<emph>ExpressionTrue, ExpressionFalse:</emph> Any expression, one of which will be returned as the function result, depending on the logical evaluation.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090200.xhp b/source/text/sbasic/shared/03090200.xhp
new file mode 100644
index 0000000000..df0cc09fe1
--- /dev/null
+++ b/source/text/sbasic/shared/03090200.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Loops</title>
+<filename>/text/sbasic/shared/03090200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="schleifen">
+ <paragraph id="hd_id3153990" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090200.xhp" name="Loops">Loops</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="2">The following statements execute loops.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090201.xhp#doloop"/>
+ <embed href="text/sbasic/shared/03090202.xhp#fornext"/>
+ <embed href="text/sbasic/shared/03090203.xhp#whilewend"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090201.xhp b/source/text/sbasic/shared/03090201.xhp
new file mode 100644
index 0000000000..e3a08323c7
--- /dev/null
+++ b/source/text/sbasic/shared/03090201.xhp
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Do...Loop Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:30:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="doloop">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156116"><bookmark_value>Do...Loop statement</bookmark_value>
+<bookmark_value>While; Do loop</bookmark_value>
+<bookmark_value>Until</bookmark_value>
+<bookmark_value>loops</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156116" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090201.xhp" name="Do...Loop Statement [Runtime]">Do...Loop Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3109850" xml-lang="en-US" l10n="U" oldref="2">Repeats the statements between the Do and the Loop statement while the condition is True or until the condition becomes True.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149119" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3155150" xml-lang="en-US" l10n="U" oldref="4">Do [{While | Until} condition = True]</paragraph>
+<paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="5">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3150789" xml-lang="en-US" l10n="U" oldref="6">[Exit Do]</paragraph>
+<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US" l10n="U" oldref="7">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="8">Loop</paragraph>
+<paragraph role="paragraph" id="par_id3154749" xml-lang="en-US" l10n="U" oldref="9">or</paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="10">Do</paragraph>
+<paragraph role="paragraph" id="par_id3149762" xml-lang="en-US" l10n="U" oldref="11">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="12">[Exit Do]</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="13">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3149235" xml-lang="en-US" l10n="U" oldref="14">Loop [{While | Until} condition = True]</paragraph>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="15">Parameters/Elements</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Condition:</emph> A comparison, numeric or string expression, that evaluates either True or False.</paragraph>
+<paragraph role="paragraph" id="par_id3149669" xml-lang="en-US" l10n="U" oldref="17">
+<emph>Statement block:</emph> Statements that you want to repeat while or until the condition is True.</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="18">The <emph>Do...Loop</emph> statement executes a loop as long as, or until, a certain condition is True. The condition for exiting the loop must be entered following either the <emph>Do</emph> or the <emph>Loop</emph> statement. The following examples are valid combinations:</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="19">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="20">Do While condition = True</paragraph>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="21">...statement block</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="22">Loop</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="24">The statement block between the Do While and the Loop statements is repeated so long as the condition is true.</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="25">Do Until condition = True</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="26">...statement block</paragraph>
+<paragraph role="paragraph" id="par_id3159151" xml-lang="en-US" l10n="U" oldref="27">Loop</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="29">The statement block between the Do Until and the Loop statements is repeated if the condition so long as the condition is false.</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="30">Do</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="31">...statement block</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="32">Loop While condition = True</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="34">The statement block between the Do and the Loop statements repeats so long as the condition is true.</paragraph>
+<paragraph role="paragraph" id="par_id3150488" xml-lang="en-US" l10n="U" oldref="35">Do</paragraph>
+<paragraph role="paragraph" id="par_id3153189" xml-lang="en-US" l10n="U" oldref="36">...statement block</paragraph>
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="37">Loop Until condition = True</paragraph>
+<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="39">The statement block between the Do and the Loop statements repeats until the condition is true.</paragraph>
+<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="41">Use the <emph>Exit Do</emph> statement to unconditionally end the loop. You can add this statement anywhere in a <emph>Do</emph>...<emph>Loop</emph> statement. You can also define an exit condition using the <emph>If...Then</emph> structure as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="42">Do...</paragraph>
+<paragraph role="paragraph" id="par_id3149298" xml-lang="en-US" l10n="U" oldref="43">statements</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="44">If condition = True Then Exit Do</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="45">statements</paragraph>
+<paragraph role="paragraph" id="par_id3153159" xml-lang="en-US" l10n="U" oldref="46">Loop...</paragraph>
+<paragraph role="heading" id="hd_id3147396" xml-lang="en-US" level="2" l10n="U" oldref="47">Example</paragraph>
+<paragraph role="code" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="49">Sub ExampleDoLoop</paragraph>
+<paragraph role="code" id="par_id3154791" xml-lang="en-US" l10n="U" oldref="50">Dim sFile As String</paragraph>
+<paragraph role="code" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="51">Dim sPath As String</paragraph>
+<paragraph role="code" id="par_id3155600" xml-lang="en-US" l10n="U" oldref="52">sPath = "c:\"</paragraph>
+<paragraph role="code" id="par_id3150717" xml-lang="en-US" l10n="U" oldref="53">sFile = Dir$( sPath ,22)</paragraph>
+<paragraph role="code" id="par_id3146898" xml-lang="en-US" l10n="U" oldref="54">If sFile &lt;&gt; "" Then</paragraph>
+<paragraph role="code" id="par_id3156333" xml-lang="en-US" l10n="U" oldref="55">Do</paragraph>
+<paragraph role="code" id="par_id3153947" xml-lang="en-US" l10n="U" oldref="56">MsgBox sFile</paragraph>
+<paragraph role="code" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="57">sFile = Dir$</paragraph>
+<paragraph role="code" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="58">Loop Until sFile = ""</paragraph>
+<paragraph role="code" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="59">End If</paragraph>
+<paragraph role="code" id="par_id3148914" xml-lang="en-US" l10n="U" oldref="60">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090202.xhp b/source/text/sbasic/shared/03090202.xhp
new file mode 100644
index 0000000000..04131b1f1f
--- /dev/null
+++ b/source/text/sbasic/shared/03090202.xhp
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090202xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">For...Next Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:09:02">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="fornext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>For statement</bookmark_value>
+<bookmark_value>To statement</bookmark_value>
+<bookmark_value>Step statement</bookmark_value>
+<bookmark_value>Next statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090202.xhp" name="For...Next Statement [Runtime]">For...Next Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="2">Repeats the statements between the For...Next block a specified number of times.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156153" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="4">For counter=start To end [Step step]</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="5">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3146796" xml-lang="en-US" l10n="U" oldref="6">[Exit For]</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="7">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="8">Next [counter]</paragraph>
+<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="2" l10n="U" oldref="9">Variables:</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Counter:</emph> Loop counter initially assigned the value to the right of the equal sign (start). Only numeric variables are valid. The loop counter increases or decreases according to the variable Step until End is passed.</paragraph>
+<paragraph role="paragraph" id="par_id3152455" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Start:</emph> Numeric variable that defines the initial value at the beginning of the loop.</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="12">
+<emph>End:</emph> Numeric variable that defines the final value at the end of the loop.</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Step:</emph> Sets the value by which to increase or decrease the loop counter. If Step is not specified, the loop counter is incremented by 1. In this case, End must be greater than Start. If you want to decrease Counter, End must be less than Start, and Step must be assigned a negative value.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="14">The <emph>For...Next</emph> loop repeats all of the statements in the loop for the number of times that is specified by the parameters.</paragraph>
+<paragraph role="paragraph" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="15">As the counter variable is decreased, $[officename] Basic checks if the end value has been reached. As soon as the counter passes the end value, the loop automatically ends.</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="16">It is possible to nest <emph>For...Next</emph> statements. If you do not specify a variable following the <emph>Next</emph> statement, <emph>Next</emph> automatically refers to the most recent <emph>For</emph> statement.</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="17">If you specify an increment of 0, the statements between <emph>For</emph> and <emph>Next</emph> are repeated continuously.</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="18">When counting down the counter variable, $[officename] Basic checks for overflow or underflow. The loop ends when Counter exceeds End (positive Step value) or is less than End (negative Step value).</paragraph>
+<paragraph role="paragraph" id="par_id3145273" xml-lang="en-US" l10n="U" oldref="19">Use the <emph>Exit For</emph> statement to exit the loop unconditionally. This statement must be within a <emph>For...Next</emph> loop. Use the <emph>If...Then</emph> statement to test the exit condition as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="20">For...</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="21">statements</paragraph>
+<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="22">If condition = True Then Exit For</paragraph>
+<paragraph role="paragraph" id="par_id3153159" xml-lang="en-US" l10n="U" oldref="23">statements</paragraph>
+<paragraph role="paragraph" id="par_id3154096" xml-lang="en-US" l10n="U" oldref="24">Next</paragraph>
+<paragraph role="paragraph" id="par_id3156286" xml-lang="en-US" l10n="U" oldref="25">Note: In nested <emph>For...Next</emph> loops, if you exit a loop unconditionally with <emph>Exit For</emph>, only one loop is exited.</paragraph>
+<paragraph role="heading" id="hd_id3148457" xml-lang="en-US" level="2" l10n="U" oldref="26">Example</paragraph>
+<paragraph role="paragraph" id="par_id3151074" xml-lang="en-US" l10n="U" oldref="27">The following example uses two nested loops to sort a string array with 10 elements ( sEntry() ), that are first filled with various contents:</paragraph>
+<paragraph role="paragraph" id="par_id3155603" xml-lang="en-US" l10n="U" oldref="28">Sub ExampleSort</paragraph>
+<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="29">Dim sEntry(9) As String</paragraph>
+<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="30">Dim iCount As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3150751" xml-lang="en-US" l10n="U" oldref="31">Dim iCount2 As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3155446" xml-lang="en-US" l10n="U" oldref="32">Dim sTemp As String</paragraph>
+<paragraph role="paragraph" id="par_id3155767" xml-lang="en-US" l10n="U" oldref="42">sEntry(0) = "Jerry"</paragraph>
+<paragraph role="paragraph" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="33">sEntry(1) = "Patty"</paragraph>
+<paragraph role="paragraph" id="par_id3148993" xml-lang="en-US" l10n="U" oldref="34">sEntry(2) = "Kurt"</paragraph>
+<paragraph role="paragraph" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="35">sEntry(3) = "Thomas"</paragraph>
+<paragraph role="paragraph" id="par_id3155174" xml-lang="en-US" l10n="U" oldref="36">sEntry(4) = "Michael"</paragraph>
+<paragraph role="paragraph" id="par_id3166448" xml-lang="en-US" l10n="U" oldref="37">sEntry(5) = "David"</paragraph>
+<paragraph role="paragraph" id="par_id3149255" xml-lang="en-US" l10n="U" oldref="38">sEntry(6) = "Cathy"</paragraph>
+<paragraph role="paragraph" id="par_id3149565" xml-lang="en-US" l10n="U" oldref="39">sEntry(7) = "Susie"</paragraph>
+<paragraph role="paragraph" id="par_id3145148" xml-lang="en-US" l10n="U" oldref="40">sEntry(8) = "Edward"</paragraph>
+<paragraph role="paragraph" id="par_id3145229" xml-lang="en-US" l10n="U" oldref="41">sEntry(9) = "Christine"</paragraph>
+<paragraph role="paragraph" id="par_id3149107" xml-lang="en-US" l10n="U" oldref="44">For iCount = 0 To 9</paragraph>
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="U" oldref="45">For iCount2 = iCount + 1 To 9</paragraph>
+<paragraph role="paragraph" id="par_id3155608" xml-lang="en-US" l10n="U" oldref="46">If sEntry(iCount) &gt; sEntry(iCount2) Then</paragraph>
+<paragraph role="paragraph" id="par_id3150938" xml-lang="en-US" l10n="U" oldref="47">sTemp = sEntry(iCount)</paragraph>
+<paragraph role="paragraph" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="48">sEntry(iCount) = sEntry(iCount2)</paragraph>
+<paragraph role="paragraph" id="par_id3149210" xml-lang="en-US" l10n="U" oldref="49">sEntry(iCount2) = sTemp</paragraph>
+<paragraph role="paragraph" id="par_id3153781" xml-lang="en-US" l10n="U" oldref="50">End If</paragraph>
+<paragraph role="paragraph" id="par_id3158446" xml-lang="en-US" l10n="U" oldref="51">Next iCount2</paragraph>
+<paragraph role="paragraph" id="par_id3150783" xml-lang="en-US" l10n="U" oldref="52">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3151278" xml-lang="en-US" l10n="U" oldref="57">For iCount = 0 To 9</paragraph>
+<paragraph role="paragraph" id="par_id3148462" xml-lang="en-US" l10n="U" oldref="58">Print sEntry(iCount)</paragraph>
+<paragraph role="paragraph" id="par_id3149528" xml-lang="en-US" l10n="U" oldref="59">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3152580" xml-lang="en-US" l10n="U" oldref="60">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090203.xhp b/source/text/sbasic/shared/03090203.xhp
new file mode 100644
index 0000000000..92464b0c7c
--- /dev/null
+++ b/source/text/sbasic/shared/03090203.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090203xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">While...Wend Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03090203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="whilewend">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>While;While...Wend loop</bookmark_value></bookmark><paragraph id="hd_id3150400" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090203.xhp" name="While...Wend Statement[Runtime]">While...Wend Statement[Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3151211" l10n="U" oldref="2">When a program encounters a While statement, it tests the condition. If the condition is False, the program continues directly following the Wend statement. If the condition is True, the loop is executed until the program finds Wend and then jumps back to the<emph> While </emph>statement. If the condition is still True, the loop is executed again.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="3" id="par_id3151041" l10n="U" role="paragraph">Unlike the <link href="text/sbasic/shared/03090201.xhp" name="Do...Loop">Do...Loop</link> statement, you cannot cancel a <emph>While...Wend</emph> loop with <link href="text/sbasic/shared/03090412.xhp" name="Exit">Exit</link>. Never exit a While...Wend loop with <link href="text/sbasic/shared/03090302.xhp" name="GoTo">GoTo</link>, since this can cause a run-time error.</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="4">A Do...Loop is more flexible than a While...Wend.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155133" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="6">While Condition [Statement] Wend</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153139" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159153" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleWhileWend</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="9">Dim stext As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="10">Dim iRun As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="11">sText =&quot;This is a short text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154011" l10n="U" xml-lang="en-US" oldref="12">iRun = 1</paragraph>
+ <paragraph role="paragraph" id="par_id3147215" l10n="U" xml-lang="en-US" oldref="13">while iRun &lt; Len(sText)</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="14">if Mid(sText,iRun,1 )&lt;&gt; &quot; &quot; then Mid( sText ,iRun, 1, Chr( 1 + Asc( Mid(sText,iRun,1 )) )</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="15">iRun = iRun + 1</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="16">Wend</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="17">MsgBox sText,0,&quot;Text encoded&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145251" l10n="U" xml-lang="en-US" oldref="18">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090300.xhp b/source/text/sbasic/shared/03090300.xhp
new file mode 100644
index 0000000000..50a44c5bdd
--- /dev/null
+++ b/source/text/sbasic/shared/03090300.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Jumps</title>
+<filename>/text/sbasic/shared/03090300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sprung">
+ <paragraph id="hd_id3151262" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090300.xhp" name="Jumps">Jumps</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148983" l10n="U" xml-lang="en-US" oldref="2">The following statements execute jumps.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090301.xhp#gosubreturn"/>
+ <embed href="text/sbasic/shared/03090302.xhp#goto"/>
+ <embed href="text/sbasic/shared/03090303.xhp#ongosub"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090301.xhp b/source/text/sbasic/shared/03090301.xhp
new file mode 100644
index 0000000000..63bdcb0e6c
--- /dev/null
+++ b/source/text/sbasic/shared/03090301.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GoSub...Return Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:39:27">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="gosubreturn">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>GoSub...Return statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090301.xhp" name="GoSub...Return Statement [Runtime]">GoSub...Return Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145316" xml-lang="en-US" l10n="U" oldref="2">Calls a subroutine that is indicated by a label from a subroutine or a function. The statements following the label are executed until the next Return statement. Afterwards, the program continues with the statement that follows the <emph>GoSub </emph>statement.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145609" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="4">see Parameters</paragraph>
+<paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="6">Sub/Function</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="7">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="8"> Label</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="9">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="10">GoSub Label</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="11">Exit Sub/Function</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="12">Label:</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="13">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="14">Return</paragraph>
+<paragraph role="paragraph" id="par_id3154321" xml-lang="en-US" l10n="U" oldref="15">End Sub/Function</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="16">The <emph>GoSub</emph> statement calls a local subroutine indicated by a label from within a subroutine or a function. The name of the label must end with a colon (":").</paragraph>
+<paragraph role="warning" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="17">If the program encounters a Return statement not preceded by <emph>GoSub</emph>, $[officename] Basic returns an error message. Use <emph>Exit Sub</emph> or <emph>Exit Function</emph> to ensure that the program leaves a Sub or Function before reaching the next Return statement.</paragraph>
+<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="19">The following example demonstrates the use of <emph>GoSub</emph> and <emph>Return</emph>. By executing a program section twice, the program calculates the square root of two numbers that are entered by the user.</paragraph>
+<paragraph role="heading" id="hd_id3156284" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleGoSub</paragraph>
+<paragraph role="paragraph" id="par_id3154097" xml-lang="en-US" l10n="U" oldref="22">dim iInputa as Single</paragraph>
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="23">dim iInputb as Single</paragraph>
+<paragraph role="paragraph" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="24">dim iInputc as Single</paragraph>
+<paragraph role="paragraph" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="25">iInputa = Int(InputBox$ "Enter the first number: ","NumberInput"))</paragraph>
+<paragraph role="paragraph" id="par_id3150329" xml-lang="en-US" l10n="U" oldref="26">iInputb = Int(InputBox$ "Enter the second number: ","NumberInput"))</paragraph>
+<paragraph role="paragraph" id="par_id3156277" xml-lang="en-US" l10n="U" oldref="27">iInputc=iInputa</paragraph>
+<paragraph role="paragraph" id="par_id3150321" xml-lang="en-US" l10n="U" oldref="28">GoSub SquareRoot</paragraph>
+<paragraph role="paragraph" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="29">Print "The square root of";iInputa;" is";iInputc</paragraph>
+<paragraph role="paragraph" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="30">iInputc=iInputb</paragraph>
+<paragraph role="paragraph" id="par_id3152960" xml-lang="en-US" l10n="U" oldref="31">GoSub SquareRoot</paragraph>
+<paragraph role="paragraph" id="par_id3147340" xml-lang="en-US" l10n="U" oldref="32">Print "The square root of";iInputb;" is";iInputc</paragraph>
+<paragraph role="paragraph" id="par_id3166450" xml-lang="en-US" l10n="U" oldref="33">Exit Sub</paragraph>
+<paragraph role="paragraph" id="par_id3155176" xml-lang="en-US" l10n="U" oldref="34">SquareRoot:</paragraph>
+<paragraph role="paragraph" id="par_id3149257" xml-lang="en-US" l10n="U" oldref="35">iInputc=sqr(iInputc)</paragraph>
+<paragraph role="paragraph" id="par_id3146316" xml-lang="en-US" l10n="U" oldref="36">Return</paragraph>
+<paragraph role="paragraph" id="par_id3154703" xml-lang="en-US" l10n="U" oldref="37">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090302.xhp b/source/text/sbasic/shared/03090302.xhp
new file mode 100644
index 0000000000..f2681432c4
--- /dev/null
+++ b/source/text/sbasic/shared/03090302.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GoTo Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-03-14T15:57:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="goto">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>GoTo statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090302.xhp" name="GoTo Statement [Runtime]">GoTo Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="2">Continues program execution within a Sub or Function at the procedure line indicated by a label.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="4">see Parameters</paragraph>
+<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="6">Sub/Function</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="7">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="8"> Label1</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Label2:</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="10">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="11">Exit Sub</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Label1:</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="13">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="14">GoTo Label2</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="U" oldref="15">End Sub/Function</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="16">Use the GoTo statement to instruct $[officename] Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name, and then and end it with a colon (":").</paragraph>
+<paragraph role="warning" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="17">You cannot use the GoTo statement to jump out of a Sub or Function.</paragraph>
+<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="2" l10n="U" oldref="19">Example:</paragraph>
+<paragraph role="paragraph" id="par_id6967035" xml-lang="en-US" l10n="NEW">see Parameters</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090303.xhp b/source/text/sbasic/shared/03090303.xhp
new file mode 100644
index 0000000000..18d6d2da97
--- /dev/null
+++ b/source/text/sbasic/shared/03090303.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090303xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">On...GoSub Statement; On...GoTo Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:49:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ongosub">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153897"><bookmark_value>On...GoSub statement</bookmark_value>
+<bookmark_value>On...GoTo statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090303.xhp" name="On...GoSub Statement; On...GoTo Statement [Runtime]">On...GoSub Statement; On...GoTo Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="2">Branches to one of several specified lines in the program code, depending on the value of a numeric expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="4">On N GoSub Label1[, Label2[, Label3[,...]]]</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="5">On NumExpression GoTo Label1[, Label2[, Label3[,...]]]</paragraph>
+<paragraph role="heading" id="hd_id3156215" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148673" xml-lang="en-US" l10n="U" oldref="7">
+<emph>NumExpression:</emph> Any numeric expression between 0 and 255 that determines which of the lines the program branches to. If NumExpression is 0, the statement is not executed. If NumExpression is greater than 0, the program jumps to the label that has a position number that corresponds to the expression (1 = First label; 2 = Second label)</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Label:</emph> Target line according to<emph> GoTo </emph>or <emph>GoSub</emph> structure.</paragraph>
+<paragraph role="note" id="par_id3156442" xml-lang="en-US" l10n="U" oldref="9">The <emph>GoTo</emph> or <emph>GoSub </emph>conventions are valid.</paragraph>
+<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleOnGosub</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="13">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="14">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="15">iVar = 2</paragraph>
+<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="16">sVar =""</paragraph>
+<paragraph role="paragraph" id="par_id3154942" xml-lang="en-US" l10n="U" oldref="17">On iVar GoSub Sub1, Sub2</paragraph>
+<paragraph role="paragraph" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="18">On iVar GoTo Line1, Line2</paragraph>
+<paragraph role="paragraph" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="19">Exit Sub</paragraph>
+<paragraph role="paragraph" id="par_id3154015" xml-lang="en-US" l10n="U" oldref="20">Sub1:</paragraph>
+<paragraph role="paragraph" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="21">sVar =sVar &amp; " From Sub 1 to" : Return</paragraph>
+<paragraph role="paragraph" id="par_id3150750" xml-lang="en-US" l10n="U" oldref="22">Sub2:</paragraph>
+<paragraph role="paragraph" id="par_id3153708" xml-lang="en-US" l10n="U" oldref="23">sVar =sVar &amp; " From Sub 2 to" : Return</paragraph>
+<paragraph role="paragraph" id="par_id3155067" xml-lang="en-US" l10n="U" oldref="24">Line1:</paragraph>
+<paragraph role="paragraph" id="par_id3150321" xml-lang="en-US" l10n="U" oldref="25">sVar =sVar &amp; " Label 1" : GoTo Ende</paragraph>
+<paragraph role="paragraph" id="par_id3149019" xml-lang="en-US" l10n="U" oldref="26">Line2:</paragraph>
+<paragraph role="paragraph" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="27">sVar =sVar &amp; " Label 2"</paragraph>
+<paragraph role="paragraph" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="28">Ende:</paragraph>
+<paragraph role="paragraph" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="29">MsgBox sVar,0,"On...Gosub"</paragraph>
+<paragraph role="paragraph" id="par_id3149565" xml-lang="en-US" l10n="U" oldref="30">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090400.xhp b/source/text/sbasic/shared/03090400.xhp
new file mode 100644
index 0000000000..bf9957b45f
--- /dev/null
+++ b/source/text/sbasic/shared/03090400.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Further Statements</title>
+<filename>/text/sbasic/shared/03090400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="weitere">
+ <paragraph id="hd_id3145316" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090400.xhp" name="Further Statements">Further Statements</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="2">Statements that do not belong to any of the other runtime categories are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090401.xhp#call"/>
+ <embed href="text/sbasic/shared/03090402.xhp#choose"/>
+ <embed href="text/sbasic/shared/03090403.xhp#declare"/>
+ <embed href="text/sbasic/shared/03090404.xhp#end"/>
+ <embed href="text/sbasic/shared/03090412.xhp#exit"/>
+ <embed href="text/sbasic/shared/03090405.xhp#freelibrary"/>
+ <embed href="text/sbasic/shared/03090406.xhp#function"/>
+ <embed href="text/sbasic/shared/03090407.xhp#rem"/>
+ <embed href="text/sbasic/shared/03090408.xhp#stop"/>
+ <embed href="text/sbasic/shared/03090409.xhp#sub"/>
+ <embed href="text/sbasic/shared/03090410.xhp#switch"/>
+ <embed href="text/sbasic/shared/03090411.xhp#with"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090401.xhp b/source/text/sbasic/shared/03090401.xhp
new file mode 100644
index 0000000000..434cb71298
--- /dev/null
+++ b/source/text/sbasic/shared/03090401.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090401xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Call Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:48:22">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="call">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>Call statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154422" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090401.xhp" name="Call Statement [Runtime]">Call Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Transfers the control of the program to a subroutine, a function, or a DLL procedure.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="4">[Call] Name [Parameter]</paragraph>
+<paragraph role="heading" id="hd_id3150771" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Name:</emph> Name of the subroutine, the function, or the DLL that you want to call</paragraph>
+<paragraph role="paragraph" id="par_id3148946" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Parameter:</emph> Parameters to pass to the procedure. The type and number of parameters is dependent on the routine that is executing.</paragraph>
+<paragraph role="note" id="par_id3154216" xml-lang="en-US" l10n="U" oldref="8">A keyword is optional when you call a procedure. If a function is executed as an expression, the parameters must be enclosed by brackets in the statement. If a DLL is called, it must first be specified in the <emph>Declare-Statement</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3125865" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3159254" xml-lang="en-US" localize="false">Sub ExampleCall</paragraph>
+<paragraph role="bascode" id="par_id3161832" xml-lang="en-US" localize="false">Dim sVar As String</paragraph>
+<paragraph role="bascode" id="par_id3147317" xml-lang="en-US" localize="false"> sVar = "LibreOffice"</paragraph>
+<paragraph role="bascode" id="par_id3145273" xml-lang="en-US" localize="false"> Call f_callFun sVar</paragraph>
+<paragraph role="bascode" id="par_id3147435" xml-lang="en-US" localize="false">End Sub</paragraph>
+<paragraph role="bascode" id="par_id3147436" xml-lang="en-US" localize="false"></paragraph>
+<paragraph role="bascode" id="par_id3155414" xml-lang="en-US" localize="false">Sub f_callFun (sText as String)</paragraph>
+<paragraph role="bascode" id="par_id3151112" xml-lang="en-US" localize="false"> Msgbox sText</paragraph>
+<paragraph role="bascode" id="par_id3148646" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090402.xhp b/source/text/sbasic/shared/03090402.xhp
new file mode 100644
index 0000000000..5eda3d85b1
--- /dev/null
+++ b/source/text/sbasic/shared/03090402.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090402xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Choose Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:37:38">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="choose">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143271"><bookmark_value>Choose function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143271" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090402.xhp" name="Choose Function [Runtime]">Choose Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149234" xml-lang="en-US" l10n="U" oldref="2">Returns a selected value from a list of arguments.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148943" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="4">Choose (Index, Selection1[, Selection2, ... [,Selection_n]])</paragraph>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Index:</emph> A numeric expression that specifies the value to return.</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Selection1:</emph> Any expression that contains one of the possible choices.</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="8">The <emph>Choose</emph> function returns a value from the list of expressions based on the index value. If Index = 1, the function returns the first expression in the list, if index i= 2, it returns the second expression, and so on.</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="9">If the index value is less than 1 or greater than the number of expressions listed, the function returns a Null value.</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="10">The following example uses the <emph>Choose</emph> function to select a string from several strings that form a menu:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153091" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleChoose</paragraph>
+<paragraph role="paragraph" id="par_id3152597" xml-lang="en-US" l10n="U" oldref="13">Dim sReturn As String</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="14">sReturn = ChooseMenu(2)</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="15">Print sReturn</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="16">end sub</paragraph>
+<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="19">Function ChooseMenu(Index As Integer)</paragraph>
+<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US" l10n="U" oldref="20">ChooseMenu = Choose(Index, "Quick Format", "Save Format", "System Format")</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="21">End Function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090403.xhp b/source/text/sbasic/shared/03090403.xhp
new file mode 100644
index 0000000000..26cfa055ab
--- /dev/null
+++ b/source/text/sbasic/shared/03090403.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090403xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Declare Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-02-10T10:42:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="declare">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148473"><bookmark_value>Declare statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090403.xhp" name="Declare Statement [Runtime]">Declare Statement [Runtime]</link></paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145316"><bookmark_value>DLL (Dynamic Link Library)</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3145316" xml-lang="en-US" l10n="CHG" oldref="2">Declares and defines a subroutine in a DLL file that you want to execute from $[officename] Basic.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03090405.xhp" name="FreeLibrary">FreeLibrary</link></paragraph>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="5">Declare {Sub | Function} Name Lib "Libname" [Alias "Aliasname"] [Parameter] [As Type]</paragraph>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Name:</emph> A different name than defined in the DLL, to call the subroutine from $[officename] Basic.</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Aliasname</emph>: Name of the subroutine as defined in the DLL.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Libname:</emph> File or system name of the DLL. This library is automatically loaded the first time the function is used.</paragraph>
+<paragraph role="paragraph" id="par_id3148452" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Argumentlist:</emph> List of parameters representing arguments that are passed to the procedure when it is called. The type and number of parameters is dependent on the executed procedure.</paragraph>
+<paragraph role="paragraph" id="par_id3147289" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Type:</emph> Defines the data type of the value that is returned by a function procedure. You can exclude this parameter if a type-declaration character is entered after the name.</paragraph>
+<paragraph role="warning" id="par_id3146922" xml-lang="en-US" l10n="U" oldref="13">To pass a parameter to a subroutine as a value instead of as a reference, the parameter must be indicated by the keyword <emph>ByVal</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3153951" xml-lang="en-US" level="2" l10n="U" oldref="14">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="15">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( long )</paragraph>
+<paragraph role="paragraph" id="par_id3150417" xml-lang="en-US" l10n="U" oldref="17">Sub ExampleDeclare</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="18">Dim lValue As Long</paragraph>
+<paragraph role="paragraph" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="19">lValue = 5000</paragraph>
+<paragraph role="paragraph" id="par_id3145801" xml-lang="en-US" l10n="U" oldref="20">MyMessageBeep( lValue )</paragraph>
+<paragraph role="paragraph" id="par_id3145253" xml-lang="en-US" l10n="U" oldref="21">FreeLibrary("user32.dll" )</paragraph>
+<paragraph role="paragraph" id="par_id3149402" xml-lang="en-US" l10n="U" oldref="22">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090404.xhp b/source/text/sbasic/shared/03090404.xhp
new file mode 100644
index 0000000000..93b9fd167b
--- /dev/null
+++ b/source/text/sbasic/shared/03090404.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090404xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">End Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090404.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:34:58">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="end">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150771"><bookmark_value>End statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150771" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090404.xhp" name="End Statement [Runtime]">End Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="2">Ends a procedure or block.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="4">End, End Function, End If, End Select, End Sub</paragraph>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="6">Use the End statement as follows:</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="7">Statement</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="8">End: Is not required, but can be entered anywhere within a procedure to end the program execution.</paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="9">End Function: Ends a <emph>Function</emph> statement.</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="10">End If: Marks the end of a <emph>If...Then...Else</emph> block.</paragraph>
+<paragraph role="paragraph" id="par_id3148451" xml-lang="en-US" l10n="U" oldref="11">End Select: Marks the end of a <emph>Select Case</emph> block.</paragraph>
+<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US" l10n="U" oldref="12">End Sub: Ends a <emph>Sub</emph> statement.</paragraph>
+<paragraph role="heading" id="hd_id3146120" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="14">Sub ExampleRandomSelect</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="15">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="16">iVar = Int((15 * Rnd) -2)</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="17">Select Case iVar</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="18">Case 1 To 5</paragraph>
+<paragraph role="paragraph" id="par_id3152887" xml-lang="en-US" l10n="U" oldref="19">Print "Number from 1 to 5"</paragraph>
+<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="20">Case 6, 7, 8</paragraph>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="21">Print "Number from 6 to 8"</paragraph>
+<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US" l10n="U" oldref="22">Case Is &gt; 8 And iVar &lt; 11</paragraph>
+<paragraph role="paragraph" id="par_id3147436" xml-lang="en-US" l10n="U" oldref="23">Print "Greater than 8"</paragraph>
+<paragraph role="paragraph" id="par_id3155418" xml-lang="en-US" l10n="U" oldref="24">Case Else</paragraph>
+<paragraph role="paragraph" id="par_id3150418" xml-lang="en-US" l10n="U" oldref="25">Print "Outside range 1 to 10"</paragraph>
+<paragraph role="paragraph" id="par_id3156285" xml-lang="en-US" l10n="U" oldref="26">End Select</paragraph>
+<paragraph role="paragraph" id="par_id3149582" xml-lang="en-US" l10n="U" oldref="27">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090405.xhp b/source/text/sbasic/shared/03090405.xhp
new file mode 100644
index 0000000000..56c0817ddb
--- /dev/null
+++ b/source/text/sbasic/shared/03090405.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090405xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FreeLibrary Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090405.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:10:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="freelibrary">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143270"><bookmark_value>FreeLibrary function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090405.xhp" name="FreeLibrary Function [Runtime]">FreeLibrary Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US" l10n="U" oldref="2">Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: <link href="text/sbasic/shared/03090403.xhp" name="Declare">Declare</link></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148550" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="4">FreeLibrary (LibName As String)</paragraph>
+<paragraph role="heading" id="hd_id3153380" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="6">
+<emph>LibName:</emph> String expression that specifies the name of the DLL.</paragraph>
+<paragraph role="note" id="par_id3146923" xml-lang="en-US" l10n="U" oldref="7">FreeLibrary can only release DLLs that are loaded during Basic runtime.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153363" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="9">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( long )</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleDeclare</paragraph>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="12">Dim lValue As Long</paragraph>
+<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="13">lValue = 5000</paragraph>
+<paragraph role="paragraph" id="par_id3148648" xml-lang="en-US" l10n="U" oldref="14">MyMessageBeep( lValue )</paragraph>
+<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="15">FreeLibrary("user32.dll" )</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="16">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090406.xhp b/source/text/sbasic/shared/03090406.xhp
new file mode 100644
index 0000000000..c6f24dc8cf
--- /dev/null
+++ b/source/text/sbasic/shared/03090406.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090406xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Function Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090406.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:12:48">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="function">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153346"><bookmark_value>Function statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090406.xhp" name="Function Statement [Runtime]">Function Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159158" xml-lang="en-US" l10n="U" oldref="2">Defines a subroutine that can be used as an expression to determine a return type.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145316" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3148944" xml-lang="en-US" l10n="U" oldref="4">see Parameter</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="6">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="7">Function Name[(VarName1 [As Type][, VarName2 [As Type][,...]]]) [As Type]</paragraph>
+<paragraph role="paragraph" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="8">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="9">[Exit Function]</paragraph>
+<paragraph role="paragraph" id="par_id3145419" xml-lang="en-US" l10n="U" oldref="10">statement block</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="11">End Function</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="12">Parameter</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Name:</emph> Name of the subroutine to contain the value returned by the function.</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="14">
+<emph>VarName:</emph> Parameter to be passed to the subroutine.</paragraph>
+<paragraph role="paragraph" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Type:</emph> Type-declaration keyword.</paragraph>
+<paragraph role="heading" id="hd_id3163710" xml-lang="en-US" level="2" l10n="U" oldref="16">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147214" xml-lang="en-US" l10n="U" oldref="17">Sub ExampleExit</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="18">Dim sReturn As String</paragraph>
+<paragraph role="paragraph" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="19">Dim sListArray(10) as String</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="20">Dim siStep as Single</paragraph>
+<paragraph role="paragraph" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="21">For siStep = 0 to 10 REM Fill array with test data</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="22">sListArray(siStep) = chr$(siStep + 65)</paragraph>
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="23">msgbox sListArray(siStep)</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="24">next siStep</paragraph>
+<paragraph role="paragraph" id="par_id3146922" xml-lang="en-US" l10n="U" oldref="25">sReturn = LinSearch(sListArray(), "B")</paragraph>
+<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="26">Print sReturn</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="27">end sub</paragraph>
+<paragraph role="paragraph" id="par_id3154790" xml-lang="en-US" l10n="U" oldref="30">Function LinSearch( sList(), sItem As String ) as integer</paragraph>
+<paragraph role="paragraph" id="par_id3150594" xml-lang="en-US" l10n="U" oldref="31">dim iCount as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="32">REM Linsearch searches a TextArray:sList() for a TextEntry:</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="33">REM Return value is the index of the entry or 0 (Null)</paragraph>
+<paragraph role="paragraph" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="34">for iCount=1 to Ubound( sList() )</paragraph>
+<paragraph role="paragraph" id="par_id3149123" xml-lang="en-US" l10n="U" oldref="35">if sList( iCount ) = sItem then</paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="36">exit for REM sItem found</paragraph>
+<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="37">end if</paragraph>
+<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="38">next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3156054" xml-lang="en-US" l10n="U" oldref="39">if iCount = Ubound( sList() ) then iCount = 0</paragraph>
+<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="40">LinSearch = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3153713" xml-lang="en-US" l10n="U" oldref="41">end function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090407.xhp b/source/text/sbasic/shared/03090407.xhp
new file mode 100644
index 0000000000..a041e0fc6d
--- /dev/null
+++ b/source/text/sbasic/shared/03090407.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090407xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Rem Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090407.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-02T13:24:56">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rem">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154347"><bookmark_value>Rem statement</bookmark_value>
+<bookmark_value>comments;Rem statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090407.xhp" name="Rem Statement [Runtime]">Rem Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="2">Specifies that a program line is a comment.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="4">Rem Text</paragraph>
+<paragraph role="heading" id="hd_id3151042" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any text that serves as a comment.</paragraph>
+<paragraph role="tip" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="7">You can use the single quotation mark instead of the Rem keyword to indicate that the text on a line is comments. This symbol can be inserted directly to the right of the program code, followed by a comment.</paragraph>
+<paragraph role="note" id="par_id6187017" xml-lang="en-US" l10n="NEW">You can use a space followed by the underline character _ as the last two characters of a line to continue the logical line on the next line. To continue comment lines, you must enter "Option Compatible" in the same Basic module.</paragraph>
+<paragraph role="heading" id="hd_id3150012" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleMid</paragraph>
+<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="10">DIM sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="11">sVar = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="12">Print Mid(sVar,3,5) REM Returns "s Veg"</paragraph>
+<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="13">REM Nothing occurs here</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090408.xhp b/source/text/sbasic/shared/03090408.xhp
new file mode 100644
index 0000000000..ff2f3de86a
--- /dev/null
+++ b/source/text/sbasic/shared/03090408.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090408xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Stop Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090408.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:31:50">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="stop">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Stop statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090408.xhp" name="Stop Statement [Runtime]">Stop Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="2">Stops the execution of the Basic program.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="4">Stop</paragraph>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="6">Sub ExampleStop</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="7">Dim iVar As Single</paragraph>
+<paragraph role="paragraph" id="par_id3153380" xml-lang="en-US" l10n="U" oldref="8">iVar = 36</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="9">Stop</paragraph>
+<paragraph role="paragraph" id="par_id3148799" xml-lang="en-US" l10n="U" oldref="10">Msgbox Sqr(iVar)</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="11">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090409.xhp b/source/text/sbasic/shared/03090409.xhp
new file mode 100644
index 0000000000..137f6f7ed6
--- /dev/null
+++ b/source/text/sbasic/shared/03090409.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090409xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sub Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090409.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-18T09:23:41">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="sub">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147226"><bookmark_value>Sub statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147226" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090409.xhp" name="Sub Statement [Runtime]">Sub Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="2">Defines a subroutine.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax</paragraph>
+<paragraph role="code" id="par_idN105E7" xml-lang="en-US" l10n="NEW">Sub Name[(VarName1 [As Type][, VarName2 [As Type][,...]])]</paragraph>
+<paragraph role="code" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="5">statement block</paragraph>
+<paragraph role="code" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="8">End Sub</paragraph>
+<paragraph role="heading" id="hd_id3153525" xml-lang="en-US" level="2" l10n="U" oldref="9">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Name:</emph> Name of the subroutine .</paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="11">
+<emph>VarName: </emph>Parameter that you want to pass to the subroutine.</paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Type:</emph> Type-declaration key word.</paragraph>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="16">Example:</paragraph>
+<paragraph role="code" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="17">Sub Example</paragraph>
+<paragraph role="code" id="par_idN1063F" xml-lang="en-US" l10n="NEW">REM some statements</paragraph>
+<paragraph role="code" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="19">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090410.xhp b/source/text/sbasic/shared/03090410.xhp
new file mode 100644
index 0000000000..9a6b0833d9
--- /dev/null
+++ b/source/text/sbasic/shared/03090410.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090410xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Switch Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090410.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:34:49">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="switch">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148554"><bookmark_value>Switch function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148554" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090410.xhp" name="Switch Function [Runtime]">Switch Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148522" xml-lang="en-US" l10n="U" oldref="2">Evaluates a list of arguments, consisting of an expression followed by a value. The Switch function returns a value that is associated with the expression that is passed by this function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154863" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155934" xml-lang="en-US" l10n="U" oldref="4">Switch (Expression1, Value1[, Expression2, Value2[..., Expression_n, Value_n]])</paragraph>
+<paragraph role="heading" id="hd_id3149119" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153894" xml-lang="en-US" l10n="U" oldref="6">The <emph>Switch</emph> function evaluates the expressions from left to right, and then returns the value that is assigned to the function expression. If expression and value are not given as a pair, a runtime error occurs.</paragraph>
+<paragraph role="paragraph" id="par_id3153990" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression:</emph> The expression that you want to evaluate.</paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Value:</emph> The value that you want to return if the expression is True.</paragraph>
+<paragraph role="paragraph" id="par_id3153346" xml-lang="en-US" l10n="U" oldref="9">In the following example, the <emph>Switch</emph> function assigns the appropriate gender to the name that is passed to the function:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSwitch</paragraph>
+<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US" l10n="U" oldref="12">Dim sGender As String</paragraph>
+<paragraph role="paragraph" id="par_id3149579" xml-lang="en-US" l10n="U" oldref="13">sGender = GetGenderIndex( "John" )</paragraph>
+<paragraph role="paragraph" id="par_id3153626" xml-lang="en-US" l10n="U" oldref="14">MsgBox sGender</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="15">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3154758" xml-lang="en-US" l10n="U" oldref="17">Function GetGenderIndex (sName As String) As String</paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="18">GetGenderIndex = Switch(sName = "Jane", "female", sName = "John", "male")</paragraph>
+<paragraph role="paragraph" id="par_id3154939" xml-lang="en-US" l10n="U" oldref="19">End Function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090411.xhp b/source/text/sbasic/shared/03090411.xhp
new file mode 100644
index 0000000000..27f0d54f6f
--- /dev/null
+++ b/source/text/sbasic/shared/03090411.xhp
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090411xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">With Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090411.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:55:48">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="with">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>With statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090411.xhp" name="With Statement [Runtime]">With Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159158" xml-lang="en-US" l10n="U" oldref="2">Sets an object as the default object. Unless another object name is declared, all properties and methods refer to the default object until the End With statement is reached.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156153" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="4">With Object Statement block End With</paragraph>
+<paragraph role="heading" id="hd_id3154924" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">Use <emph>With</emph> and <emph>End With</emph> if you have several properties or methods for a single object.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03090412.xhp b/source/text/sbasic/shared/03090412.xhp
new file mode 100644
index 0000000000..13557ee7c6
--- /dev/null
+++ b/source/text/sbasic/shared/03090412.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090412xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Exit Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090412.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:52:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="exit">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152924"><bookmark_value>Exit statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3152924" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03090412.xhp" name="Exit Statement [Runtime]">Exit Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Exits a <emph>Do...Loop</emph>, <emph>For...Next</emph>, a function, or a subroutine.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149763" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="4">see Parameters</paragraph>
+<paragraph role="heading" id="hd_id3148943" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Exit Do</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US" l10n="U" oldref="7">Only valid within a <emph>Do...Loop</emph> statement to exit the loop. Program execution continues with the statement that follows the Loop statement. If <emph>Do...Loop</emph> statements are nested, the control is transferred to the loop in the next higher level.</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Exit For</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="9">Only valid within a <emph>For...Next</emph> loop to exit the loop. Program execution continues with the first statement that follows the <emph>Next</emph> statement. In nested statements, the control is transferred to the loop in the next higher level.</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Exit Function</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="11">Exits the <emph>Function</emph> procedure immediately. Program execution continues with the statement that follows the <emph>Function</emph> call.</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Exit Sub</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="13">Exits the subroutine immediately. Program execution continues with the statement that follows the <emph>Sub</emph> call.</paragraph>
+<paragraph role="note" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="14">The Exit statement does not define the end of a structure, and must not be confused with the End statement.</paragraph>
+<paragraph role="heading" id="hd_id3147348" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleExit</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="17">Dim sReturn As String</paragraph>
+<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="18">Dim sListArray(10) as String</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="19">Dim siStep as Single</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="20">For siStep = 0 to 10 REM Fill array with test data</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="21">sListArray(siStep) = chr(siStep + 65)</paragraph>
+<paragraph role="paragraph" id="par_id3154492" xml-lang="en-US" l10n="U" oldref="22">msgbox sListArray(siStep)</paragraph>
+<paragraph role="paragraph" id="par_id3154791" xml-lang="en-US" l10n="U" oldref="23">next siStep</paragraph>
+<paragraph role="paragraph" id="par_id3153510" xml-lang="en-US" l10n="U" oldref="24">sReturn = LinSearch(sListArray(), "B")</paragraph>
+<paragraph role="paragraph" id="par_id3154513" xml-lang="en-US" l10n="U" oldref="25">Print sReturn</paragraph>
+<paragraph role="paragraph" id="par_id3149121" xml-lang="en-US" l10n="U" oldref="26">end sub</paragraph>
+<paragraph role="paragraph" id="par_id3152962" xml-lang="en-US" l10n="U" oldref="29">Function LinSearch( sList(), sItem As String ) as integer</paragraph>
+<paragraph role="paragraph" id="par_id3154755" xml-lang="en-US" l10n="U" oldref="30">dim iCount as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="31">REM LinSearch searches a TextArray:sList() for a TextEntry:</paragraph>
+<paragraph role="paragraph" id="par_id3148995" xml-lang="en-US" l10n="U" oldref="32">REM Returns the index of the entry or 0 ( Null)</paragraph>
+<paragraph role="paragraph" id="par_id3156057" xml-lang="en-US" l10n="U" oldref="33">for iCount=1 to Ubound( sList() )</paragraph>
+<paragraph role="paragraph" id="par_id3159266" xml-lang="en-US" l10n="U" oldref="34">if sList( iCount ) = sItem then</paragraph>
+<paragraph role="paragraph" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="35">Exit for REM sItem found</paragraph>
+<paragraph role="paragraph" id="par_id3147343" xml-lang="en-US" l10n="U" oldref="36">end if</paragraph>
+<paragraph role="paragraph" id="par_id3155174" xml-lang="en-US" l10n="U" oldref="37">next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3146313" xml-lang="en-US" l10n="U" oldref="38">if iCount = Ubound( sList() ) then iCount = 0</paragraph>
+<paragraph role="paragraph" id="par_id3166448" xml-lang="en-US" l10n="U" oldref="39">LinSearch = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="40">end function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100000.xhp b/source/text/sbasic/shared/03100000.xhp
new file mode 100644
index 0000000000..221b239ba6
--- /dev/null
+++ b/source/text/sbasic/shared/03100000.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Variables</title>
+<filename>/text/sbasic/shared/03100000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-25T15:31:48">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="variablen">
+<paragraph role="heading" id="hd_id3149669" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100000.xhp" name="Variables">Variables</link></paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="2">The following statements and functions are for working with variables. You can use these functions to declare or define variables, convert variables from one type to another, or determine the variable type.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03100050.xhp#ccur"/>
+<embed href="text/sbasic/shared/03100100.xhp#cbool"/>
+<embed href="text/sbasic/shared/03100300.xhp#cdate"/>
+<embed href="text/sbasic/shared/03100060.xhp#cdec"/>
+<embed href="text/sbasic/shared/03100400.xhp#cdbl"/>
+<embed href="text/sbasic/shared/03100500.xhp#cint"/>
+<embed href="text/sbasic/shared/03100600.xhp#clng"/>
+<embed href="text/sbasic/shared/03100700.xhp#const"/>
+<embed href="text/sbasic/shared/03100900.xhp#csng"/>
+<embed href="text/sbasic/shared/03101000.xhp#cstr"/>
+<embed href="text/sbasic/shared/03100070.xhp#cvar"/>
+<embed href="text/sbasic/shared/03100080.xhp#cverr"/>
+<embed href="text/sbasic/shared/03101100.xhp#defbool"/>
+<embed href="text/sbasic/shared/03101110.xhp#defcur"/>
+<embed href="text/sbasic/shared/03101300.xhp#defdate"/>
+<embed href="text/sbasic/shared/03101400.xhp#defdbl"/>
+<embed href="text/sbasic/shared/03101120.xhp#deferr"/>
+<embed href="text/sbasic/shared/03101500.xhp#defint"/>
+<embed href="text/sbasic/shared/03101600.xhp#deflng"/>
+<embed href="text/sbasic/shared/03101700.xhp#defobj"/>
+<embed href="text/sbasic/shared/03101130.xhp#defsng"/>
+<embed href="text/sbasic/shared/03101140.xhp#defstr"/>
+<embed href="text/sbasic/shared/03102000.xhp#defvar"/>
+<embed href="text/sbasic/shared/03102100.xhp#dimtext"/>
+<embed href="text/sbasic/shared/03102101.xhp#redim"/>
+<embed href="text/sbasic/shared/03102200.xhp#isarray"/>
+<embed href="text/sbasic/shared/03102300.xhp#isdate"/>
+<embed href="text/sbasic/shared/03102400.xhp#isempty"/>
+<embed href="text/sbasic/shared/03102450.xhp#iserror"/>
+<embed href="text/sbasic/shared/03102600.xhp#isnull"/>
+<embed href="text/sbasic/shared/03102700.xhp#isnumeric"/>
+<embed href="text/sbasic/shared/03102800.xhp#isobject"/>
+<embed href="text/sbasic/shared/03102900.xhp#lbound"/>
+<embed href="text/sbasic/shared/03103000.xhp#ubound"/>
+<embed href="text/sbasic/shared/03103100.xhp#let"/>
+<embed href="text/sbasic/shared/03104200.xhp#array"/>
+<embed href="text/sbasic/shared/03104300.xhp#dimarray"/>
+<embed href="text/sbasic/shared/03104700.xhp#erase"/>
+<embed href="text/sbasic/shared/03103200.xhp#optionbase"/>
+<embed href="text/sbasic/shared/03103300.xhp#optionexplicit"/>
+<embed href="text/sbasic/shared/03103400.xhp#public"/>
+<embed href="text/sbasic/shared/03103450.xhp#global"/>
+<embed href="text/sbasic/shared/03103500.xhp#static"/>
+<embed href="text/sbasic/shared/03103600.xhp#typename"/>
+<embed href="text/sbasic/shared/03103700.xhp#set"/>
+<embed href="text/sbasic/shared/03103800.xhp#findobject"/>
+<embed href="text/sbasic/shared/03103900.xhp#findpropertyobject"/>
+<embed href="text/sbasic/shared/03104100.xhp#optional"/>
+<embed href="text/sbasic/shared/03104000.xhp#ismissing"/>
+<embed href="text/sbasic/shared/03104400.xhp#hasunointerfaces"/>
+<embed href="text/sbasic/shared/03104600.xhp#equalunoobjects"/>
+<embed href="text/sbasic/shared/03104500.xhp#isunostruct"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100050.xhp b/source/text/sbasic/shared/03100050.xhp
new file mode 100644
index 0000000000..553c6dd6a2
--- /dev/null
+++ b/source/text/sbasic/shared/03100050.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100050xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CCur Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100050.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T10:26:18">CCur</created>
+<lastedited date="2005-04-26T11:52:24">checked</lastedited>
+</history>
+</meta>
+<body>
+<section id="ccur">
+<bookmark xml-lang="en-US" branch="index" id="bm_id8926053"><bookmark_value>CCur function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10541" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03100050.xhp">CCur Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10545" xml-lang="en-US" l10n="NEW">Converts a string expression or numeric expression to a currency expression. The locale settings are used for decimal separators and currency symbols.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN105E8" xml-lang="en-US" l10n="NEW">CCur(Expression)</paragraph>
+<paragraph role="heading" id="par_idN105EB" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN105EF" xml-lang="en-US" l10n="NEW">Currency</paragraph>
+<paragraph role="heading" id="par_idN105F2" xml-lang="en-US" level="2" l10n="NEW">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_idN105F6" xml-lang="en-US" l10n="NEW">Expression: Any string or numeric expression that you want to convert.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100060.xhp b/source/text/sbasic/shared/03100060.xhp
new file mode 100644
index 0000000000..2c4f6de731
--- /dev/null
+++ b/source/text/sbasic/shared/03100060.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100060xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CDec Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100060.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T10:42:57">CDec</created>
+<lastedited date="2005-04-27T10:49:30"/>
+</history>
+</meta>
+<body>
+<section id="cdec">
+<bookmark xml-lang="en-US" branch="index" id="bm_id863979"><bookmark_value>CDec function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03100060.xhp">CDec Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US" l10n="NEW">Converts a string expression or numeric expression to a decimal expression.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1055B" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN105EA" xml-lang="en-US" l10n="NEW">CDec(Expression)</paragraph>
+<paragraph role="heading" id="par_idN105ED" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN105F1" xml-lang="en-US" l10n="NEW">Decimal number.</paragraph>
+<paragraph role="heading" id="par_idN105F4" xml-lang="en-US" level="2" l10n="NEW">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_idN105F8" xml-lang="en-US" l10n="NEW">Expression: Any string or numeric expression that you want to convert.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100070.xhp b/source/text/sbasic/shared/03100070.xhp
new file mode 100644
index 0000000000..a1db6c4139
--- /dev/null
+++ b/source/text/sbasic/shared/03100070.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100070xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CVar Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100070.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T11:31:39">CVar</created>
+<lastedited date="2005-04-27T10:50:06"/>
+</history>
+</meta>
+<body>
+<section id="cvar">
+<bookmark xml-lang="en-US" branch="index" id="bm_id2338633"><bookmark_value>CVar function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN1054B" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03100070.xhp">CVar Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN1055B" xml-lang="en-US" l10n="NEW">Converts a string expression or numeric expression to a variant expression.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1055E" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10562" xml-lang="en-US" l10n="NEW">CVar(Expression)</paragraph>
+<paragraph role="heading" id="par_idN10565" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN10569" xml-lang="en-US" l10n="NEW">Variant.</paragraph>
+<paragraph role="heading" id="par_idN1056C" xml-lang="en-US" level="2" l10n="NEW">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_idN10570" xml-lang="en-US" l10n="NEW">Expression: Any string or numeric expression that you want to convert.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100080.xhp b/source/text/sbasic/shared/03100080.xhp
new file mode 100644
index 0000000000..fc66d023f0
--- /dev/null
+++ b/source/text/sbasic/shared/03100080.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100080xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CVErr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100080.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T11:37:22">CVErr</created>
+<lastedited date="2005-04-27T10:50:38"/>
+</history>
+</meta>
+<body>
+<section id="cverr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id531022"><bookmark_value>CVErr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN1054B" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03100080.xhp">CVErr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN1055B" xml-lang="en-US" l10n="NEW">Converts a string expression or numeric expression to a variant expression of the sub type "Error".</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1055E" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10562" xml-lang="en-US" l10n="NEW">CVErr(Expression)</paragraph>
+<paragraph role="heading" id="par_idN10565" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN10569" xml-lang="en-US" l10n="NEW">Variant.</paragraph>
+<paragraph role="heading" id="par_idN1056C" xml-lang="en-US" level="2" l10n="NEW">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_idN10570" xml-lang="en-US" l10n="NEW">Expression: Any string or numeric expression that you want to convert.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100100.xhp b/source/text/sbasic/shared/03100100.xhp
new file mode 100644
index 0000000000..f8fd76636d
--- /dev/null
+++ b/source/text/sbasic/shared/03100100.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CBool Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:51:33">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cbool">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>CBool function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100100.xhp" name="CBool Function [Runtime]">CBool Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="2">Converts a string comparison or numeric comparison to a Boolean expression, or converts a single numeric expression to a Boolean expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">CBool (Expression1 {= | &lt;&gt; | &lt; | &gt; | &lt;= | &gt;=} Expression2) or CBool (Number)</paragraph>
+<paragraph role="heading" id="hd_id3156152" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression1, Expression2:</emph> Any string or numeric expressions that you want to compare. If the expressions match, the <emph>CBool</emph> function returns <emph>True</emph>, otherwise <emph>False</emph> is returned.</paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Number:</emph> Any numeric expression that you want to convert. If the expression equals 0, <emph>False</emph> is returned, otherwise <emph>True</emph> is returned.</paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="10">The following example uses the <emph>CBool</emph> function to evaluate the value that is returned by the <emph>Instr</emph> function. The function checks if the word "and" is found in the sentence that was entered by the user.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3156212" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleCBool</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="13">Dim sText As String</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="14">sText = InputBox("Please enter a short sentence:")</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="15">REM Proof if the word »and« appears in the sentence.</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="16">REM Instead of the command line</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="17">REM If Instr(Input, "and")&lt;&gt;0 Then...</paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="U" oldref="18">REM the CBool function is applied as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3155413" xml-lang="en-US" l10n="U" oldref="19">If CBool(Instr(sText, "and")) Then</paragraph>
+<paragraph role="paragraph" id="par_id3152940" xml-lang="en-US" l10n="U" oldref="20">MsgBox "The word »and« appears in the sentence you entered!"</paragraph>
+<paragraph role="paragraph" id="par_id3153954" xml-lang="en-US" l10n="U" oldref="21">EndIf</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="U" oldref="22">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100300.xhp b/source/text/sbasic/shared/03100300.xhp
new file mode 100644
index 0000000000..2b203d3634
--- /dev/null
+++ b/source/text/sbasic/shared/03100300.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CDate Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:52:33">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cdate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150772"><bookmark_value>CDate function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150772" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100300.xhp" name="CDate Function [Runtime]">CDate Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150986" xml-lang="en-US" l10n="U" oldref="2">Converts any string or numeric expression to a date value.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148944" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="4">CDate (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3148552" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
+<paragraph role="heading" id="hd_id3153525" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any string or numeric expression that you want to convert.</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="9">When you convert a string expression, the date and time must be entered in the format MM.DD.YYYY HH.MM.SS, as defined by the <emph>DateValue</emph> and <emph>TimeValue</emph> function conventions. In numeric expressions, values to the left of the decimal represent the date, beginning from December 31, 1899. Values to the right of the decimal represent the time.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="11">sub ExampleCDate</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="12">MsgBox cDate(1000.25) REM 09.26.1902 06:00:00</paragraph>
+<paragraph role="paragraph" id="par_id3155133" xml-lang="en-US" l10n="U" oldref="13">MsgBox cDate(1001.26) REM 09.27.1902 06:14:24</paragraph>
+<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100400.xhp b/source/text/sbasic/shared/03100400.xhp
new file mode 100644
index 0000000000..f454264895
--- /dev/null
+++ b/source/text/sbasic/shared/03100400.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CDbl Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:54:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cdbl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153750"><bookmark_value>CDbl function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153750" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100400.xhp" name="CDbl Function [Runtime]">CDbl Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="2">Converts any numerical expression or string expression to a double type.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149516" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="4">CDbl (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3153061" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value</paragraph>
+<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any string or numeric expression that you want to convert. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148797" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleCountryConvert</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="11">Msgbox CDbl(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="12">Msgbox CInt(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3150616" xml-lang="en-US" l10n="U" oldref="13">Msgbox CLng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100500.xhp b/source/text/sbasic/shared/03100500.xhp
new file mode 100644
index 0000000000..ce93b797cb
--- /dev/null
+++ b/source/text/sbasic/shared/03100500.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CInt Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T10:29:21">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cint">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>CInt function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100500.xhp" name="CInt Function [Runtime]">CInt Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="2">Converts any string or numeric expression to an integer.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147573" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="4">CInt (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3147531" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any numeric expression that you want to convert. If the <emph>Expression</emph> exceeds the value range between -32768 and 32767, $[officename] Basic reports an overflow error. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system.</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="9">This function always rounds the fractional part of a number to the nearest integer.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3145419" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleCountryConvert</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="12">Msgbox CDbl(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="13">Msgbox CInt(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="14">Msgbox CLng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100600.xhp b/source/text/sbasic/shared/03100600.xhp
new file mode 100644
index 0000000000..335ff9e8f3
--- /dev/null
+++ b/source/text/sbasic/shared/03100600.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CLng Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T10:30:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="clng">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>CLng function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100600.xhp" name="CLng Function [Runtime]">CLng Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148686" xml-lang="en-US" l10n="U" oldref="2">Converts any string or numeric expression to a long integer.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="4">CLng (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3145610" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any numerical expression that you want to convert. If the <emph>Expression</emph> lies outside the valid long integer range between -2.147.483.648 and 2.147.483.647, $[officename] Basic returns an overflow error. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system.</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="9">This function always rounds the fractional part of a number to the nearest integer.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154216" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleCountryConvert</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="12">Msgbox CDbl(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="13">Msgbox CInt(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="14">Msgbox CLng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100700.xhp b/source/text/sbasic/shared/03100700.xhp
new file mode 100644
index 0000000000..e5c70dc0ff
--- /dev/null
+++ b/source/text/sbasic/shared/03100700.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Const Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03100700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T10:34:44">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="const">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>Const statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146958" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100700.xhp" name="Const Statement [Runtime]">Const Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154143" xml-lang="en-US" l10n="U" oldref="2">Defines a string as a constant.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150670" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="4">Const Text = Expression</paragraph>
+<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any constant name that follows the standard variable naming conventions.</paragraph>
+<paragraph role="paragraph" id="par_id3147264" xml-lang="en-US" l10n="U" oldref="7">A constant is a variable that helps to improve the readability of a program. Constants are not defined as a specific type of variable, but rather are used as placeholders in the code. You can only define a constant once and it cannot be modified. Use the following statement to define a constant:</paragraph>
+<paragraph role="paragraph" id="par_id3150542" xml-lang="en-US" l10n="U" oldref="8">CONST ConstName=Expression</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="9">The type of expression is irrelevant. If a program is started, $[officename] Basic converts the program code internally so that each time a constant is used, the defined expression replaces it.</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleConst</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="12">Const iVar = 1964</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="13">Msgbox iVar</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="14">Const sVar = "Program", dVar As Double = 1.00</paragraph>
+<paragraph role="paragraph" id="par_id3149560" xml-lang="en-US" l10n="U" oldref="15">Msgbox sVar &amp; " " &amp; dVar</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="16">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03100900.xhp b/source/text/sbasic/shared/03100900.xhp
new file mode 100644
index 0000000000..399c343a66
--- /dev/null
+++ b/source/text/sbasic/shared/03100900.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100900xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CSng Function[Runtime]</title>
+<filename>/text/sbasic/shared/03100900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:13:53">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="csng">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153753"><bookmark_value>CSng function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153753" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03100900.xhp" name="CSng Function[Runtime]">CSng Function[Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149748" xml-lang="en-US" l10n="U" oldref="2">Converts any string or numeric expression to data type Single.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153255" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148983" xml-lang="en-US" l10n="U" oldref="4">CSng (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153750" xml-lang="en-US" l10n="U" oldref="6">Single</paragraph>
+<paragraph role="heading" id="hd_id3146957" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any string or numeric expression that you want to convert. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149514" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleCSNG</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="11">Msgbox CDbl(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3150772" xml-lang="en-US" l10n="U" oldref="12">Msgbox CInt(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3147531" xml-lang="en-US" l10n="U" oldref="13">Msgbox CLng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="14">Msgbox CSng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101000.xhp b/source/text/sbasic/shared/03101000.xhp
new file mode 100644
index 0000000000..2526f059e6
--- /dev/null
+++ b/source/text/sbasic/shared/03101000.xhp
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CStr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03101000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:14:19">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cstr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>CStr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146958" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101000.xhp" name="CStr Function [Runtime]">CStr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147574" xml-lang="en-US" l10n="U" oldref="2">Converts any numeric expression to a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="4">CStr (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3153062" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any valid string or numeric expression that you want to convert.</paragraph>
+<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2" l10n="U" oldref="9">Expression Types and Conversion Returns</paragraph>
+<table id="tbl_id3148797">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="10">Boolean :</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="11">String that evaluates to either <emph>True</emph> or <emph>False</emph>.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="12">Date :</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="13">String that contains the date and time.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147428" xml-lang="en-US" l10n="U" oldref="14">Null :</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150486" xml-lang="en-US" l10n="U" oldref="15">Run-time error.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153953" xml-lang="en-US" l10n="U" oldref="16">Empty :</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="17">String without any characters.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="18">Any :</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152938" xml-lang="en-US" l10n="U" oldref="19">Corresponding number as string.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3155738" xml-lang="en-US" l10n="U" oldref="20">Zeros at the end of a floating-point number are not included in the returned string.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154729" xml-lang="en-US" level="2" l10n="U" oldref="21">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="22">Sub ExampleCSTR</paragraph>
+<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="23">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="24">Msgbox CDbl(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="25">Msgbox CInt(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3155600" xml-lang="en-US" l10n="U" oldref="26">Msgbox CLng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="27">Msgbox CSng(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3156559" xml-lang="en-US" l10n="U" oldref="28">sVar = CStr(1234.5678)</paragraph>
+<paragraph role="paragraph" id="par_id3153947" xml-lang="en-US" l10n="U" oldref="29">MsgBox sVar</paragraph>
+<paragraph role="paragraph" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="30">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101100.xhp b/source/text/sbasic/shared/03101100.xhp
new file mode 100644
index 0000000000..7cd0976459
--- /dev/null
+++ b/source/text/sbasic/shared/03101100.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefBool Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:24:22">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defbool">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145759"><bookmark_value>DefBool statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145759" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101100.xhp" name="DefBool Statement [Runtime]">DefBool Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153089" xml-lang="en-US" l10n="U" oldref="2">If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149495" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword: </emph>Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefBool:</emph> Boolean</paragraph>
+<paragraph role="heading" id="hd_id3149762" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definition for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3153627" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3152812" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3153524" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefBool</paragraph>
+<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="22">bOK=TRUE REM bOK is an implicit Boolean variable</paragraph>
+<paragraph role="paragraph" id="par_id3145421" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101110.xhp b/source/text/sbasic/shared/03101110.xhp
new file mode 100644
index 0000000000..6c120bd862
--- /dev/null
+++ b/source/text/sbasic/shared/03101110.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101110xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefCur Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101110.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T15:14:37">DefCurr</created>
+<lastedited date="2005-04-27T10:51:20"/>
+</history>
+</meta>
+<body>
+<section id="defcur">
+<bookmark xml-lang="en-US" branch="index" id="bm_id9555345"><bookmark_value>DefCur statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN1057D" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03101110.xhp">DefCur Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN1058D" xml-lang="en-US" l10n="NEW">If no type-declaration character or keyword is specified, the DefCur statement sets the default variable type, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10590" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10594" xml-lang="en-US" l10n="NEW">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="par_idN10597" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN1059B" xml-lang="en-US" l10n="NEW">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_idN105A2" xml-lang="en-US" l10n="NEW">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US" l10n="NEW">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_idN105B0" xml-lang="en-US" l10n="NEW">
+<emph>DefCur:</emph> Currency</paragraph>
+<paragraph role="heading" id="par_idN105B7" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_idN105BB" xml-lang="en-US">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="bascode" id="par_idN105BE" xml-lang="en-US" localize="false">DefBool b</paragraph>
+<paragraph role="bascode" id="par_idN105C1" xml-lang="en-US" localize="false">DefDate t</paragraph>
+<paragraph role="bascode" id="par_idN105C4" xml-lang="en-US" localize="false">DefDbL d</paragraph>
+<paragraph role="bascode" id="par_idN105C7" xml-lang="en-US" localize="false">DefInt i</paragraph>
+<paragraph role="bascode" id="par_idN105CA" xml-lang="en-US" localize="false">DefLng l</paragraph>
+<paragraph role="bascode" id="par_idN105CD" xml-lang="en-US" localize="false">DefObj o</paragraph>
+<paragraph role="bascode" id="par_idN105D0" xml-lang="en-US" localize="false">DefVar v</paragraph>
+<paragraph role="bascode" id="par_idN105D3" xml-lang="en-US" localize="false">DefCur c</paragraph>
+<paragraph role="bascode" id="par_idN105D6" xml-lang="en-US" localize="false">Sub ExampleDefCur</paragraph>
+<paragraph role="bascode" id="par_idN105D9" xml-lang="en-US"> cCur=Currency REM cCur is an implicit currency variable</paragraph>
+<paragraph role="bascode" id="par_idN105DC" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101120.xhp b/source/text/sbasic/shared/03101120.xhp
new file mode 100644
index 0000000000..5477e07623
--- /dev/null
+++ b/source/text/sbasic/shared/03101120.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101120xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefErr Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101120.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T15:20:29">DefErr</created>
+<lastedited date="2005-04-27T10:52:05"/>
+</history>
+</meta>
+<body>
+<section id="deferr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id8177739"><bookmark_value>DefErr statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN1057D" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03101120.xhp">DefErr Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN1058D" xml-lang="en-US" l10n="NEW">If no type-declaration character or keyword is specified, the DefErr statement sets the default variable type, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10590" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10594" xml-lang="en-US" l10n="NEW">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="par_idN10597" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN1059B" xml-lang="en-US" l10n="NEW">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_idN105A2" xml-lang="en-US" l10n="NEW">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_idN105A9" xml-lang="en-US" l10n="NEW">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_idN105B0" xml-lang="en-US" l10n="NEW">
+<emph>DefErr:</emph> Error</paragraph>
+<paragraph role="heading" id="par_idN105B7" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="paragraph" id="par_idN105BB" xml-lang="en-US" l10n="NEW">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_idN105BE" xml-lang="en-US" l10n="NEW">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_idN105C1" xml-lang="en-US" l10n="NEW">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_idN105C4" xml-lang="en-US" l10n="NEW">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_idN105C7" xml-lang="en-US" l10n="NEW">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_idN105CA" xml-lang="en-US" l10n="NEW">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_idN105CD" xml-lang="en-US" l10n="NEW">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US" l10n="NEW">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_idN105D3" xml-lang="en-US" l10n="NEW">DefErr e</paragraph>
+<paragraph role="paragraph" id="par_idN105D6" xml-lang="en-US" l10n="NEW">Sub ExampleDefErr</paragraph>
+<paragraph role="paragraph" id="par_idN105D9" xml-lang="en-US" l10n="NEW">eErr=Error REM eErr is an implicit error variable</paragraph>
+<paragraph role="paragraph" id="par_idN105DC" xml-lang="en-US" l10n="NEW">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101130.xhp b/source/text/sbasic/shared/03101130.xhp
new file mode 100644
index 0000000000..be99de3a82
--- /dev/null
+++ b/source/text/sbasic/shared/03101130.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101130xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefSng Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101130.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T15:25:01">DefSng</created>
+<lastedited date="2005-04-27T10:52:51"/>
+</history>
+</meta>
+<body>
+<section id="defsng">
+<bookmark xml-lang="en-US" branch="index" id="bm_id2445142"><bookmark_value>DefSng statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10577" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03101130.xhp">DefSng Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10587" xml-lang="en-US" l10n="NEW">If no type-declaration character or keyword is specified, the DefSng statement sets the default variable type, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1058A" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US" l10n="NEW">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="par_idN10591" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN10595" xml-lang="en-US" l10n="NEW">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_idN1059C" xml-lang="en-US" l10n="NEW">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_idN105A3" xml-lang="en-US" l10n="NEW">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_idN105AA" xml-lang="en-US" l10n="NEW">
+<emph>DefSng:</emph> Single</paragraph>
+<paragraph role="heading" id="par_idN105B1" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="paragraph" id="par_idN105B5" xml-lang="en-US" l10n="NEW">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_idN105B8" xml-lang="en-US" l10n="NEW">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_idN105BB" xml-lang="en-US" l10n="NEW">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_idN105BE" xml-lang="en-US" l10n="NEW">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_idN105C1" xml-lang="en-US" l10n="NEW">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_idN105C4" xml-lang="en-US" l10n="NEW">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_idN105C7" xml-lang="en-US" l10n="NEW">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_idN105CA" xml-lang="en-US" l10n="NEW">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_idN105CD" xml-lang="en-US" l10n="NEW">DefSng s</paragraph>
+<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US" l10n="NEW">Sub ExampleDefSng</paragraph>
+<paragraph role="paragraph" id="par_idN105D3" xml-lang="en-US" l10n="NEW">sSng=Single REM sSng is an implicit single variable</paragraph>
+<paragraph role="paragraph" id="par_idN105D6" xml-lang="en-US" l10n="NEW">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101140.xhp b/source/text/sbasic/shared/03101140.xhp
new file mode 100644
index 0000000000..5654e043bf
--- /dev/null
+++ b/source/text/sbasic/shared/03101140.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101140xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefStr Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101140.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T15:28:10">DefStr</created>
+<lastedited date="2005-04-27T10:53:16"/>
+</history>
+</meta>
+<body>
+<section id="defstr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6161381"><bookmark_value>DefStr statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10577" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03101140.xhp">DefStr Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10587" xml-lang="en-US" l10n="NEW">If no type-declaration character or keyword is specified, the DefStr statement sets the default variable type, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1058A" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN1058E" xml-lang="en-US" l10n="NEW">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="par_idN10591" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN10595" xml-lang="en-US" l10n="NEW">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_idN1059C" xml-lang="en-US" l10n="NEW">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_idN105A3" xml-lang="en-US" l10n="NEW">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_idN105AA" xml-lang="en-US" l10n="NEW">
+<emph>DefStr:</emph> String</paragraph>
+<paragraph role="heading" id="par_idN105B1" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="paragraph" id="par_idN105B5" xml-lang="en-US" l10n="NEW">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_idN105B8" xml-lang="en-US" l10n="NEW">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_idN105BB" xml-lang="en-US" l10n="NEW">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_idN105BE" xml-lang="en-US" l10n="NEW">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_idN105C1" xml-lang="en-US" l10n="NEW">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_idN105C4" xml-lang="en-US" l10n="NEW">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_idN105C7" xml-lang="en-US" l10n="NEW">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_idN105CA" xml-lang="en-US" l10n="NEW">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_idN105CD" xml-lang="en-US" l10n="NEW">DefStr s</paragraph>
+<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US" l10n="NEW">Sub ExampleDefStr</paragraph>
+<paragraph role="paragraph" id="par_idN105D3" xml-lang="en-US" l10n="NEW">sStr=String REM sStr is an implicit string variable</paragraph>
+<paragraph role="paragraph" id="par_idN105D6" xml-lang="en-US" l10n="NEW">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101300.xhp b/source/text/sbasic/shared/03101300.xhp
new file mode 100644
index 0000000000..fa8828313d
--- /dev/null
+++ b/source/text/sbasic/shared/03101300.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefDate Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:24:57">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defdate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150504"><bookmark_value>DefDate statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150504" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101300.xhp" name="DefDate Statement [Runtime]">DefDate Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="2">If no type-declaration character or keyword is specified, the DefDate statement sets the default variable type, according to a letter range.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154758" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3150541" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156709" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefDate:</emph> Date</paragraph>
+<paragraph role="heading" id="hd_id3153768" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3146923" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3149263" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefDate</paragraph>
+<paragraph role="paragraph" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="22">tDate=Date REM tDate is an implicit date variable</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101400.xhp b/source/text/sbasic/shared/03101400.xhp
new file mode 100644
index 0000000000..88146bebbb
--- /dev/null
+++ b/source/text/sbasic/shared/03101400.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefDbl Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:25:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defdbl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>DefDbl statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101400.xhp" name="DefDbl Statement [Runtime]">DefDbl Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3155420" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefDbl:</emph> Double</paragraph>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3150487" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3146922" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3147436" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefDBL</paragraph>
+<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US" l10n="U" oldref="22">dValue=1.23e43 REM dValue is an implicit Double variable type</paragraph>
+<paragraph role="paragraph" id="par_id3152941" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101500.xhp b/source/text/sbasic/shared/03101500.xhp
new file mode 100644
index 0000000000..4b59301441
--- /dev/null
+++ b/source/text/sbasic/shared/03101500.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefInt Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:25:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defint">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149811"><bookmark_value>DefInt statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149811" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101500.xhp" name="DefInt Statement [Runtime]">DefInt Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149762" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148686" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword:</emph> Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefInt:</emph> Integer</paragraph>
+<paragraph role="heading" id="hd_id3154123" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definitions for variable types</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3152885" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3146924" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefInt</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="22">iCount=200 REM iCount is an implicit integer variable</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101600.xhp b/source/text/sbasic/shared/03101600.xhp
new file mode 100644
index 0000000000..8e236758d3
--- /dev/null
+++ b/source/text/sbasic/shared/03101600.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefLng Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:26:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="deflng">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148538"><bookmark_value>DefLng statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101600.xhp" name="DefLng Statement [Runtime]">DefLng Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150504" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword: </emph>Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefLng:</emph> Long</paragraph>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3153189" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefLng</paragraph>
+<paragraph role="paragraph" id="par_id3145273" xml-lang="en-US" l10n="U" oldref="22">lCount=123456789 REM lCount is an implicit long integer variable</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03101700.xhp b/source/text/sbasic/shared/03101700.xhp
new file mode 100644
index 0000000000..eb631019b0
--- /dev/null
+++ b/source/text/sbasic/shared/03101700.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefObj Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:26:40">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defobj">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149811"><bookmark_value>DefObj statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149811" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101700.xhp" name="DefObj Statement [Runtime]">DefObj Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150504" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3153896" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword: </emph>Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefObj:</emph> Object</paragraph>
+<paragraph role="heading" id="hd_id3156212" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3152886" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102000.xhp b/source/text/sbasic/shared/03102000.xhp
new file mode 100644
index 0000000000..6402243a69
--- /dev/null
+++ b/source/text/sbasic/shared/03102000.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DefVar Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:27:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="defvar">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143267"><bookmark_value>DefVar statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143267" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102000.xhp" name="DefVar Statement [Runtime]">DefVar Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154143" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="7">
+<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+<paragraph role="paragraph" id="par_id3153524" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Keyword: </emph>Default variable type</paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="9">
+<emph>DefVar:</emph> Variant</paragraph>
+<paragraph role="heading" id="hd_id3151041" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="11">REM Prefix definitions for variable types:</paragraph>
+<paragraph role="paragraph" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="12">DefBool b</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="13">DefDate t</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="14">DefDbL d</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="15">DefInt i</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="16">DefLng l</paragraph>
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="17">DefObj o</paragraph>
+<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="18">DefVar v</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="20">Sub ExampleDefVar</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="21">vDiv=99 REM vDiv is an implicit variant</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="22">vDiv="Hello world"</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102100.xhp b/source/text/sbasic/shared/03102100.xhp
new file mode 100644
index 0000000000..cc232caf2a
--- /dev/null
+++ b/source/text/sbasic/shared/03102100.xhp
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Dim Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-09T11:37:40">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="dimtext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149812"><bookmark_value>Dim statement</bookmark_value>
+<bookmark_value>arrays; dimensioning</bookmark_value>
+<bookmark_value>dimensioning arrays</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149812" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102100.xhp" name="Dim Statement [Runtime]">Dim Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143271" xml-lang="en-US" l10n="U" oldref="2">Declares a variable or an array.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="3">If the variables are separated by commas (for example, DIM sPar1, sPar2, sPar3 AS STRING), only Variant variables can be defined. Use a separate definition line for each variable.</paragraph>
+<paragraph role="code" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="4">DIM sPar1 AS STRING</paragraph>
+<paragraph role="code" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="5">DIM sPar2 AS STRING</paragraph>
+<paragraph role="code" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="6">DIM sPar3 AS STRING</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="7">Dim declares local variables within subroutines. Global variables are declared with the PUBLIC or the PRIVATE statement.</paragraph>
+<paragraph role="heading" id="hd_id3156443" xml-lang="en-US" level="2" l10n="U" oldref="8">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="9">[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="heading" id="hd_id3147397" xml-lang="en-US" level="2" l10n="U" oldref="10">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="11">
+<emph>VarName:</emph> Any variable or array name.</paragraph>
+<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="CHG" oldref="12">
+<emph>Start, End:</emph> Numerical values or constants that define the number of elements (NumberElements=(end-start)+1) and the index range.<comment>see #i36558</comment></paragraph>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="13">Start and End can be numerical expressions if ReDim is applied at the procedure level.</paragraph>
+<paragraph role="paragraph" id="par_id3153510" xml-lang="en-US" l10n="U" oldref="14">
+<emph>VarType:</emph> Key word that declares the data type of a variable.</paragraph>
+<paragraph role="paragraph" id="par_id3154015" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Keyword:</emph> Variable type</paragraph>
+<paragraph role="paragraph" id="par_id3153949" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Bool:</emph> Boolean variable (True, False)</paragraph>
+<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="17">
+<emph>Currency:</emph> Currency-Variable (Currency with 4 Decimal places)</paragraph>
+<paragraph role="paragraph" id="par_id3156057" xml-lang="en-US" l10n="U" oldref="18">
+<emph>Date:</emph> Date variable</paragraph>
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="19">
+<emph>Double:</emph> Double-precision floating-point variable (1,79769313486232 x 10E308 - 4,94065645841247 x 10E-324)</paragraph>
+<paragraph role="paragraph" id="par_id3148916" xml-lang="en-US" l10n="U" oldref="20">
+<emph>Integer:</emph> Integer variable (-32768 - 32767)</paragraph>
+<paragraph role="paragraph" id="par_id3150045" xml-lang="en-US" l10n="U" oldref="21">
+<emph>Long:</emph> Long integer variable (-2.147.483.648 - 2.147.483.647)</paragraph>
+<paragraph role="paragraph" id="par_id3149255" xml-lang="en-US" l10n="U" oldref="22">
+<emph>Object:</emph> Object variable (Note: this variable can only subsequently be defined with Set!)</paragraph>
+<paragraph role="paragraph" id="par_id3155937" xml-lang="en-US" l10n="U" oldref="23">
+<emph>Single:</emph> Single-precision floating-point variable (3,402823 x 10E38 - 1,401298 x 10E-45).</paragraph>
+<paragraph role="paragraph" id="par_id3151251" xml-lang="en-US" l10n="U" oldref="24">
+<emph>String:</emph> String variable consisting of a maximum of 64,000 ASCII characters.</paragraph>
+<paragraph role="paragraph" id="par_id3154704" xml-lang="en-US" l10n="U" oldref="25">
+<emph>[Variant]:</emph> Variant variable type (contains all types, specified by definition). If a key word is not specified, variables are automatically defined as Variant Type, unless a statement from DefBool to DefVar is used.</paragraph>
+<paragraph role="paragraph" id="par_id3146316" xml-lang="en-US" l10n="U" oldref="26">In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word.</paragraph>
+<paragraph role="paragraph" id="par_id3149924" xml-lang="en-US" l10n="U" oldref="27">$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables.</paragraph>
+<paragraph role="paragraph" id="par_id3148488" xml-lang="en-US" l10n="U" oldref="28">Arrays are declared with the Dim statement. There are two methods to define the index range:</paragraph>
+<paragraph role="paragraph" id="par_id3154662" xml-lang="en-US" l10n="U" oldref="29">DIM text(20) as String REM 21 elements numbered from 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3155604" xml-lang="en-US" l10n="U" oldref="30">DIM text(5 to 25) as String REM 21 elements numbered from 5 to 25</paragraph>
+<paragraph role="paragraph" id="par_id3151274" xml-lang="en-US" l10n="U" oldref="31">DIM text(-15 to 5) as String REM 21 elements (including 0)</paragraph>
+<paragraph role="paragraph" id="par_id3152774" xml-lang="en-US" l10n="U" oldref="32">REM numbered from -15 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3150829" xml-lang="en-US" l10n="U" oldref="33">Two-dimensional data field</paragraph>
+<paragraph role="paragraph" id="par_id3149529" xml-lang="en-US" l10n="U" oldref="34">DIM text(20,2) as String REM 63 elements; form 0 to 20 level 1, from 0 to 20 level 2 and from 0 to 20 level 3.</paragraph>
+<paragraph role="paragraph" id="par_id3159239" xml-lang="en-US" l10n="U" oldref="35">You can declare an array types as dynamic if a ReDim statement defines the number of dimensions in the subroutine or the function that contains the array. Generally, you can only define an array dimension once, and you cannot modify it. Within a subroutine, you can declare an array with ReDim. You can only define dimensions with numeric expressions. This ensures that the fields are only as large as necessary.</paragraph>
+<paragraph role="heading" id="hd_id3150344" xml-lang="en-US" level="2" l10n="U" oldref="36">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150206" xml-lang="en-US" l10n="U" oldref="37">Sub ExampleDim1</paragraph>
+<paragraph role="paragraph" id="par_id3154201" xml-lang="en-US" l10n="U" oldref="38">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3146134" xml-lang="en-US" l10n="U" oldref="39">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3154657" xml-lang="en-US" l10n="CHG" oldref="40">sVar = "Office"</paragraph>
+<paragraph role="paragraph" id="par_id3148459" xml-lang="en-US" l10n="U" oldref="41">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="43">Sub ExampleDim2</paragraph>
+<paragraph role="paragraph" id="par_id3149036" xml-lang="en-US" l10n="U" oldref="44">REM Two-dimensional data field</paragraph>
+<paragraph role="paragraph" id="par_id3149737" xml-lang="en-US" l10n="U" oldref="45">Dim stext(20,2) as String</paragraph>
+<paragraph role="paragraph" id="par_id3153782" xml-lang="en-US" l10n="U" oldref="46">Const sDim as String = " Dimension:"</paragraph>
+<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US" l10n="U" oldref="48">for i = 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3166428" xml-lang="en-US" l10n="U" oldref="49">for ii = 0 to 2</paragraph>
+<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="50">stext(i,ii) = str(i) &amp; sDim &amp; str(ii)</paragraph>
+<paragraph role="paragraph" id="par_id3150202" xml-lang="en-US" l10n="U" oldref="51">next ii</paragraph>
+<paragraph role="paragraph" id="par_id3154370" xml-lang="en-US" l10n="U" oldref="52">next i</paragraph>
+<paragraph role="paragraph" id="par_id3156166" xml-lang="en-US" l10n="U" oldref="54">for i = 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3148815" xml-lang="en-US" l10n="U" oldref="55">for ii = 0 to 2</paragraph>
+<paragraph role="paragraph" id="par_id3146981" xml-lang="en-US" l10n="U" oldref="56">msgbox stext(i,ii)</paragraph>
+<paragraph role="paragraph" id="par_id3155125" xml-lang="en-US" l10n="U" oldref="57">next ii</paragraph>
+<paragraph role="paragraph" id="par_id3154528" xml-lang="en-US" l10n="U" oldref="58">next i</paragraph>
+<paragraph role="paragraph" id="par_id3155087" xml-lang="en-US" l10n="U" oldref="59">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102101.xhp b/source/text/sbasic/shared/03102101.xhp
new file mode 100644
index 0000000000..ef08c0acb4
--- /dev/null
+++ b/source/text/sbasic/shared/03102101.xhp
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ReDim Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-09T12:04:37">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="redim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150398"><bookmark_value>ReDim statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102101.xhp" name="ReDim Statement [Runtime]">ReDim Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="2">Declares a variable or an array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154218" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="4">[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="paragraph" id="par_id711996" xml-lang="en-US" l10n="NEW">Optionally, you can add the <emph>Preserve</emph> keyword as a parameter to preserve the contents of the array that is redimensioned.</paragraph>
+<paragraph role="heading" id="hd_id3148451" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="6">
+<emph>VarName:</emph> Any variable or array name.</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="CHG" oldref="7">
+<emph>Start, End:</emph> Numerical values or constants that define the number of elements (NumberElements=(end-start)+1) and the index range.</paragraph>
+<paragraph role="paragraph" id="par_id3155307" xml-lang="en-US" l10n="U" oldref="8">Start and End can be numeric expressions if ReDim is used at the procedure level.</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="9">
+<emph>VarType:</emph> Keyword that declares the data type of a variable.</paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Keyword:</emph> Variable type</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Bool: </emph>Boolean variable (True, False)</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Date:</emph> Date variable</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Double:</emph> Double floating point variable (1.79769313486232x10E308 - 4.94065645841247x10E-324)</paragraph>
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="14">
+<emph>Integer:</emph> Integer variable (-32768 - 32767)</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Long:</emph> Long integer variable (-2,147,483,648 - 2,147,483,647)</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Object:</emph> Object variable (can only be subsequently defined by Set!)</paragraph>
+<paragraph role="paragraph" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="17">
+<emph>[Single]:</emph> Single floating-point variable (3.402823x10E38 - 1.401298x10E-45). If no key word is specified, a variable is defined as Single, unless a statement from DefBool to DefVar is used.</paragraph>
+<paragraph role="paragraph" id="par_id3148458" xml-lang="en-US" l10n="U" oldref="18">
+<emph>String:</emph> String variable containing a maximum of 64,000 ASCII characters.</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="19">
+<emph>Variant: </emph>Variant variable type (can contain all types and is set by definition).</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="20">In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word.</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="21">$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables.</paragraph>
+<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="22">There are two ways to set the range of indices for arrays declared with the Dim statement:</paragraph>
+<paragraph role="paragraph" id="par_id3153950" xml-lang="en-US" l10n="U" oldref="23">DIM text(20) As String REM 21 elements numbered from 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="24">DIM text(5 to 25) As String REM 21 elements numbered from 5 to 25</paragraph>
+<paragraph role="paragraph" id="par_id3153709" xml-lang="en-US" l10n="U" oldref="25">DIM text$(-15 to 5) As String REM 21 elements (0 inclusive),</paragraph>
+<paragraph role="paragraph" id="par_id3150321" xml-lang="en-US" l10n="U" oldref="26">rem numbered from -15 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3149018" xml-lang="en-US" l10n="U" oldref="27">Variable fields, regardless of type, can be made dynamic if they are dimensioned by ReDim at the procedure level in subroutines or functions. Normally, you can only set the range of an array once and you cannot modify it. Within a procedure, you can declare an array using the ReDim statement with numeric expressions to define the range of the field sizes.</paragraph>
+<paragraph role="heading" id="hd_id3148405" xml-lang="en-US" level="2" l10n="U" oldref="28">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154362" xml-lang="en-US" l10n="U" oldref="29">Sub ExampleRedim</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="30">Dim iVar() As Integer, iCount As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="31">ReDim iVar(5) As integer</paragraph>
+<paragraph role="paragraph" id="par_id3149106" xml-lang="en-US" l10n="U" oldref="32">For iCount = 1 To 5</paragraph>
+<paragraph role="paragraph" id="par_id3155174" xml-lang="en-US" l10n="U" oldref="33">iVar(iCount) = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="34">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3149568" xml-lang="en-US" l10n="U" oldref="35">ReDim iVar(10) As integer</paragraph>
+<paragraph role="paragraph" id="par_id3147364" xml-lang="en-US" l10n="U" oldref="36">For iCount = 1 To 10</paragraph>
+<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="37">iVar(iCount) = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3154662" xml-lang="en-US" l10n="U" oldref="38">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3149926" xml-lang="en-US" l10n="U" oldref="39">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102200.xhp b/source/text/sbasic/shared/03102200.xhp
new file mode 100644
index 0000000000..8fc1189909
--- /dev/null
+++ b/source/text/sbasic/shared/03102200.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsArray Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:59:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isarray">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>IsArray function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102200.xhp" name="IsArray Function [Runtime]">IsArray Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US" l10n="U" oldref="2">Determines if a variable is a data field in an array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153379" xml-lang="en-US" l10n="U" oldref="4">IsArray (Var)</paragraph>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Var:</emph> Any variable that you want to test if it is declared as an array. If the variable is an array, then the function returns <emph>True</emph>, otherwise <emph>False </emph>is returned.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3155131" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153365" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleIsArray</paragraph>
+<paragraph role="paragraph" id="par_id3150487" xml-lang="en-US" l10n="U" oldref="11">Dim sDatf(10) as String</paragraph>
+<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="12">print isarray(sdatf())</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="13">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102300.xhp b/source/text/sbasic/shared/03102300.xhp
new file mode 100644
index 0000000000..b5507de522
--- /dev/null
+++ b/source/text/sbasic/shared/03102300.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsDate Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:00:12">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isdate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>IsDate function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102300.xhp" name="IsDate Function [Runtime]">IsDate Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="2">Tests if a numeric or string expression can be converted to a <emph>Date</emph> variable.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153824" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="4">IsDate (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Any numeric or string expression that you want to test. If the expression can be converted to a date, the function returns <emph>True</emph>, otherwise the function returns <emph>False</emph>.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150447" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleIsDate</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="11">Dim sDateVar as String</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="12">sDateVar = "12.12.1997"</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="13">print IsDate(sDateVar) REM Returns True</paragraph>
+<paragraph role="paragraph" id="par_id3148453" xml-lang="en-US" l10n="U" oldref="14">sDateVar = "12121997"</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="15">print IsDate(sDateVar) REM Returns False</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="16">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102400.xhp b/source/text/sbasic/shared/03102400.xhp
new file mode 100644
index 0000000000..6f9789a2a9
--- /dev/null
+++ b/source/text/sbasic/shared/03102400.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsEmpty Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:02:08">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isempty">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153394"><bookmark_value>IsEmpty function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153394" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102400.xhp" name="IsEmpty Function [Runtime]">IsEmpty Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3163045" xml-lang="en-US" l10n="U" oldref="2">Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159158" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="4">IsEmpty (Var)</paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Var:</emph> Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleIsEmpty</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="11">Dim sVar as Variant</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="12">sVar = Empty</paragraph>
+<paragraph role="paragraph" id="par_id3154863" xml-lang="en-US" l10n="U" oldref="13">Print IsEmpty(sVar) REM Returns True</paragraph>
+<paragraph role="paragraph" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="14">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102450.xhp b/source/text/sbasic/shared/03102450.xhp
new file mode 100644
index 0000000000..08a8a48e40
--- /dev/null
+++ b/source/text/sbasic/shared/03102450.xhp
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102450xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsError Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102450.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T12:20:38">IsError</created>
+<lastedited date="2005-04-27T10:53:53"/>
+</history>
+</meta>
+<body>
+<section id="iserror">
+<bookmark xml-lang="en-US" branch="index" id="bm_id4954680"><bookmark_value>IsError function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN1054E" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03102450.xhp">IsError Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN1055E" xml-lang="en-US" l10n="NEW">Tests if a variable contains an error value.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN10561" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN10565" xml-lang="en-US" l10n="NEW">IsError (Var)</paragraph>
+<paragraph role="heading" id="par_idN10568" xml-lang="en-US" level="2" l10n="NEW">Return value:</paragraph>
+<paragraph role="paragraph" id="par_idN1056C" xml-lang="en-US" l10n="NEW">Bool</paragraph>
+<paragraph role="heading" id="par_idN1056F" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN10573" xml-lang="en-US" l10n="NEW">
+<emph>Var:</emph> Any variable that you want to test. If the variable contains an error value, the function returns True, otherwise the function returns False.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102600.xhp b/source/text/sbasic/shared/03102600.xhp
new file mode 100644
index 0000000000..750c23b8a5
--- /dev/null
+++ b/source/text/sbasic/shared/03102600.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textsbasicshared03102600xml" indexer="include">
+<title id="tit" xml-lang="en-US">IsNull Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102600.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="isnull">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155555"><bookmark_value>IsNull function</bookmark_value>
+<bookmark_value>Null value</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155555" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102600.xhp" name="IsNull Function [Runtime]">IsNull Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="2">Tests if a Variant contains the special Null value, indicating that the variable does not contain data.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150670" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="4">IsNull (Var)</paragraph>
+<paragraph role="heading" id="hd_id3149514" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3149669" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Var:</emph> Any variable that you want to test. This function returns True if the Variant contains the Null value, or False if the Variant does not contain the Null value.</paragraph>
+<paragraph role="paragraph" id="par_idN1062A" xml-lang="en-US" l10n="NEW">
+<emph>Null</emph> - This value is used for a variant data sub type without valid contents.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153381" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleIsNull</paragraph>
+<paragraph role="paragraph" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="11">Dim vVar As Variant</paragraph>
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="12">msgbox IsNull(vVar)</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="13">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102700.xhp b/source/text/sbasic/shared/03102700.xhp
new file mode 100644
index 0000000000..8c31eed8e8
--- /dev/null
+++ b/source/text/sbasic/shared/03102700.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsNumeric Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T10:45:34">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isnumeric">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145136"><bookmark_value>IsNumeric function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145136" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102700.xhp" name="IsNumeric Function [Runtime]">IsNumeric Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="2">Tests if an expression is a number. If the expression is a <link href="text/sbasic/shared/00000002.xhp#dezimal" name="number">number</link>, the function returns True, otherwise the function returns False.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149415" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="4">IsNumeric (Var)</paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148944" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Var:</emph> Any expression that you want to test.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleIsNumeric</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="11">Dim vVar as variant</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="12">vVar = "ABC"</paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="CHG" oldref="13">Print IsNumeric(vVar) REM Returns False</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="14">vVar = "123"</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="CHG" oldref="15">Print IsNumeric(vVar) REM Returns True</paragraph>
+<paragraph role="paragraph" id="par_id3147289" xml-lang="en-US" l10n="U" oldref="16">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102800.xhp b/source/text/sbasic/shared/03102800.xhp
new file mode 100644
index 0000000000..8c7724ccaa
--- /dev/null
+++ b/source/text/sbasic/shared/03102800.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102800xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:04:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isobject">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>IsObject function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102800.xhp" name="IsObject Function [Runtime]">IsObject Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="2">Tests if an object variable is an OLE object. The function returns True if the variable is an OLE object, otherwise it returns False.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149234" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="4">IsObject (ObjectVar)</paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="8">
+<emph>ObjectVar:</emph> Any variable that you want to test. If the Object variable contains an OLE object, the function returns True.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03102900.xhp b/source/text/sbasic/shared/03102900.xhp
new file mode 100644
index 0000000000..d0662a78f2
--- /dev/null
+++ b/source/text/sbasic/shared/03102900.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102900xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">LBound Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:07:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="lbound">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>LBound function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102900.xhp" name="LBound Function [Runtime]">LBound Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="2">Returns the lower boundary of an array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="4">LBound (ArrayName [, Dimension])</paragraph>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3144500" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="8">
+<emph>ArrayName:</emph> Name of the array for which you want to return the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary of the array dimension.</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="9">
+<emph>[Dimension]:</emph> Integer that specifies which dimension to return the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary for. If a value is not specified, the first dimension is assumed.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err9"/>
+<paragraph role="heading" id="hd_id3145171" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148673" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleUboundLbound</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="12">Dim sVar(10 to 20) As String</paragraph>
+<paragraph role="paragraph" id="par_id3148452" xml-lang="en-US" l10n="U" oldref="13">print LBound(sVar())</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="14">print UBound(sVar())</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="15">end Sub</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleUboundLbound2</paragraph>
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="17">Dim sVar(10 to 20,5 To 70) As String</paragraph>
+<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="18">Print LBound(sVar()) REM Returns 10</paragraph>
+<paragraph role="paragraph" id="par_id3150486" xml-lang="en-US" l10n="U" oldref="19">Print UBound(sVar()) REM Returns 20</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="U" oldref="20">Print LBound(sVar(),2) REM Returns 5</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="21">Print UBound(sVar(),2) REM Returns 70</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="22">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103000.xhp b/source/text/sbasic/shared/03103000.xhp
new file mode 100644
index 0000000000..997edf5be1
--- /dev/null
+++ b/source/text/sbasic/shared/03103000.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">UBound Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:44:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ubound">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148538"><bookmark_value>UBound function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103000.xhp" name="UBound Function [Runtime]">UBound Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="2">Returns the upper boundary of an array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149415" xml-lang="en-US" l10n="U" oldref="4">UBound (ArrayName [, Dimension])</paragraph>
+<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="8">
+<emph>ArrayName:</emph> Name of the array for which you want to determine the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary.</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="9">
+<emph>[Dimension]:</emph> Integer that specifies which dimension to return the upper(<emph>Ubound</emph>) or lower (<emph>LBound</emph>) boundary for. If no value is specified, the boundary of the first dimension is returned.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err9"/>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleUboundLbound</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="12">Dim sVar(10 to 20) As String</paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="13">print LBound(sVar())</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="14">print UBound(sVar())</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="15">end Sub</paragraph>
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleUboundLbound2</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="17">Dim sVar(10 to 20,5 To 70) As String</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="18">Print LBound(sVar()) REM Returns 10</paragraph>
+<paragraph role="paragraph" id="par_id3153138" xml-lang="en-US" l10n="U" oldref="19">Print UBound(sVar()) REM Returns 20</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="U" oldref="20">Print LBound(sVar(),2) REM Returns 5</paragraph>
+<paragraph role="paragraph" id="par_id3147214" xml-lang="en-US" l10n="U" oldref="21">Print UBound(sVar(),2) REM Returns 70</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="22">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103100.xhp b/source/text/sbasic/shared/03103100.xhp
new file mode 100644
index 0000000000..38c8b3bf95
--- /dev/null
+++ b/source/text/sbasic/shared/03103100.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Let Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-10-11T13:33:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="let">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>Let statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103100.xhp" name="Let Statement [Runtime]">Let Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="2">Assigns a value to a variable.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="4">[Let] VarName=Expression</paragraph>
+<paragraph role="heading" id="hd_id3148944" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6">
+<emph>VarName:</emph> Variable that you want to assign a value to. Value and variable type must be compatible.</paragraph>
+<paragraph role="note" id="par_id3148451" xml-lang="en-US" l10n="U" oldref="7">As in most BASIC dialects, the keyword <emph>Let</emph> is optional.</paragraph>
+<paragraph role="heading" id="hd_id3145785" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150441" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleLen</paragraph>
+<paragraph role="paragraph" id="par_id3159254" xml-lang="en-US" l10n="CHG" oldref="10">Dim sText as String</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="11">Let sText = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3152939" xml-lang="en-US" l10n="U" oldref="12">msgbox Len(sText) REM returns 9</paragraph>
+<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="13">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103200.xhp b/source/text/sbasic/shared/03103200.xhp
new file mode 100644
index 0000000000..1f21efc8f6
--- /dev/null
+++ b/source/text/sbasic/shared/03103200.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Option Base Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:50:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="optionbase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155805"><bookmark_value>Option Base statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155805" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103200.xhp" name="Option Base Statement [Runtime]">Option Base Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147242" xml-lang="en-US" l10n="U" oldref="2">Defines the default lower boundary for arrays as 0 or 1.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150771" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="4">Option Base { 0 | 1}</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="warning" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="6">This statement must be added before the executable program code in a module.</paragraph>
+<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3152921" xml-lang="en-US" l10n="U" oldref="8">option Base 1</paragraph>
+<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleOptionBase</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="11">Dim sVar(20) As String</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="12">msgbox LBound(sVar())</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="13">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103300.xhp b/source/text/sbasic/shared/03103300.xhp
new file mode 100644
index 0000000000..bfa8d875e7
--- /dev/null
+++ b/source/text/sbasic/shared/03103300.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Option Explicit Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:51:22">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="optionexplicit">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Option Explicit statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement [Runtime]">Option Explicit Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="2">Specifies that every variable in the program code must be explicitly declared with the Dim statement.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149763" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">Option Explicit</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="warning" id="par_id3145172" xml-lang="en-US" l10n="U" oldref="6">This statement must be added before the executable program code in a module.</paragraph>
+<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="8">Option Explicit</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleExplicit</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="10">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="11">sVar = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="12">For i% = 1 to 10 REM This results in a run-time error</paragraph>
+<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US" l10n="U" oldref="13">REM</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="14">Next i%</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="15">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103400.xhp b/source/text/sbasic/shared/03103400.xhp
new file mode 100644
index 0000000000..b73e28bdd2
--- /dev/null
+++ b/source/text/sbasic/shared/03103400.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Public Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:04:23">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="public">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Public statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103400.xhp" name="Public Statement [Runtime]">Public Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="2">Dimensions a variable or an array at the module level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150772" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="4">Public VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="6">Public iPublicVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153896" xml-lang="en-US" l10n="U" oldref="8">Sub ExamplePublic</paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="9">iPublicVar = iPublicVar + 1</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="10">MsgBox iPublicVar</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="11">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103450.xhp b/source/text/sbasic/shared/03103450.xhp
new file mode 100644
index 0000000000..c9e5d8e41c
--- /dev/null
+++ b/source/text/sbasic/shared/03103450.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103450xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Global Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103450.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:36:45">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="global">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Global statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103450.xhp" name="Global Statement [Runtime]">Global Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="2">Dimensions a variable or an array at the global level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules for the current session.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="4">Global VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="heading" id="hd_id3156152" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="6">Global iGlobalVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147531" xml-lang="en-US" l10n="U" oldref="7">Sub ExampleGlobal</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="8">iGlobalVar = iGlobalVar + 1</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="9">MsgBox iGlobalVar</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="10">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103500.xhp b/source/text/sbasic/shared/03103500.xhp
new file mode 100644
index 0000000000..25abc383cb
--- /dev/null
+++ b/source/text/sbasic/shared/03103500.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Static Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-11-11T13:14:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="static">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149798"><bookmark_value>Static statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149798" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103500.xhp" name="Static Statement [Runtime]">Static Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="2">Declares a variable or an array at the procedure level within a subroutine or a function, so that the values of the variable or the array are retained after exiting the subroutine or function. Dim statement conventions are also valid.</paragraph>
+</section>
+<paragraph role="warning" id="par_id3147264" xml-lang="en-US" l10n="U" oldref="3">The <emph>Static statement</emph> cannot be used to define variable arrays. Arrays must be specified according to a fixed size.</paragraph>
+<paragraph role="heading" id="hd_id3149657" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="5">Static VarName[(start To end)] [As VarType], VarName2[(start To end)] [As VarType], ...</paragraph>
+<paragraph role="heading" id="hd_id3148452" xml-lang="en-US" level="2" l10n="U" oldref="6">Example:</paragraph>
+<paragraph role="code" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="7">Sub ExampleStatic</paragraph>
+<paragraph role="code" id="par_id1940061" xml-lang="en-US" l10n="NEW">Dim iCount as Integer, iResult as Integer</paragraph>
+<paragraph role="code" id="par_id878627" xml-lang="en-US" l10n="NEW">For iCount = 0 to 2</paragraph>
+<paragraph role="code" id="par_id7914059" xml-lang="en-US" l10n="NEW">iResult = InitVar()</paragraph>
+<paragraph role="code" id="par_id299691" xml-lang="en-US" l10n="NEW">Next iCount</paragraph>
+<paragraph role="code" id="par_id3150870" xml-lang="en-US" l10n="CHG" oldref="11">MsgBox iResult,0,"The answer is"</paragraph>
+<paragraph role="code" id="par_id3153771" xml-lang="en-US" l10n="U" oldref="13">End Sub</paragraph>
+<paragraph role="code" id="par_id3151115" xml-lang="en-US" l10n="U" oldref="15">REM Function for initialization of the static variable</paragraph>
+<paragraph role="code" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="16">Function InitVar() As Integer</paragraph>
+<paragraph role="code" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="8">Static iInit As Integer</paragraph>
+<paragraph role="code" id="par_id1057161" xml-lang="en-US" l10n="NEW">Const iMinimum as Integer = 40 REM minimum return value of this function</paragraph>
+<paragraph role="code" id="par_id580462" xml-lang="en-US" l10n="NEW">if iInit = 0 then REM check if initialized</paragraph>
+<paragraph role="code" id="par_id7382732" xml-lang="en-US" l10n="NEW">iInit = iMinimum</paragraph>
+<paragraph role="code" id="par_id5779900" xml-lang="en-US" l10n="NEW">else</paragraph>
+<paragraph role="code" id="par_id3151041" xml-lang="en-US" l10n="U" oldref="10">iInit = iInit + 1</paragraph>
+<paragraph role="code" id="par_id5754264" xml-lang="en-US" l10n="NEW">end if</paragraph>
+<paragraph role="code" id="par_id6529435" xml-lang="en-US" l10n="NEW">InitVar = iInit</paragraph>
+<paragraph role="code" id="par_id3150487" xml-lang="en-US" l10n="U" oldref="18">End Function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103600.xhp b/source/text/sbasic/shared/03103600.xhp
new file mode 100644
index 0000000000..7f09ef0a5f
--- /dev/null
+++ b/source/text/sbasic/shared/03103600.xhp
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">TypeName Function; VarType Function[Runtime]</title>
+<filename>/text/sbasic/shared/03103600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-15T10:34:49">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="typename">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143267"><bookmark_value>TypeName function</bookmark_value>
+<bookmark_value>VarType function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143267" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103600.xhp" name="TypeName Function; VarType Function[Runtime]">TypeName Function; VarType Function[Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="2">Returns a string (TypeName) or a numeric value (VarType) that contains information for a variable.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="4">TypeName (Variable)VarType (Variable)</paragraph>
+<paragraph role="heading" id="hd_id3145610" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="6">String; Integer</paragraph>
+<paragraph role="heading" id="hd_id3146795" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Variable:</emph> The variable that you want to determine the type of. You can use the following values:</paragraph>
+<table id="tbl_id3153362">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="9">key word</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="10">VarType</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="11">Variable type</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="U" oldref="12">Boolean</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153367" xml-lang="en-US" l10n="U" oldref="13">11</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="14">Boolean variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153138" xml-lang="en-US" l10n="U" oldref="15">Date</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="16">7</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="17">Date variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="18">Double</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150486" xml-lang="en-US" l10n="U" oldref="19">5</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="20">Double floating point variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="21">Integer</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="22">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="23">Integer variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149960" xml-lang="en-US" l10n="U" oldref="24">Long</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154513" xml-lang="en-US" l10n="U" oldref="25">3</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151318" xml-lang="en-US" l10n="U" oldref="26">Long integer variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146972" xml-lang="en-US" l10n="U" oldref="27">Object</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154482" xml-lang="en-US" l10n="U" oldref="28">9</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150323" xml-lang="en-US" l10n="U" oldref="29">Object variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="30">Single</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149020" xml-lang="en-US" l10n="U" oldref="31">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147341" xml-lang="en-US" l10n="U" oldref="32">Single floating-point variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155901" xml-lang="en-US" l10n="U" oldref="33">String</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155960" xml-lang="en-US" l10n="U" oldref="34">8</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146313" xml-lang="en-US" l10n="U" oldref="35">String variable</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145149" xml-lang="en-US" l10n="U" oldref="36">Variant</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154021" xml-lang="en-US" l10n="U" oldref="37">12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145789" xml-lang="en-US" l10n="U" oldref="38">Variant variable (can contain all types specified by the definition)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148630" xml-lang="en-US" l10n="U" oldref="39">Empty</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152584" xml-lang="en-US" l10n="U" oldref="40">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151278" xml-lang="en-US" l10n="U" oldref="41">Variable is not initialized</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154576" xml-lang="en-US" l10n="U" oldref="42">Null</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="43">1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145131" xml-lang="en-US" l10n="U" oldref="44">No valid data</paragraph>
+</tablecell>
+</tablerow>
+</table>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149338" xml-lang="en-US" level="2" l10n="U" oldref="45">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150363" xml-lang="en-US" l10n="U" oldref="46">Sub ExampleType</paragraph>
+<paragraph role="paragraph" id="par_id3159088" xml-lang="en-US" l10n="U" oldref="47">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3150089" xml-lang="en-US" l10n="U" oldref="48">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3156139" xml-lang="en-US" l10n="U" oldref="49">Dim siVar As Single</paragraph>
+<paragraph role="paragraph" id="par_id3151217" xml-lang="en-US" l10n="U" oldref="50">Dim dVar As Double</paragraph>
+<paragraph role="paragraph" id="par_id3154658" xml-lang="en-US" l10n="U" oldref="51">Dim bVar As Boolean</paragraph>
+<paragraph role="paragraph" id="par_id3152992" xml-lang="en-US" l10n="U" oldref="52">Dim lVar As Long</paragraph>
+<paragraph role="paragraph" id="par_id3155509" xml-lang="en-US" l10n="U" oldref="53">Msgbox TypeName(iVar) &amp; " " &amp; VarType(iVar) &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3150370" xml-lang="en-US" l10n="CHG" oldref="54">TypeName(sVar) &amp; " " &amp; VarType(sVar) &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3155532" xml-lang="en-US" l10n="U" oldref="55">TypeName(siVar) &amp; " " &amp; VarType(siVar) &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3152988" xml-lang="en-US" l10n="U" oldref="56">TypeName(dVar) &amp; " " &amp; VarType(dVar) &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3156166" xml-lang="en-US" l10n="U" oldref="57">TypeName(bVar) &amp; " " &amp; VarType(bVar) &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3148817" xml-lang="en-US" l10n="U" oldref="58">TypeName(lVar) &amp; " " &amp; VarType(lVar),0,"Some types in $[officename] Basic"</paragraph>
+<paragraph role="paragraph" id="par_id3154259" xml-lang="en-US" l10n="U" oldref="59">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103700.xhp b/source/text/sbasic/shared/03103700.xhp
new file mode 100644
index 0000000000..6d7fe49280
--- /dev/null
+++ b/source/text/sbasic/shared/03103700.xhp
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Set Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03103700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-25T12:08:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="set">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>Set statement</bookmark_value>
+<bookmark_value>Nothing object</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154422" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103700.xhp" name="Set Statement[Runtime]">Set Statement[Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="2">Sets an object reference on a variable or a Property.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153105" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="4">Set ObjectVar = Object</paragraph>
+<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="6">
+<emph>ObjectVar:</emph> a variable or a property that requires an object reference.</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Object:</emph> Object that the variable or the property refers to.</paragraph>
+<paragraph role="paragraph" id="par_idN10623" xml-lang="en-US" l10n="NEW">
+<emph>Nothing</emph> - Assign the <emph>Nothing</emph> object to a variable to remove a previous assignment.</paragraph>
+<paragraph role="heading" id="hd_id3159153" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="9">Sub ExampleSet</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="10">Dim oDoc As Object</paragraph>
+<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="11">Set oDoc = ActiveWindow</paragraph>
+<paragraph role="paragraph" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="12">Print oDoc.Name</paragraph>
+<paragraph role="paragraph" id="par_id3161833" xml-lang="en-US" l10n="U" oldref="13">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103800.xhp b/source/text/sbasic/shared/03103800.xhp
new file mode 100644
index 0000000000..f592aa7387
--- /dev/null
+++ b/source/text/sbasic/shared/03103800.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103800xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FindObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:04:39">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="findobject">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145136"><bookmark_value>FindObject function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145136" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103800.xhp" name="FindObject Function [Runtime]">FindObject Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="2">Enables an object to be addressed at run-time as a string parameter through the object name.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="3">For example, the following command:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="4">MyObj.Prop1.Command = 5</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="5">corresponds to the command block:</paragraph>
+<paragraph role="paragraph" id="par_id3153896" xml-lang="en-US" l10n="U" oldref="6">Dim ObjVar as Object</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="7">Dim ObjProp as Object</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="8">ObjName As String = "MyObj"</paragraph>
+<paragraph role="paragraph" id="par_id3154939" xml-lang="en-US" l10n="U" oldref="9">ObjVar = FindObject( ObjName As String )</paragraph>
+<paragraph role="paragraph" id="par_id3150793" xml-lang="en-US" l10n="U" oldref="10">PropName As String = "Prop1"</paragraph>
+<paragraph role="paragraph" id="par_id3154141" xml-lang="en-US" l10n="U" oldref="11">ObjProp = FindPropertyObject( ObjVar, PropName As String )</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="12">ObjProp.Command = 5</paragraph>
+<paragraph role="paragraph" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="13">This allows names to be dynamically created at run-time. For example:</paragraph>
+<paragraph role="paragraph" id="par_id3153104" xml-lang="en-US" l10n="U" oldref="14">"TextEdit1" to TextEdit5" in a loop to create five control names.</paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="15">See also: <link href="text/sbasic/shared/03103900.xhp" name="FindPropertyObject">FindPropertyObject</link></paragraph>
+<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="2" l10n="U" oldref="16">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="17">FindObject( ObjName As String )</paragraph>
+<paragraph role="heading" id="hd_id3159254" xml-lang="en-US" level="2" l10n="U" oldref="18">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="19">
+<emph>ObjName: </emph>String that specifies the name of the object that you want to address at run-time.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err12"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03103900.xhp b/source/text/sbasic/shared/03103900.xhp
new file mode 100644
index 0000000000..738a06fd5f
--- /dev/null
+++ b/source/text/sbasic/shared/03103900.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103900xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">FindPropertyObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:05:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="findpropertyobject">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>FindPropertyObject function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146958" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03103900.xhp" name="FindPropertyObject Function [Runtime]">FindPropertyObject Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="2">Enables objects to be addressed at run-time as a string parameter using the object name.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="3">For instance, the command:</paragraph>
+<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="4">MyObj.Prop1.Command = 5</paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="5">corresponds to the following command block:</paragraph>
+<paragraph role="paragraph" id="par_id3153896" xml-lang="en-US" l10n="U" oldref="6">Dim ObjVar as Object</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="7">Dim ObjProp as Object</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="8">ObjName As String = "MyObj"</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="9">ObjVar = FindObject( ObjName As String )</paragraph>
+<paragraph role="paragraph" id="par_id3148453" xml-lang="en-US" l10n="U" oldref="10">PropName As String = "Prop1"</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="11">ObjProp = FindPropertyObject( ObjVar, PropName As String )</paragraph>
+<paragraph role="paragraph" id="par_id3159152" xml-lang="en-US" l10n="U" oldref="12">ObjProp.Command = 5</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="13">To dynamically create Names at run-time, use:</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="14">"TextEdit1" to TextEdit5" in a loop to create five names.</paragraph>
+<paragraph role="paragraph" id="par_id3150868" xml-lang="en-US" l10n="U" oldref="15">See also: <link href="text/sbasic/shared/03103800.xhp" name="FindObject">FindObject</link></paragraph>
+<paragraph role="heading" id="hd_id3147287" xml-lang="en-US" level="2" l10n="U" oldref="16">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149560" xml-lang="en-US" l10n="U" oldref="17">FindPropertyObject( ObjVar, PropName As String )</paragraph>
+<paragraph role="heading" id="hd_id3150012" xml-lang="en-US" level="2" l10n="U" oldref="18">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3109839" xml-lang="en-US" l10n="U" oldref="19">
+<emph>ObjVar:</emph> Object variable that you want to dynamically define at run-time.</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="20">
+<emph>PropName:</emph> String that specifies the name of the property that you want to address at run-time.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err12"/>
+<embed href="text/sbasic/shared/00000003.xhp#err14"/>
+<embed href="text/sbasic/shared/00000003.xhp#err52"/>
+<embed href="text/sbasic/shared/00000003.xhp#err57"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104000.xhp b/source/text/sbasic/shared/03104000.xhp
new file mode 100644
index 0000000000..08dfb3bc81
--- /dev/null
+++ b/source/text/sbasic/shared/03104000.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsMissing function [Runtime]</title>
+<filename>/text/sbasic/shared/03104000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:02:38">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ismissing">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153527"><bookmark_value>IsMissing function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153527" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104000.xhp" name="IsMissing function [Runtime]">IsMissing function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US" l10n="U" oldref="2">Tests if a function is called with an optional parameter.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03104100.xhp" name="Optional">Optional</link></paragraph>
+<paragraph role="heading" id="hd_id3145611" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="5">IsMissing( ArgumentName )</paragraph>
+<paragraph role="heading" id="hd_id3145069" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="7">
+<emph>ArgumentName:</emph> the name of an optional argument.</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="8">If the IsMissing function is called by the ArgumentName, then True is returned.</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="9">See also <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104100.xhp b/source/text/sbasic/shared/03104100.xhp
new file mode 100644
index 0000000000..14cfd9885a
--- /dev/null
+++ b/source/text/sbasic/shared/03104100.xhp
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Optional (in Function Statement) [Runtime]</title>
+<filename>/text/sbasic/shared/03104100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:52:04">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="optional">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Optional function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104100.xhp" name="Optional (in Function Statement) [Runtime]">Optional (in Function Statement) [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="2">Allows you to define parameters that are passed to a function as optional.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03104000.xhp" name="IsMissing">IsMissing</link></paragraph>
+<paragraph role="heading" id="hd_id3153824" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="5">Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)</paragraph>
+<paragraph role="heading" id="hd_id3145610" xml-lang="en-US" level="2" l10n="U" oldref="7">Examples:</paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="8">Result = MyFunction("Here", 1, "There") ' all arguments are passed.</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="9">Result = MyFunction("Test", ,1) ' second argument is missing.</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="10">See also <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104200.xhp b/source/text/sbasic/shared/03104200.xhp
new file mode 100644
index 0000000000..258e10da24
--- /dev/null
+++ b/source/text/sbasic/shared/03104200.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Array Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:38:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="array">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Array function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150499" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104200.xhp" name="Array Function [Runtime]">Array Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155555" xml-lang="en-US" l10n="U" oldref="2">Returns the type Variant with a data field.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="U" oldref="4">Array ( Argument list)</paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="5">See also <link href="text/sbasic/shared/03104300.xhp" name="DimArray">DimArray</link></paragraph>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Argument list:</emph> A list of any number of arguments that are separated by commas.</paragraph>
+<paragraph role="heading" id="hd_id3156343" xml-lang="en-US" level="2" l10n="U" oldref="8">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="9">Dim A As Variant</paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="10">A = Array("Fred","Tom","Bill")</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="11">Msgbox A(2)</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104300.xhp b/source/text/sbasic/shared/03104300.xhp
new file mode 100644
index 0000000000..d0b1dd4360
--- /dev/null
+++ b/source/text/sbasic/shared/03104300.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">DimArray Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:30:57">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="dimarray">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>DimArray function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104300.xhp" name="DimArray Function [Runtime]">DimArray Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="2">Returns a Variant array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149762" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="4">DimArray ( Argument list)</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="5">See also <link href="text/sbasic/shared/03104200.xhp" name="Array">Array</link></paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="6">If no parameters are passed, an empty array is created (like Dim A() that is the same as a sequence of length 0 in Uno). If parameters are specified, a dimension is created for each parameter.</paragraph>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Argument list:</emph> A list of any number of arguments that are separated by commas.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err9"/>
+<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154939" xml-lang="en-US" l10n="U" oldref="10">DimArray( 2, 2, 4 ) is the same as DIM a( 2, 2, 4 )</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104400.xhp b/source/text/sbasic/shared/03104400.xhp
new file mode 100644
index 0000000000..158530170f
--- /dev/null
+++ b/source/text/sbasic/shared/03104400.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">HasUnoInterfaces Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:45:45">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="hasunointerfaces">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149987"><bookmark_value>HasUnoInterfaces function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149987" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104400.xhp" name="HasUnoInterfaces Function [Runtime]">HasUnoInterfaces Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3151262" xml-lang="en-US" l10n="U" oldref="2">Tests if a Basic Uno object supports certain Uno interfaces.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154232" xml-lang="en-US" l10n="U" oldref="3">Returns True, if <emph>all</emph> stated Uno interfaces are supported, otherwise False is returned.</paragraph>
+<paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155555" xml-lang="en-US" l10n="U" oldref="5">HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])</paragraph>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="7">Bool</paragraph>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="9">
+<emph>oTest:</emph> the Basic Uno object that you want to test.</paragraph>
+<paragraph role="paragraph" id="par_id3149236" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Uno-Interface-Name:</emph> list of Uno interface names.</paragraph>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149580" xml-lang="en-US" l10n="U" oldref="12">bHas = HasUnoInterfaces( oTest, "com.sun.star.beans.XIntrospection" )</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104500.xhp b/source/text/sbasic/shared/03104500.xhp
new file mode 100644
index 0000000000..88c8393dcf
--- /dev/null
+++ b/source/text/sbasic/shared/03104500.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">IsUnoStruct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-18T12:48:21">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="isunostruct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146117"><bookmark_value>IsUnoStruct function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146117" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104500.xhp" name="IsUnoStruct Function [Runtime]">IsUnoStruct Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="2">Returns True if the given object is a Uno struct.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="4">IsUnoStruct( Uno type )</paragraph>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3145609" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="CHG" oldref="8">Uno type : A UnoObject</paragraph>
+<paragraph role="heading" id="hd_id3156343" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="code" id="par_idN10632" xml-lang="en-US" l10n="NEW">Sub Main</paragraph>
+<paragraph role="code" id="par_idN10635" xml-lang="en-US" l10n="NEW">Dim bIsStruct</paragraph>
+<paragraph role="code" id="par_idN10638" xml-lang="en-US" l10n="NEW">' Instantiate a service</paragraph>
+<paragraph role="code" id="par_idN1063B" xml-lang="en-US" l10n="NEW">Dim oSimpleFileAccess</paragraph>
+<paragraph role="code" id="par_idN1063E" xml-lang="en-US" l10n="NEW">oSimpleFileAccess = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )</paragraph>
+<paragraph role="code" id="par_idN10641" xml-lang="en-US" l10n="NEW">bIsStruct = IsUnoStruct( oSimpleFileAccess )</paragraph>
+<paragraph role="code" id="par_idN10644" xml-lang="en-US" l10n="NEW">MsgBox bIsStruct ' Displays False because oSimpleFileAccess is NO struct</paragraph>
+<paragraph role="code" id="par_idN10649" xml-lang="en-US" l10n="NEW">' Instantiate a Property struct</paragraph>
+<paragraph role="code" id="par_idN1064D" xml-lang="en-US" l10n="NEW">Dim aProperty As New com.sun.star.beans.Property</paragraph>
+<paragraph role="code" id="par_idN10650" xml-lang="en-US" l10n="NEW">bIsStruct = IsUnoStruct( aProperty )</paragraph>
+<paragraph role="code" id="par_idN10653" xml-lang="en-US" l10n="NEW">MsgBox bIsStruct ' Displays True because aProperty is a struct</paragraph>
+<paragraph role="code" id="par_idN10658" xml-lang="en-US" l10n="NEW">bIsStruct = IsUnoStruct( 42 )</paragraph>
+<paragraph role="code" id="par_idN1065B" xml-lang="en-US" l10n="NEW">MsgBox bIsStruct ' Displays False because 42 is NO struct</paragraph>
+<paragraph role="code" id="par_idN10660" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104600.xhp b/source/text/sbasic/shared/03104600.xhp
new file mode 100644
index 0000000000..0232d2d45e
--- /dev/null
+++ b/source/text/sbasic/shared/03104600.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">EqualUnoObjects Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:36:22">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="equalunoobjects">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>EqualUnoObjects function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03104600.xhp" name="EqualUnoObjects Function [Runtime]">EqualUnoObjects Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="2">Returns True if the two specified Basic Uno objects represent the same Uno object instance.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">EqualUnoObjects( oObj1, oObj2 )</paragraph>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="6">Bool</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="8">// Copy of objects -&gt; same instance</paragraph>
+<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US" l10n="U" oldref="9">oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
+<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US" l10n="U" oldref="10">oIntro2 = oIntrospection</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="11">print EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="12">// Copy of structs as value -&gt; new instance</paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="13">Dim Struct1 as new com.sun.star.beans.Property</paragraph>
+<paragraph role="paragraph" id="par_id3154348" xml-lang="en-US" l10n="U" oldref="14">Struct2 = Struct1</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="15">print EqualUnoObjects( Struct1, Struct2 )</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03104700.xhp b/source/text/sbasic/shared/03104700.xhp
new file mode 100644
index 0000000000..6ebf6c920a
--- /dev/null
+++ b/source/text/sbasic/shared/03104700.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104700xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Erase Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104700.xhp</filename>
+</topic>
+<history>
+<created date="2005-04-25T14:43:31">Erase</created>
+<lastedited date="2005-04-27T10:48:36"/>
+</history>
+</meta>
+<body>
+<section id="erase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id624713"><bookmark_value>Erase function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03104700.xhp">Erase Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US" l10n="NEW">Erases the contents of array elements of fixed size arrays, and releases the memory used by arrays of variable size.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN1055D" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN105E6" xml-lang="en-US" l10n="NEW">Erase Arraylist</paragraph>
+<paragraph role="heading" id="par_idN105E9" xml-lang="en-US" level="2" l10n="NEW">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_idN105ED" xml-lang="en-US" l10n="NEW">
+<emph>Arraylist</emph> - The list of arrays to be erased.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03110000.xhp b/source/text/sbasic/shared/03110000.xhp
new file mode 100644
index 0000000000..959142886c
--- /dev/null
+++ b/source/text/sbasic/shared/03110000.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03110000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Comparison Operators</title>
+<filename>/text/sbasic/shared/03110000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="vergleich">
+ <paragraph id="hd_id3155555" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03110000.xhp" name="Comparison Operators">Comparison Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153528" l10n="U" xml-lang="en-US" oldref="2">The available comparison operators are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03110100.xhp#operatoren"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03110100.xhp b/source/text/sbasic/shared/03110100.xhp
new file mode 100644
index 0000000000..c59cdbc92a
--- /dev/null
+++ b/source/text/sbasic/shared/03110100.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03110100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Comparison Operators [Runtime]</title>
+<filename>/text/sbasic/shared/03110100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-12-06T10:54:42">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="operatoren">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>comparison operators;%PRODUCTNAME Basic</bookmark_value>
+<bookmark_value>operators;comparisons</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03110100.xhp" name="Comparison Operators [Runtime]">Comparison Operators [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156042" xml-lang="en-US" l10n="U" oldref="2">Comparison operators compare two expressions. The result is returned as a Boolean expression that determines if the comparison is True (-1) or False (0).</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147291" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="4">Result = Expression1 { = | &lt; | &gt; | &lt;= | &gt;= } Expression2</paragraph>
+<paragraph role="heading" id="hd_id3145316" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Result:</emph> Boolean expression that specifies the result of the comparison (True, or False)</paragraph>
+<paragraph role="paragraph" id="par_id3148686" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Expression1, Expression2:</emph> Any numeric values or strings that you want to compare.</paragraph>
+<paragraph role="heading" id="hd_id3147531" xml-lang="en-US" level="2" l10n="U" oldref="8">Comparison operators</paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="9">= : Equal to</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="10">&lt; : Less than</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="11">&gt; : Greater than</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="12">&lt;= : Less than or equal to</paragraph>
+<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="13">&gt;= : Greater than or equal to</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="14">&lt;&gt; : Not equal to</paragraph>
+<paragraph role="heading" id="hd_id3154686" xml-lang="en-US" level="2" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="16">Sub ExampleUnequal</paragraph>
+<paragraph role="paragraph" id="par_id3159151" xml-lang="en-US" l10n="U" oldref="17">DIM sFile As String</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="18">DIM sRoot As String REM ' Root directory for file in and output</paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="19">sRoot = "c:\"</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="20">sFile = Dir$( sRoot ,22)</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="21">If sFile &lt;&gt; "" Then</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="22">Do</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="23">Msgbox sFile</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="24">sFile = Dir$</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="25">Loop Until sFile = ""</paragraph>
+<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="26">End If</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="27">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120000.xhp b/source/text/sbasic/shared/03120000.xhp
new file mode 100644
index 0000000000..82356acb6d
--- /dev/null
+++ b/source/text/sbasic/shared/03120000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Strings</title>
+<filename>/text/sbasic/shared/03120000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zeichen">
+ <paragraph id="hd_id3156153" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120000.xhp" name="Strings">Strings</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159176" l10n="U" xml-lang="en-US" oldref="2">The following functions and statements validate and return strings.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="3">You can use strings to edit text within $[officename] Basic programs.</paragraph>
+ <embed href="text/sbasic/shared/03120100.xhp#ascii"/>
+ <embed href="text/sbasic/shared/03120200.xhp#zeichen"/>
+ <embed href="text/sbasic/shared/03120300.xhp#manipu"/>
+ <embed href="text/sbasic/shared/03120400.xhp#ermitteln"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120100.xhp b/source/text/sbasic/shared/03120100.xhp
new file mode 100644
index 0000000000..8dc81f6c12
--- /dev/null
+++ b/source/text/sbasic/shared/03120100.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ASCII/ANSI Conversion in Strings</title>
+<filename>/text/sbasic/shared/03120100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ascii">
+ <paragraph id="hd_id3147443" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120100.xhp" name="ASCII/ANSI Conversion in Strings">ASCII/ANSI Conversion in Strings</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="2">The following functions convert strings to and from ASCII or ANSI code.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120101.xhp#asc"/>
+ <embed href="text/sbasic/shared/03120102.xhp#chr"/>
+ <embed href="text/sbasic/shared/03120103.xhp#str"/>
+ <embed href="text/sbasic/shared/03120104.xhp#val"/>
+ <embed href="text/sbasic/shared/03120105.xhp#cbyte"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120101.xhp b/source/text/sbasic/shared/03120101.xhp
new file mode 100644
index 0000000000..31a2a31677
--- /dev/null
+++ b/source/text/sbasic/shared/03120101.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Asc Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-27T11:23:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="asc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Asc function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150499" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function [Runtime]">Asc Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3151384" xml-lang="en-US" l10n="U" oldref="2">Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3155555" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="4">Asc (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149415" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any valid string expression. Only the first character in the string is relevant.</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="CHG" oldref="9">Use the Asc function to replace keys with values. If the Asc function encounters a blank string, $[officename] Basic reports a run-time error. In addition to 7 bit ASCII characters (Codes 0-127), the ASCII function can also detect non-printable key codes in ASCII code. This function can also handle 16 bit unicode characters.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149457" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleASC</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="12">Print ASC("A") REM returns 65</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="13">Print ASC("Z") REM returns 90</paragraph>
+<paragraph role="paragraph" id="par_id3163800" xml-lang="en-US" l10n="U" oldref="14">Print ASC("Las Vegas") REM returns 76, since only the first character is taken into account</paragraph>
+<paragraph role="paragraph" id="par_id3148674" xml-lang="en-US" l10n="U" oldref="15">End Sub</paragraph>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_idN1067B" xml-lang="en-US" l10n="NEW"><link href="text/sbasic/shared/03120102.xhp">CHR</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120102.xhp b/source/text/sbasic/shared/03120102.xhp
new file mode 100644
index 0000000000..590668b1ad
--- /dev/null
+++ b/source/text/sbasic/shared/03120102.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120102xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Chr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-13T14:13:52">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="chr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Chr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120102.xhp" name="Chr Function [Runtime]">Chr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="2">Returns the character that corresponds to the specified character code.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149514" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">Chr(Expression As Integer)</paragraph>
+<paragraph role="heading" id="hd_id3143228" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153824" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3148944" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149295" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> Numeric variables that represent a valid 8 bit ASCII value (0-255) or a 16 bit Unicode value.</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="9">Use the <emph>Chr$</emph> function to send special control sequences to a printer or to another output source. You can also use it to insert quotation marks in a string expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3144502" xml-lang="en-US" l10n="U" oldref="11">sub ExampleChr</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="CHG" oldref="12">REM This example inserts quotation marks (ASCII value 34) in a string.</paragraph>
+<paragraph role="paragraph" id="par_id3151380" xml-lang="en-US" l10n="U" oldref="13">MsgBox "A "+ Chr$(34)+"short" + Chr$(34)+" trip."</paragraph>
+<paragraph role="paragraph" id="par_id3145174" xml-lang="en-US" l10n="U" oldref="14">REM The printout appears in the dialog as: A "short" trip.</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="15">end sub</paragraph>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_idN10668" xml-lang="en-US" l10n="NEW"><link href="text/sbasic/shared/03120101.xhp">ASC</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120103.xhp b/source/text/sbasic/shared/03120103.xhp
new file mode 100644
index 0000000000..725610b571
--- /dev/null
+++ b/source/text/sbasic/shared/03120103.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120103xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Str Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:32:55">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="str">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143272"><bookmark_value>Str function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143272" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120103.xhp" name="Str Function [Runtime]">Str Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155100" xml-lang="en-US" l10n="U" oldref="2">Converts a numeric expression into a string.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3109850" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149497" xml-lang="en-US" l10n="U" oldref="4">Str (Expression)</paragraph>
+<paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3146117" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3155805" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression: </emph>Any numeric expression.</paragraph>
+<paragraph role="paragraph" id="par_id3146958" xml-lang="en-US" l10n="U" oldref="9">The <emph>Str</emph> function converts a numeric variable, or the result of a calculation into a string. Negative numbers are preceded by a minus sign. Positive numbers are preceded by a space (instead of the plus sign).</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3155419" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleStr</paragraph>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="12">Dim iVar As Single</paragraph>
+<paragraph role="paragraph" id="par_id3153626" xml-lang="en-US" l10n="U" oldref="13">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="14">iVar = 123.123</paragraph>
+<paragraph role="paragraph" id="par_id3153897" xml-lang="en-US" l10n="U" oldref="15">sVar = LTrim(Str(iVar))</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="16">Msgbox sVar &amp; chr(13) &amp; Str(iVar)</paragraph>
+<paragraph role="paragraph" id="par_id3152811" xml-lang="en-US" l10n="U" oldref="17">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120104.xhp b/source/text/sbasic/shared/03120104.xhp
new file mode 100644
index 0000000000..4053a9a5d8
--- /dev/null
+++ b/source/text/sbasic/shared/03120104.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120104xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Val Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:50:30">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="val">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Val function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149205" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120104.xhp" name="Val Function [Runtime]">Val Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="2">Converts a string to a numeric expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">Val (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154348" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> String that represents a number.</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="9">Using the Val function, you can convert a string that represents numbers into numeric expressions. This is the inverse of the <emph>Str</emph> function. If only part of the string contains numbers, only the first appropriate characters of the string are converted. If the string does not contain any numbers, the <emph>Val</emph> function returns the value 0.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151177" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleVal</paragraph>
+<paragraph role="paragraph" id="par_id3159150" xml-lang="en-US" l10n="U" oldref="12">msgbox Val("123.123")</paragraph>
+<paragraph role="paragraph" id="par_id3154126" xml-lang="en-US" l10n="U" oldref="13">msgbox Val("A123.123")</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="14">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120105.xhp b/source/text/sbasic/shared/03120105.xhp
new file mode 100644
index 0000000000..e7594f0514
--- /dev/null
+++ b/source/text/sbasic/shared/03120105.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120105xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CByte Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120105.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:52:07">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="cbyte">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>CByte function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120105.xhp" name="CByte Function [Runtime]">CByte Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="2">Converts a string or a numeric expression to the type Byte.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149811" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147573" xml-lang="en-US" l10n="U" oldref="4">Cbyte( expression )</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="6">Byte</paragraph>
+<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Expression:</emph> A string or a numeric expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120200.xhp b/source/text/sbasic/shared/03120200.xhp
new file mode 100644
index 0000000000..54d7402f4f
--- /dev/null
+++ b/source/text/sbasic/shared/03120200.xhp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Repeating Contents</title>
+<filename>/text/sbasic/shared/03120200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zeichen">
+ <paragraph id="hd_id3152363" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120200.xhp" name="Repeating Contents">Repeating Contents</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150178" l10n="U" xml-lang="en-US" oldref="2">The following functions repeat the contents of strings.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120201.xhp#space"/>
+ <embed href="text/sbasic/shared/03120202.xhp#string"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120201.xhp b/source/text/sbasic/shared/03120201.xhp
new file mode 100644
index 0000000000..128cdf3620
--- /dev/null
+++ b/source/text/sbasic/shared/03120201.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Space Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-21T11:44:19">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="space">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Space function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150499" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120201.xhp" name="Space Function [Runtime]">Space Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154927" xml-lang="en-US" l10n="U" oldref="2">Returns a string that consists of a specified amount of spaces.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153394" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="CHG" oldref="4">Space (n As Long)</paragraph>
+<paragraph role="heading" id="hd_id3147242" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3156152" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="8">
+<emph>n:</emph> Numeric expression that defines the number of spaces in the string. The maximum allowed value of n is 65535.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="10">Sub ExampleSpace</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="11">Dim sText As String,sOut As String</paragraph>
+<paragraph role="paragraph" id="par_id3154938" xml-lang="en-US" l10n="U" oldref="12">DIm iLen As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="13">iLen = 10</paragraph>
+<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US" l10n="U" oldref="14">sText = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="15">sOut = sText &amp; Space(iLen) &amp; sText &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="16">sText &amp; Space(iLen*2) &amp; sText &amp; Chr(13) &amp;_</paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="17">sText &amp; Space(iLen*4) &amp; sText &amp; Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3154216" xml-lang="en-US" l10n="U" oldref="18">msgBox sOut,0,"Info:"</paragraph>
+<paragraph role="paragraph" id="par_id3158409" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120202.xhp b/source/text/sbasic/shared/03120202.xhp
new file mode 100644
index 0000000000..249fe5004b
--- /dev/null
+++ b/source/text/sbasic/shared/03120202.xhp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120202xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">String Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-21T11:41:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="string">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147291"><bookmark_value>String function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147291" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120202.xhp" name="String Function [Runtime]">String Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147242" xml-lang="en-US" l10n="U" oldref="2">Creates a string according to the specified character, or the first character of a string expression that is passed to the function.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149516" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="CHG" oldref="4">String (n As Long, {expression As Integer | character As String})</paragraph>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3154923" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="CHG" oldref="8">
+<emph>n:</emph> Numeric expression that indicates the number of characters to return in the string. The maximum allowed value of n is 65535.</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Expression:</emph> Numeric expression that defines the ASCII code for the character.</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Character:</emph> Any single character used to build the return string, or any string of which only the first character will be used.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3152920" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleString</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="13">Dim sText as String</paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="U" oldref="15">sText = String(10,"A")</paragraph>
+<paragraph role="paragraph" id="par_id3153970" xml-lang="en-US" l10n="U" oldref="16">Msgbox sText</paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="18">sText = String(10,65)</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="19">Msgbox sText</paragraph>
+<paragraph role="paragraph" id="par_id3153138" xml-lang="en-US" l10n="U" oldref="24">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120300.xhp b/source/text/sbasic/shared/03120300.xhp
new file mode 100644
index 0000000000..d9a688c6cb
--- /dev/null
+++ b/source/text/sbasic/shared/03120300.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Editing String Contents</title>
+<filename>/text/sbasic/shared/03120300.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="manipu">
+<bookmark xml-lang="en-US" branch="index" id="bm_id7499008"><bookmark_value>ampersand symbol in StarBasic</bookmark_value>
+</bookmark><paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120300.xhp" name="Editing String Contents">Editing String Contents</link></paragraph>
+<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US" l10n="CHG" oldref="2">The following functions edit, format, and align the contents of strings. Use the &amp; operator to concatenate strings.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03120301.xhp#format"/>
+<embed href="text/sbasic/shared/03120302.xhp#lcase"/>
+<embed href="text/sbasic/shared/03120303.xhp#left"/>
+<embed href="text/sbasic/shared/03120304.xhp#lset"/>
+<embed href="text/sbasic/shared/03120305.xhp#ltrim"/>
+<embed href="text/sbasic/shared/03120306.xhp#mid"/>
+<embed href="text/sbasic/shared/03120307.xhp#right"/>
+<embed href="text/sbasic/shared/03120308.xhp#rset"/>
+<embed href="text/sbasic/shared/03120309.xhp#rtrim"/>
+<embed href="text/sbasic/shared/03120311.xhp#trim"/>
+<embed href="text/sbasic/shared/03120310.xhp#ucase"/>
+<embed href="text/sbasic/shared/03120314.xhp#split"/>
+<embed href="text/sbasic/shared/03120315.xhp#join"/>
+<embed href="text/sbasic/shared/03120312.xhp#converttourl"/>
+<embed href="text/sbasic/shared/03120313.xhp#convertfromurl"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120301.xhp b/source/text/sbasic/shared/03120301.xhp
new file mode 100644
index 0000000000..f5435495f2
--- /dev/null
+++ b/source/text/sbasic/shared/03120301.xhp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120301xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Format Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-15T10:04:02">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="format">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153539"><bookmark_value>Format function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153539" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120301.xhp" name="Format Function [Runtime]">Format Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156042" xml-lang="en-US" l10n="U" oldref="2">Converts a number to a string, and then formats it according to the format that you specify.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="5">Format (Number [, Format As String])</paragraph>
+<paragraph role="heading" id="hd_id3149178" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148474" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3159176" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149415" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Number:</emph> Numeric expression that you want to convert to a formatted string.</paragraph>
+<paragraph role="paragraph" id="par_id3147531" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Format:</emph> String that specifies the format code for the number. If <emph>Format</emph> is omitted, the Format function works like the <emph>Str</emph> function.</paragraph>
+<paragraph role="heading" id="hd_id3147561" xml-lang="en-US" level="2" l10n="U" oldref="47">Formatting Codes</paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="11">The following list describes the codes that you can use for formatting a number:</paragraph>
+<paragraph role="paragraph" id="par_id3153380" xml-lang="en-US" l10n="U" oldref="12">
+<emph>0:</emph> If <emph>Number</emph> has a digit at the position of the 0 in the format code, the digit is displayed, otherwise a zero is displayed.</paragraph>
+<paragraph role="paragraph" id="par_id3151210" xml-lang="en-US" l10n="U" oldref="13">If <emph>Number</emph> has fewer digits than the number of zeros in the format code, (on either side of the decimal), leading or trailing zeros are displayed. If the number has more digits to the left of the decimal separator than the amount of zeros in the format code, the additional digits are displayed without formatting.</paragraph>
+<paragraph role="paragraph" id="par_id3151176" xml-lang="en-US" l10n="U" oldref="14">Decimal places in the number are rounded according to the number of zeros that appear after the decimal separator in the <emph>Format </emph>code.</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="15">
+<emph>#:</emph> If <emph>Number</emph> contains a digit at the position of the # placeholder in the <emph>Format</emph> code, the digit is displayed, otherwise nothing is displayed at this position.</paragraph>
+<paragraph role="paragraph" id="par_id3148452" xml-lang="en-US" l10n="U" oldref="16">This symbol works like the 0, except that leading or trailing zeroes are not displayed if there are more # characters in the format code than digits in the number. Only the relevant digits of the number are displayed.</paragraph>
+<paragraph role="paragraph" id="par_id3159150" xml-lang="en-US" l10n="U" oldref="17">
+<emph>.:</emph> The decimal placeholder determines the number of decimal places to the left and right of the decimal separator.</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="18">If the format code contains only # placeholders to the left of this symbol, numbers less than 1 begin with a decimal separator. To always display a leading zero with fractional numbers, use 0 as a placeholder for the first digit to the left of the decimal separator.</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="19">
+<emph>%:</emph> Multiplies the number by 100 and inserts the percent sign (%) where the number appears in the format code.</paragraph>
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="20">
+<emph>E- E+ e- e+ :</emph> If the format code contains at least one digit placeholder (0 or #) to the right of the symbol E-, E+, e-, or e+, the number is formatted in the scientific or exponential format. The letter E or e is inserted between the number and the exponent. The number of placeholders for digits to the right of the symbol determines the number of digits in the exponent.</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="21">If the exponent is negative, a minus sign is displayed directly before an exponent with E-, E+, e-, e+. If the exponent is positive, a plus sign is only displayed before exponents with E+ or e+.</paragraph>
+<paragraph role="paragraph" id="par_id3148617" xml-lang="en-US" l10n="U" oldref="23">The thousands delimiter is displayed if the format code contains the delimiter enclosed by digit placeholders (0 or #).</paragraph>
+<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="CHG" oldref="29">The use of a period as a thousands and decimal separator is dependent on the regional setting. When you enter a number directly in Basic source code, always use a period as decimal delimiter. The actual character displayed as a decimal separator depends on the number format in your system settings.</paragraph>
+<paragraph role="paragraph" id="par_id3152887" xml-lang="en-US" l10n="U" oldref="24">
+<emph>- + $ ( ) space:</emph> A plus (+), minus (-), dollar ($), space, or brackets entered directly in the format code is displayed as a literal character.</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="25">To display characters other than the ones listed here, you must precede it by a backslash (\), or enclose it in quotation marks (" ").</paragraph>
+<paragraph role="paragraph" id="par_id3153139" xml-lang="en-US" l10n="U" oldref="26">\ : The backslash displays the next character in the format code.</paragraph>
+<paragraph role="paragraph" id="par_id3153366" xml-lang="en-US" l10n="U" oldref="27">Characters in the format code that have a special meaning can only be displayed as literal characters if they are preceded by a backslash. The backslash itself is not displayed, unless you enter a double backslash (\\) in the format code.</paragraph>
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="28">Characters that must be preceded by a backslash in the format code in order to be displayed as literal characters are date- and time-formatting characters (a, c, d, h, m, n, p, q, s, t, w, y, /, :), numeric-formatting characters (#, 0, %, E, e, comma, period), and string-formatting characters (@, &amp;, &lt;, &gt;, !).</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="30">You can also use the following predefined number formats. Except for "General Number", all of the predefined format codes return the number as a decimal number with two decimal places.</paragraph>
+<paragraph role="paragraph" id="par_id3150113" xml-lang="en-US" l10n="U" oldref="31">If you use predefined formats, the name of the format must be enclosed in quotation marks.</paragraph>
+<paragraph role="heading" id="hd_id3149377" xml-lang="en-US" level="2" l10n="U" oldref="32">Predefined format</paragraph>
+<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="33">
+<emph>General Number:</emph> Numbers are displayed as entered.</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="34">
+<emph>Currency:</emph> Inserts a dollar sign in front of the number and encloses negative numbers in brackets.</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="35">
+<emph>Fixed:</emph> Displays at least one digit in front of the decimal separator.</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="36">
+<emph>Standard:</emph> Displays numbers with a thousands separator.</paragraph>
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="37">
+<emph>Percent:</emph> Multiplies the number by 100 and appends a percent sign to the number.</paragraph>
+<paragraph role="paragraph" id="par_id3153836" xml-lang="en-US" l10n="U" oldref="38">
+<emph>Scientific:</emph> Displays numbers in scientific format (for example, 1.00E+03 for 1000).</paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="39">A format code can be divided into three sections that are separated by semicolons. The first part defines the format for positive values, the second part for negative values, and the third part for zero. If you only specify one format code, it applies to all numbers.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149019" xml-lang="en-US" level="2" l10n="U" oldref="40">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156054" xml-lang="en-US" l10n="U" oldref="41">Sub ExampleFormat</paragraph>
+<paragraph role="paragraph" id="par_id3148993" xml-lang="en-US" l10n="U" oldref="42">MsgBox Format(6328.2, "##,##0.00")<comment>Translators: do not change the decimal point in 6328.2, and do not change "##,##0.00" because BASIC uses US notation in all locales.</comment></paragraph>
+<paragraph role="paragraph" id="par_idN107A2" xml-lang="en-US" l10n="NEW">REM always use a period as decimal delimiter when you enter numbers in Basic source code.</paragraph>
+<paragraph role="paragraph" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="46">REM displays for example 6,328.20 in English locale, 6.328,20 in German locale.</paragraph>
+<paragraph role="paragraph" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="43">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120302.xhp b/source/text/sbasic/shared/03120302.xhp
new file mode 100644
index 0000000000..a4eb0af31f
--- /dev/null
+++ b/source/text/sbasic/shared/03120302.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">LCase Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:08:28">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="lcase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152363"><bookmark_value>LCase function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3152363" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120302.xhp" name="LCase Function [Runtime]">LCase Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="2">Converts all uppercase letters in a string to lowercase.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120310.xhp" name="UCase">UCase</link> Function</paragraph>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="5">LCase (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3154940" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3151043" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Text:</emph> Any string expression that you want to convert.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148451" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleLUCase</paragraph>
+<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US" l10n="U" oldref="12">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3153367" xml-lang="en-US" l10n="U" oldref="13">sVar = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="14">Print LCase(sVar) REM Returns "las vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="15">Print UCase(sVar) REM Returns "LAS VEGAS"</paragraph>
+<paragraph role="paragraph" id="par_id3153575" xml-lang="en-US" l10n="U" oldref="16">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120303.xhp b/source/text/sbasic/shared/03120303.xhp
new file mode 100644
index 0000000000..a96828cee1
--- /dev/null
+++ b/source/text/sbasic/shared/03120303.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120303xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Left Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-21T11:53:55">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="left">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>Left function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120303.xhp" name="Left Function [Runtime]">Left Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147242" xml-lang="en-US" l10n="U" oldref="2">Returns the number of leftmost characters that you specify of a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3156153" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="CHG" oldref="4">Left (Text As String, n As Long)</paragraph>
+<paragraph role="heading" id="hd_id3153824" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3148946" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that you want to return the leftmost characters from.</paragraph>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="CHG" oldref="9">
+<emph>n:</emph> Numeric expression that specifies the number of characters that you want to return. If <emph>n</emph> = 0, a zero-length string is returned. The maximum allowed value is 65535.</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="10">The following example converts a date in YYYY.MM.DD format to MM/DD/YYYY format.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3144761" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleUSDate</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="13">Dim sInput As String</paragraph>
+<paragraph role="paragraph" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="14">Dim sUS_date As String</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="15">sInput = InputBox("Please input a date in the international format 'YYYY-MM-DD'")</paragraph>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="16">sUS_date = Mid(sInput, 6, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="17">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3153770" xml-lang="en-US" l10n="U" oldref="18">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3161833" xml-lang="en-US" l10n="U" oldref="19">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3147215" xml-lang="en-US" l10n="U" oldref="20">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+<paragraph role="paragraph" id="par_id3149666" xml-lang="en-US" l10n="U" oldref="21">MsgBox sUS_date</paragraph>
+<paragraph role="paragraph" id="par_id3153138" xml-lang="en-US" l10n="U" oldref="22">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120304.xhp b/source/text/sbasic/shared/03120304.xhp
new file mode 100644
index 0000000000..d4ac846723
--- /dev/null
+++ b/source/text/sbasic/shared/03120304.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120304xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">LSet Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:31:22">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="lset">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>LSet statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120304.xhp" name="LSet Statement [Runtime]">LSet Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="2">Aligns a string to the left of a string variable, or copies a variable of a user-defined type to another variable of a different user-defined type.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145317" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="4">LSet Var As String = Text or LSet Var1 = Var2</paragraph>
+<paragraph role="heading" id="hd_id3143271" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Var:</emph> Any String variable that contains the string that you want align to the left.</paragraph>
+<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Text:</emph> String that you want to align to the left of the string variable.</paragraph>
+<paragraph role="paragraph" id="par_id3151054" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Var1:</emph> Name of the user-defined type variable that you want to copy to.</paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Var2:</emph> Name of the user-defined type variable that you want to copy from.</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="10">If the string is shorter than the string variable, <emph>LSet</emph> left-aligns the string within the string variable. Any remaining positions in the string variable are replaced by spaces. If the string is longer than the string variable, only the leftmost characters up to the length of the string variable are copied. With the <emph>LSet</emph> statement, you can also copy a user-defined type variable to another variable of the same type.</paragraph>
+<paragraph role="heading" id="hd_id3156282" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleRLSet</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="13">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="14">Dim sExpr As String</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="16">sVar = String(40,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="17">sExpr = "SBX"</paragraph>
+<paragraph role="paragraph" id="par_id3152940" xml-lang="en-US" l10n="U" oldref="18">REM Align "SBX" within the 40-character reference string</paragraph>
+<paragraph role="paragraph" id="par_id3148647" xml-lang="en-US" l10n="U" oldref="19">REM Replace asterisks with spaces</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="20">RSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3153365" xml-lang="en-US" l10n="U" oldref="21">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="23">sVar = String(5,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3147436" xml-lang="en-US" l10n="U" oldref="24">sExpr = "123457896"</paragraph>
+<paragraph role="paragraph" id="par_id3146923" xml-lang="en-US" l10n="U" oldref="25">RSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="26">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="28">sVar = String(40,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3145253" xml-lang="en-US" l10n="U" oldref="29">sExpr = "SBX"</paragraph>
+<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="U" oldref="30">REM Left-align "SBX" within the 40-character reference string</paragraph>
+<paragraph role="paragraph" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="31">LSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3154792" xml-lang="en-US" l10n="U" oldref="32">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3154942" xml-lang="en-US" l10n="U" oldref="34">sVar = String(5,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3155603" xml-lang="en-US" l10n="U" oldref="35">sExpr = "123456789"</paragraph>
+<paragraph role="paragraph" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="36">LSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="37">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="38">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120305.xhp b/source/text/sbasic/shared/03120305.xhp
new file mode 100644
index 0000000000..90b9e7e36c
--- /dev/null
+++ b/source/text/sbasic/shared/03120305.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120305xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">LTrim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-01-03T15:50:42">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ltrim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147574"><bookmark_value>LTrim function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120305.xhp" name="LTrim Function [Runtime]">LTrim Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145316" xml-lang="en-US" l10n="U" oldref="2">Removes all leading spaces at the start of a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154924" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="4">LTrim (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3156344" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3150543" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression.</paragraph>
+<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US" l10n="U" oldref="9">Use this function to remove spaces at the beginning of a string expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3145419" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSpaces</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="12">Dim sText2 As String,sText As String,sOut As String</paragraph>
+<paragraph role="paragraph" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="13">sText2 = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="15">sOut = "'"+sText2 +"'"+ Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="CHG" oldref="16">sText = Ltrim(sText2) REM sText = "&lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="17">sOut = sOut + "'"+sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="CHG" oldref="18">sText = Rtrim(sText2) REM sText = " &lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="19">sOut = sOut +"'"+ sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3154322" xml-lang="en-US" l10n="CHG" oldref="20">sText = Trim(sText2) REM sText = "&lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3146924" xml-lang="en-US" l10n="U" oldref="21">sOut = sOut +"'"+ sText +"'"</paragraph>
+<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="22">MsgBox sOut</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120306.xhp b/source/text/sbasic/shared/03120306.xhp
new file mode 100644
index 0000000000..7c92a96c03
--- /dev/null
+++ b/source/text/sbasic/shared/03120306.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120306xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Mid Function, Mid Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120306.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-21T11:52:55">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="mid">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>Mid function</bookmark_value>
+<bookmark_value>Mid statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120306.xhp" name="Mid Function, Mid Statement [Runtime]">Mid Function, Mid Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="2">Returns the specified portion of a string expression (<emph>Mid function</emph>), or replaces the portion of a string expression with another string (<emph>Mid statement</emph>).</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154285" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="CHG" oldref="4">Mid (Text As String, Start As Long [, Length As Long]) or Mid (Text As String, Start As Long , Length As Long, Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149295" xml-lang="en-US" l10n="U" oldref="6">String (only by Function)</paragraph>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that you want to modify.</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="CHG" oldref="9">
+<emph>Start: </emph>Numeric expression that indicates the character position within the string where the string portion that you want to replace or to return begins. The maximum allowed value is 65535.<comment>see i17928</comment></paragraph>
+<paragraph role="paragraph" id="par_id3148451" xml-lang="en-US" l10n="CHG" oldref="10">
+<emph>Length:</emph> Numeric expression that returns the number of characters that you want to replace or return. The maximum allowed value is 65535.</paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="U" oldref="11">If the Length parameter in the <emph>Mid function</emph> is omitted, all characters in the string expression from the start position to the end of the string are returned.</paragraph>
+<paragraph role="paragraph" id="par_id3144762" xml-lang="en-US" l10n="U" oldref="12">If the Length parameter in the <emph>Mid statement</emph> is less than the length of the text that you want to replace, the text is reduced to the specified length.</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Text:</emph> The string to replace the string expression (<emph>Mid statement</emph>).</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3149560" xml-lang="en-US" level="2" l10n="U" oldref="14">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150439" xml-lang="en-US" l10n="U" oldref="15">Sub ExampleUSDate</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="16">Dim sInput As String</paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="17">Dim sUS_date As String</paragraph>
+<paragraph role="paragraph" id="par_id3153189" xml-lang="en-US" l10n="U" oldref="18">sInput = InputBox("Please input a date in the international format 'YYYY-MM-DD'")</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="19">sUS_date = Mid(sInput, 6, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="20">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3153364" xml-lang="en-US" l10n="U" oldref="21">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="22">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="U" oldref="23">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="24">MsgBox sUS_date</paragraph>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="25">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120307.xhp b/source/text/sbasic/shared/03120307.xhp
new file mode 100644
index 0000000000..88bd2d6dc5
--- /dev/null
+++ b/source/text/sbasic/shared/03120307.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120307xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Right Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120307.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-21T12:00:17">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="right">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Right function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120307.xhp" name="Right Function [Runtime]">Right Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="2">Returns the rightmost "n" characters of a string expression.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3149763" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120303.xhp" name="Left Function">Left Function</link>.</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US" l10n="CHG" oldref="5">Right (Text As String, n As Long)</paragraph>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3146795" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153526" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Text:</emph> Any string expression that you want to return the rightmost characters of.</paragraph>
+<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US" l10n="CHG" oldref="10">
+<emph>n:</emph> Numeric expression that defines the number of characters that you want to return. If <emph>n</emph> = 0, a zero-length string is returned. The maximum allowed value is 65535.</paragraph>
+<paragraph role="paragraph" id="par_id3158410" xml-lang="en-US" l10n="U" oldref="11">The following example converts a date in YYYY-MM-DD format to the US date format (MM/DD/YYYY).</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3156212" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleUSDate</paragraph>
+<paragraph role="paragraph" id="par_id3153105" xml-lang="en-US" l10n="U" oldref="14">Dim sInput As String</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="15">Dim sUS_date As String</paragraph>
+<paragraph role="paragraph" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="16">sInput = InputBox("Please input a date in the international format 'YYYY-MM-DD'")</paragraph>
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="17">sUS_date = Mid(sInput, 6, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="18">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="19">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="20">sUS_date = sUS_date &amp; "/"</paragraph>
+<paragraph role="paragraph" id="par_id3145365" xml-lang="en-US" l10n="U" oldref="21">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+<paragraph role="paragraph" id="par_id3152940" xml-lang="en-US" l10n="U" oldref="22">MsgBox sUS_date</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="23">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120308.xhp b/source/text/sbasic/shared/03120308.xhp
new file mode 100644
index 0000000000..3fcea46178
--- /dev/null
+++ b/source/text/sbasic/shared/03120308.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120308xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">RSet Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120308.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:16:38">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rset">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>RSet statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120308.xhp" name="RSet Statement [Runtime]">RSet Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="2">Right-aligns a string within a string variable, or copies a user-defined variable type into another.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149234" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">RSet Text As String = Text or RSet Variable1 = Variable2</paragraph>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string variable.</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Text</emph>: String that you want to right-align in the string variable.</paragraph>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Variable1:</emph> User-defined variable that is the target for the copied variable.</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Variable2:</emph> User-defined variable that you want to copy to another variable.</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="10">If the string is shorter than the string variable, <emph>RSet</emph> aligns the string to the right within the string variable. Any remaining characters in the string variable are replaced with spaces. If the string is longer than the string variable, characters exceeding the length of the variable are truncated, and only the remaining characters are right-aligned within the string variable.</paragraph>
+<paragraph role="paragraph" id="par_id3149202" xml-lang="en-US" l10n="U" oldref="11">You can also use the <emph>RSet statement</emph> to assign variables of one user-defined type to another.</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="12">The following example uses the <emph>RSet</emph> and <emph>LSet</emph> statements to modify the left and right alignment of a string.</paragraph>
+<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154218" xml-lang="en-US" l10n="U" oldref="14">Sub ExampleRLSet</paragraph>
+<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US" l10n="U" oldref="15">Dim sVar as string</paragraph>
+<paragraph role="paragraph" id="par_id3153367" xml-lang="en-US" l10n="U" oldref="16">Dim sExpr as string</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="18">sVar = String(40,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="19">sExpr = "SBX"</paragraph>
+<paragraph role="paragraph" id="par_id3155856" xml-lang="en-US" l10n="U" oldref="20">REM Right-align "SBX" in a 40-character string</paragraph>
+<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="21">REM Replace asterisks with spaces</paragraph>
+<paragraph role="paragraph" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="22">RSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="23">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="25">sVar = String(5,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="26">sExpr = "123457896"</paragraph>
+<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US" l10n="U" oldref="27">RSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3150116" xml-lang="en-US" l10n="U" oldref="28">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="30">sVar = String(40,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="31">sExpr = "SBX"</paragraph>
+<paragraph role="paragraph" id="par_id3145801" xml-lang="en-US" l10n="U" oldref="32">REM Left-align "SBX" in a 40-character string</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="33">LSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="34">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3153839" xml-lang="en-US" l10n="U" oldref="36">sVar = String(5,"*")</paragraph>
+<paragraph role="paragraph" id="par_id3149122" xml-lang="en-US" l10n="U" oldref="37">sExpr = "123456789"</paragraph>
+<paragraph role="paragraph" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="38">LSet sVar = sExpr</paragraph>
+<paragraph role="paragraph" id="par_id3154480" xml-lang="en-US" l10n="U" oldref="39">Print "&gt;"; sVar; "&lt;"</paragraph>
+<paragraph role="paragraph" id="par_id3148914" xml-lang="en-US" l10n="U" oldref="40">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120309.xhp b/source/text/sbasic/shared/03120309.xhp
new file mode 100644
index 0000000000..cfdc43abe5
--- /dev/null
+++ b/source/text/sbasic/shared/03120309.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120309xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">RTrim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120309.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-01-03T15:50:36">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rtrim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154286"><bookmark_value>RTrim function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154286" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120309.xhp" name="RTrim Function [Runtime]">RTrim Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153127" xml-lang="en-US" l10n="U" oldref="2">Deletes the spaces at the end of a string expression.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153062" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120305.xhp" name="LTrim Function">LTrim Function</link></paragraph>
+<paragraph role="heading" id="hd_id3154924" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="5">RTrim (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3151380" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Text: </emph>Any string expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3151041" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148673" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSpaces</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="12">Dim sText2 as String,sText as String,sOut as String</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="13">sText2 = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US" l10n="U" oldref="15">sOut = "'"+sText2 +"'"+ Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3161833" xml-lang="en-US" l10n="CHG" oldref="16">sText = Ltrim(sText2) REM sText = "&lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="17">sOut = sOut + "'"+sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="18">sText = Rtrim(sText2) REM sText = " &lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="19">sOut = sOut +"'"+ sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="CHG" oldref="20">sText = Trim(sText2) REM sText = "&lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3153729" xml-lang="en-US" l10n="U" oldref="21">sOut = sOut +"'"+ sText +"'"</paragraph>
+<paragraph role="paragraph" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="22">MsgBox sOut</paragraph>
+<paragraph role="paragraph" id="par_id3146922" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120310.xhp b/source/text/sbasic/shared/03120310.xhp
new file mode 100644
index 0000000000..5cd4875be7
--- /dev/null
+++ b/source/text/sbasic/shared/03120310.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120310xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">UCase Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120310.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:45:11">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="ucase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153527"><bookmark_value>UCase function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153527" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120310.xhp" name="UCase Function [Runtime]">UCase Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155420" xml-lang="en-US" l10n="U" oldref="2">Converts lowercase characters in a string to uppercase.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150771" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120302.xhp" name="LCase Function">LCase Function</link></paragraph>
+<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="4">
+<emph>Syntax</emph>:</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US" l10n="U" oldref="5">UCase (Text As String)</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Return value</emph>:</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Text:</emph> Any string expression that you want to convert.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147229" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleLUCase</paragraph>
+<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="12">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="13">sVar = "Las Vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="14">Print LCase(sVar) REM returns "las vegas"</paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="15">Print UCase(sVar) REM returns "LAS VEGAS"</paragraph>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="16">end Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120311.xhp b/source/text/sbasic/shared/03120311.xhp
new file mode 100644
index 0000000000..367c2ed9d8
--- /dev/null
+++ b/source/text/sbasic/shared/03120311.xhp
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120311xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Trim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120311.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-01-03T15:50:32">converted from old format - fpe
+dedr: fixed #i30791#</lastedited>
+</history>
+</meta>
+<body>
+<section id="trim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Trim function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120311.xhp" name="Trim Function [Runtime]">Trim Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="2">Removes all leading and trailing spaces from a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="4">Trim( Text As String )</paragraph>
+<paragraph role="heading" id="hd_id3155388" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3145609" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148663" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSpaces</paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="12">Dim sText2 as String,sText as String,sOut as String</paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="13">sText2 = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="15">sOut = "'"+sText2 +"'"+ Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3151383" xml-lang="en-US" l10n="CHG" oldref="16">sText = Ltrim(sText2) REM sText = "&lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3151044" xml-lang="en-US" l10n="U" oldref="17">sOut = sOut + "'"+sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="CHG" oldref="18">sText = Rtrim(sText2) REM sText = " &lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="19">sOut = sOut +"'"+ sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="CHG" oldref="20">sText = Trim(sText2) REM sText = "&lt;*Las Vegas*&gt;"</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="21">sOut = sOut +"'"+ sText +"'"</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="22">MsgBox sOut</paragraph>
+<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120312.xhp b/source/text/sbasic/shared/03120312.xhp
new file mode 100644
index 0000000000..0c610ab041
--- /dev/null
+++ b/source/text/sbasic/shared/03120312.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120312xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ConvertToURL Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120312.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-11T13:46:36">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="converttourl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152801"><bookmark_value>ConvertToURL function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3152801" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120312.xhp" name="ConvertToURL Function [Runtime]">ConvertToURL Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US" l10n="U" oldref="2">Converts a system file name to a file URL.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="4">ConvertToURL(filename)</paragraph>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3148550" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Filename:</emph> A file name as string.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="10">systemFile$ = "c:\folder\mytext.txt"</paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="11">url$ = ConvertToURL( systemFile$ )</paragraph>
+<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="12">print url$</paragraph>
+<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US" l10n="U" oldref="13">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
+<paragraph role="paragraph" id="par_id3144762" xml-lang="en-US" l10n="U" oldref="14">print systemFileAgain$</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120313.xhp b/source/text/sbasic/shared/03120313.xhp
new file mode 100644
index 0000000000..dbf641cae3
--- /dev/null
+++ b/source/text/sbasic/shared/03120313.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120313xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ConvertFromURL Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120313.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-11T13:47:07">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="convertfromurl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153894"><bookmark_value>ConvertFromURL function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120313.xhp" name="ConvertFromURL Function [Runtime]">ConvertFromURL Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="2">Converts a file URL to a system file name.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3143267" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="4">ConvertFromURL(filename)</paragraph>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Filename:</emph> A file name as a string.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="10">systemFile$ = "c:\folder\mytext.txt"</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="11">url$ = ConvertToURL( systemFile$ )</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="12">print url$</paragraph>
+<paragraph role="paragraph" id="par_id3154367" xml-lang="en-US" l10n="U" oldref="13">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="14">print systemFileAgain$</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120314.xhp b/source/text/sbasic/shared/03120314.xhp
new file mode 100644
index 0000000000..fcd61b6598
--- /dev/null
+++ b/source/text/sbasic/shared/03120314.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120314xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Split Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120314.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-09-13T09:08:51">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="split">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Split function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120314.xhp" name="Split Function [Runtime]">Split Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US" l10n="U" oldref="2">Returns an array of substrings from a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149177" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153824" xml-lang="en-US" l10n="U" oldref="4">Split (Text As String, delimiter, number)</paragraph>
+<paragraph role="heading" id="hd_id3149763" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156023" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression.</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="CHG" oldref="9">
+<emph>delimiter (optional):</emph> A string of one or more characters length that is used to delimit the Text. The default is the space character.</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="12">
+<emph>number (optional):</emph> The number of substrings that you want to return.</paragraph>
+<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<section id="splitjoinex">
+<paragraph role="code" id="par_id3151212" xml-lang="en-US" l10n="U" oldref="11">Dim a(3)</paragraph>
+<paragraph role="code" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="13">Sub main()</paragraph>
+<paragraph role="code" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="14"> a(0) = "ABCDE"</paragraph>
+<paragraph role="code" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="15"> a(1) = 42</paragraph>
+<paragraph role="code" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="16"> a(2) = "MN"</paragraph>
+<paragraph role="code" id="par_id3153104" xml-lang="en-US" l10n="U" oldref="17"> a(3) = "X Y Z"</paragraph>
+<paragraph role="code" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="18"> JStr = Join1()</paragraph>
+<paragraph role="code" id="par_id3153367" xml-lang="en-US" l10n="U" oldref="19"> Call Show(JStr, Split1(JStr))</paragraph>
+<paragraph role="code" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="20"> JStr = Join2()</paragraph>
+<paragraph role="code" id="par_id3155856" xml-lang="en-US" l10n="U" oldref="21"> Call Show(JStr, Split1(JStr))</paragraph>
+<paragraph role="code" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="22"> JStr = Join3()</paragraph>
+<paragraph role="code" id="par_id3155413" xml-lang="en-US" l10n="U" oldref="23"> Call Show(JStr, Split1(JStr))</paragraph>
+<paragraph role="code" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="24">End Sub</paragraph>
+<paragraph role="code" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="25">Function Join1()</paragraph>
+<paragraph role="code" id="par_id3145748" xml-lang="en-US" l10n="U" oldref="26"> Join1 = Join(a(), "abc")</paragraph>
+<paragraph role="code" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="45">End Function</paragraph>
+<paragraph role="code" id="par_id3152462" xml-lang="en-US" l10n="U" oldref="27">Function Join2()</paragraph>
+<paragraph role="code" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="28"> Join2 = Join(a(), ",")</paragraph>
+<paragraph role="code" id="par_id3154790" xml-lang="en-US" l10n="U" oldref="29">End Function</paragraph>
+<paragraph role="code" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="30">Function Join3()</paragraph>
+<paragraph role="code" id="par_id3149377" xml-lang="en-US" l10n="U" oldref="31"> Join3 = Join(a())</paragraph>
+<paragraph role="code" id="par_id3150114" xml-lang="en-US" l10n="U" oldref="32">End Function</paragraph>
+<paragraph role="code" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="33">Function Split1(aStr)</paragraph>
+<paragraph role="code" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="34"> Split1 = Split(aStr, "D")</paragraph>
+<paragraph role="code" id="par_id3154512" xml-lang="en-US" l10n="U" oldref="35">End Function</paragraph>
+<paragraph role="code" id="par_id3149400" xml-lang="en-US" l10n="U" oldref="36">Sub Show(JoinStr, TheArray)</paragraph>
+<paragraph role="code" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="37"> l = LBound(TheArray)</paragraph>
+<paragraph role="code" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="38"> u = UBound(TheArray)</paragraph>
+<paragraph role="code" id="par_id3150752" xml-lang="en-US" l10n="U" oldref="39"> total$ = "=============================" + Chr$(13) + JoinStr + Chr$(13) + Chr$(13)</paragraph>
+<paragraph role="code" id="par_id3148916" xml-lang="en-US" l10n="U" oldref="40"> For i = l To u</paragraph>
+<paragraph role="code" id="par_id3154754" xml-lang="en-US" l10n="U" oldref="41"> total$ = total$ + TheArray(i) + Str(Len(TheArray(i))) + Chr$(13)</paragraph>
+<paragraph role="code" id="par_id3156054" xml-lang="en-US" l10n="U" oldref="42"> Next i</paragraph>
+<paragraph role="code" id="par_id3147338" xml-lang="en-US" l10n="U" oldref="43"> MsgBox total$</paragraph>
+<paragraph role="code" id="par_id3155960" xml-lang="en-US" l10n="U" oldref="44">End Sub</paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120315.xhp b/source/text/sbasic/shared/03120315.xhp
new file mode 100644
index 0000000000..35b8e37fa8
--- /dev/null
+++ b/source/text/sbasic/shared/03120315.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120315xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Join Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120315.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:05:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="join">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Join function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149416" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120315.xhp" name="Join Function [Runtime]">Join Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="2">Returns a string from a number of substrings in a string array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159414" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="4">Join (Text As String Array, delimiter)</paragraph>
+<paragraph role="heading" id="hd_id3150400" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3148798" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> A string array.</paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="9">
+<emph>delimiter (optional):</emph> A string character that is used to separate the substrings in the resulting string. The default delimiter is the space character. If delimiter is a string of length zero "", the substrings are joined without separator.</paragraph>
+<paragraph role="heading" id="hd_id3154218" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<embed href="text/sbasic/shared/03120314.xhp#splitjoinex"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120400.xhp b/source/text/sbasic/shared/03120400.xhp
new file mode 100644
index 0000000000..2149ad51b6
--- /dev/null
+++ b/source/text/sbasic/shared/03120400.xhp
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Editing String Length</title>
+<filename>/text/sbasic/shared/03120400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ermitteln">
+ <paragraph id="hd_id3155150" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120400.xhp" name="Editing String Length">Editing String Length</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="2">The following functions determine string lengths and compare strings.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120401.xhp#instr"/>
+ <embed href="text/sbasic/shared/03120402.xhp#len"/>
+ <embed href="text/sbasic/shared/03120403.xhp#strcomp"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120401.xhp b/source/text/sbasic/shared/03120401.xhp
new file mode 100644
index 0000000000..7595415613
--- /dev/null
+++ b/source/text/sbasic/shared/03120401.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120401xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">InStr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-19T09:08:27">converted from old format - fpe
+DEDR: Reviewed</lastedited>
+</history>
+</meta>
+<body>
+<section id="instr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155934"><bookmark_value>InStr function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155934" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120401.xhp" name="InStr Function [Runtime]">InStr Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153990" xml-lang="en-US" l10n="U" oldref="2">Returns the position of a string within another string.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147303" xml-lang="en-US" l10n="U" oldref="3">The Instr function returns the position at which the match was found. If the string was not found, the function returns 0.</paragraph>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="code" id="par_id3146957" xml-lang="en-US" l10n="U" oldref="5">InStr ([Start As Long,] Text1 As String, Text2 As String[, Compare])</paragraph>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149763" xml-lang="en-US" l10n="U" oldref="7">Integer</paragraph>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153126" xml-lang="en-US" l10n="CHG" oldref="9">
+<emph>Start: </emph>A numeric expression that marks the position in a string where the search for the specified substring starts. If you omit this parameter, the search starts at the first character of the string. The maximum allowed value is 65535.<comment>see i17928</comment></paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Text1:</emph> The string expression that you want to search.</paragraph>
+<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Text2:</emph> The string expression that you want to search for.</paragraph>
+<paragraph role="paragraph" id="par_id3154758" xml-lang="en-US" l10n="CHG" oldref="12">
+<emph>Compare:</emph> Optional numeric expression that defines the type of comparison. The value of this parameter can be 0 or 1. The default value of 1 specifies a text comparison that is not case-sensitive. The value of 0 specifies a binary comparison that is case-sensitive.<comment>fixes i17929</comment></paragraph>
+<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="U" oldref="13">To avoid a run-time error, do not set the Compare parameter if the first return parameter is omitted.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="14">Example:</paragraph>
+<paragraph role="code" id="par_id3154217" xml-lang="en-US" l10n="U" oldref="15">Sub ExamplePosition</paragraph>
+<paragraph role="code" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="16">Dim sInput As String</paragraph>
+<paragraph role="code" id="par_id3151042" xml-lang="en-US" l10n="U" oldref="17">Dim iPos as Integer</paragraph>
+<paragraph role="code" id="par_id3144760" xml-lang="en-US" l10n="CHG" oldref="19">sInput = "Office"</paragraph>
+<paragraph role="code" id="par_id3154125" xml-lang="en-US" l10n="CHG" oldref="20">iPos = Instr(sInput,"c")</paragraph>
+<paragraph role="code" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="21">print iPos</paragraph>
+<paragraph role="code" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120402.xhp b/source/text/sbasic/shared/03120402.xhp
new file mode 100644
index 0000000000..988ea73da9
--- /dev/null
+++ b/source/text/sbasic/shared/03120402.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120402xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Len Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:09:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="len">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154136"><bookmark_value>Len function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154136" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120402.xhp" name="Len Function [Runtime]">Len Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US" l10n="U" oldref="2">Returns the number of characters in a string, or the number of bytes that are required to store a variable.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159177" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">Len (Text As String)</paragraph>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<paragraph role="heading" id="hd_id3147531" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3147265" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression or a variable of another type.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3150792" xml-lang="en-US" localize="false">Sub ExampleLen</paragraph>
+<paragraph role="bascode" id="par_id3151211" xml-lang="en-US" localize="false">Dim sText as String</paragraph>
+<paragraph role="bascode" id="par_id3154125" xml-lang="en-US" localize="false"> sText = "Las Vegas"</paragraph>
+<paragraph role="bascode" id="par_id3156214" xml-lang="en-US" oldref="13"> MsgBox Len(sText) REM Returns 9</paragraph>
+<paragraph role="bascode" id="par_id3125864" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03120403.xhp b/source/text/sbasic/shared/03120403.xhp
new file mode 100644
index 0000000000..6b6a17acd5
--- /dev/null
+++ b/source/text/sbasic/shared/03120403.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120403xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">StrComp Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:33:33">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="strcomp">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>StrComp function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120403.xhp" name="StrComp Function [Runtime]">StrComp Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US" l10n="U" oldref="2">Compares two strings and returns an integer value that represents the result of the comparison.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="4">StrComp (Text1 As String, Text2 As String[, Compare])</paragraph>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text1:</emph> Any string expression</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Text2:</emph> Any string expression</paragraph>
+<paragraph role="paragraph" id="par_id3146796" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Compare:</emph> This optional parameter sets the comparison method. If Compare = 1, the string comparison is case-sensitive. If Compare = 0, no distinction is made between uppercase and lowercase letters.</paragraph>
+<paragraph role="heading" id="hd_id3154940" xml-lang="en-US" level="3" l10n="U" oldref="13">Return value</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3150358" xml-lang="en-US" l10n="U" oldref="27">If Text1 &lt; Text2 the function returns -1</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3151043" xml-lang="en-US" l10n="U" oldref="28">If Text1 = Text2 the function returns 0</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3158410" xml-lang="en-US" l10n="U" oldref="29">If Text1 &gt; Text2 the function returns 1</paragraph>
+</listitem>
+</list>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3153968" xml-lang="en-US" level="2" l10n="U" oldref="18">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="19">Sub ExampleStrComp</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="20">Dim iVar As Single</paragraph>
+<paragraph role="paragraph" id="par_id3148453" xml-lang="en-US" l10n="U" oldref="21">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3153369" xml-lang="en-US" l10n="U" oldref="22">iVar = 123.123</paragraph>
+<paragraph role="paragraph" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="23">sVar = Str$(iVar)</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="24">Msgbox strcomp(sVar , Str$(iVar),1)</paragraph>
+<paragraph role="paragraph" id="par_id3150487" xml-lang="en-US" l10n="U" oldref="25">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130000.xhp b/source/text/sbasic/shared/03130000.xhp
new file mode 100644
index 0000000000..d3dd1711e7
--- /dev/null
+++ b/source/text/sbasic/shared/03130000.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Other Commands</title>
+<filename>/text/sbasic/shared/03130000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-04-25T10:42:01">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="sonstige">
+<paragraph role="heading" id="hd_id3156027" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130000.xhp" name="Other Commands">Other Commands</link></paragraph>
+<paragraph role="paragraph" id="par_id3153312" xml-lang="en-US" l10n="U" oldref="2">This is a list of the functions and the statements that are not included in the other categories.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03130100.xhp#beep"/>
+<embed href="text/sbasic/shared/03130500.xhp#shell"/>
+<embed href="text/sbasic/shared/03130600.xhp#wait"/>
+<embed href="text/sbasic/shared/03130700.xhp#getsystemticks"/>
+<embed href="text/sbasic/shared/03130800.xhp#environ"/>
+<embed href="text/sbasic/shared/03131000.xhp#getsolarversion"/>
+<embed href="text/sbasic/shared/03132100.xhp#getguitype"/>
+<embed href="text/sbasic/shared/03131300.xhp#twipsperpixelx"/>
+<embed href="text/sbasic/shared/03131400.xhp#twipsperpixely"/>
+<embed href="text/sbasic/shared/03131500.xhp#createunostruct"/>
+<embed href="text/sbasic/shared/03131600.xhp#createunoservice"/>
+<embed href="text/sbasic/shared/03131700.xhp#getprocessservicemanager"/>
+<embed href="text/sbasic/shared/03131800.xhp#createunodialog"/>
+<embed href="text/sbasic/shared/03132000.xhp#createunolistener"/>
+<embed href="text/sbasic/shared/03132300.xhp#createunovalue"/>
+<embed href="text/sbasic/shared/03132400.xhp#createobject"/>
+<embed href="text/sbasic/shared/03132500.xhp#getdefaultcontext"/>
+<embed href="text/sbasic/shared/03132200.xhp#thiscomponent"/>
+<embed href="text/sbasic/shared/03131900.xhp#globalscope"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130100.xhp b/source/text/sbasic/shared/03130100.xhp
new file mode 100644
index 0000000000..ed8f29dd21
--- /dev/null
+++ b/source/text/sbasic/shared/03130100.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Beep Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03130100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T09:47:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="beep">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143284"><bookmark_value>Beep statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3143284" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130100.xhp" name="Beep Statement [Runtime]">Beep Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3159201" xml-lang="en-US" l10n="U" oldref="2">Plays a tone through the computer's speaker. The tone is system-dependent and you cannot modify its volume or pitch.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153990" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147291" xml-lang="en-US" l10n="U" oldref="4">Beep</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3149762" xml-lang="en-US" localize="false">Sub ExampleBeep</paragraph>
+<paragraph role="bascode" id="par_id3154285" xml-lang="en-US" localize="false"> Beep</paragraph>
+<paragraph role="bascode" id="par_id3143270" xml-lang="en-US" localize="false"> Beep</paragraph>
+<paragraph role="bascode" id="par_id3154142" xml-lang="en-US" localize="false"> Beep</paragraph>
+<paragraph role="bascode" id="par_id3148943" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130500.xhp b/source/text/sbasic/shared/03130500.xhp
new file mode 100644
index 0000000000..82ac7a14f9
--- /dev/null
+++ b/source/text/sbasic/shared/03130500.xhp
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Shell Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:25:04">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="shell">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>Shell function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130500.xhp" name="Shell Function [Runtime]">Shell Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Starts another application and defines the respective window style, if necessary.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3147576" xml-lang="en-US" l10n="U" oldref="5">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) </paragraph>
+<paragraph role="heading" id="hd_id3149235" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameter</paragraph>
+<paragraph role="heading" id="hd_id3154306" xml-lang="en-US" level="3" l10n="U" oldref="23">Pathname</paragraph>
+<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="7">Complete path and program name of the program that you want to start.</paragraph>
+<paragraph role="heading" id="hd_id3150771" xml-lang="en-US" level="3" l10n="U" oldref="24">Windowstyle</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="8">Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible:</paragraph>
+<table id="tbl_id3156343">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="25">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="10">The focus is on the hidden program window.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="26">1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="11">The focus is on the program window in standard size.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="27">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148451" xml-lang="en-US" l10n="U" oldref="12">The focus is on the minimized program window.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="28">3</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146921" xml-lang="en-US" l10n="U" oldref="13">focus is on the maximized program window.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149481" xml-lang="en-US" l10n="U" oldref="29">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="14">Standard size program window, without focus.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="30">6</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152938" xml-lang="en-US" l10n="U" oldref="15">Minimized program window, focus remains on the active window.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="31">10</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="16">Full-screen display.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3150419" xml-lang="en-US" level="3" l10n="U" oldref="33">Param</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="17">Any string expression that specifies the command line that want to pass.</paragraph>
+<paragraph role="heading" id="hd_id3148456" xml-lang="en-US" level="3" l10n="U" oldref="32">bSync</paragraph>
+<paragraph role="paragraph" id="par_id3154096" xml-lang="en-US" l10n="U" oldref="18">If this value is set to <emph>true</emph>, the <emph>Shell</emph> command and all $[officename] tasks wait until the shell process completes. If the value is set to <emph>false</emph>, the shell returns directly. The default value is <emph>false</emph>.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err53"/>
+<embed href="text/sbasic/shared/00000003.xhp#err73"/>
+<paragraph role="heading" id="hd_id3154270" xml-lang="en-US" level="2" l10n="U" oldref="19">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="20">Sub ExampleShellForWin</paragraph>
+<paragraph role="paragraph" id="par_id3154479" xml-lang="en-US" l10n="U" oldref="21"> Shell("c:\windows\calc.exe",2)</paragraph>
+<paragraph role="paragraph" id="par_id3153709" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130600.xhp b/source/text/sbasic/shared/03130600.xhp
new file mode 100644
index 0000000000..66dd9b73f0
--- /dev/null
+++ b/source/text/sbasic/shared/03130600.xhp
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Wait Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03130600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:54:49">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="wait">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154136"><bookmark_value>Wait statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154136" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130600.xhp" name="Wait Statement [Runtime]">Wait Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149236" xml-lang="en-US" l10n="U" oldref="2">Interrupts the program execution for the amount of time that you specify in milliseconds.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3143229" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="4">Wait millisec</paragraph>
+<paragraph role="heading" id="hd_id3148943" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="6">
+<emph>millisec:</emph> Numeric expression that contains the amount of time (in milliseconds) to wait before the program is executed.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150541" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3154138" xml-lang="en-US" localize="false">Sub ExampleWait</paragraph>
+<paragraph role="bascode" id="par_id3154367" xml-lang="en-US" localize="false">Dim lTick As Long</paragraph>
+<paragraph role="bascode" id="par_id3154909" xml-lang="en-US" localize="false"> lTick = GetSystemTicks()</paragraph>
+<paragraph role="bascode" id="par_id3151042" xml-lang="en-US" localize="false"> Wait 2000</paragraph>
+<paragraph role="bascode" id="par_id3154217" xml-lang="en-US" localize="false"> lTick = (GetSystemTicks() - lTick)</paragraph>
+<paragraph role="bascode" id="par_id3156214" xml-lang="en-US" oldref="13"> MsgBox "" &amp; lTick &amp; " Ticks" ,0,"The pause lasted"</paragraph>
+<paragraph role="bascode" id="par_id3148922" xml-lang="en-US" localize="false">End Sub</paragraph>
+</bascode>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130700.xhp b/source/text/sbasic/shared/03130700.xhp
new file mode 100644
index 0000000000..da0b5f6cc7
--- /dev/null
+++ b/source/text/sbasic/shared/03130700.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GetSystemTicks Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:27:56">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="getsystemticks">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147143"><bookmark_value>GetSystemTicks function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147143" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130700.xhp" name="GetSystemTicks Function [Runtime]">GetSystemTicks Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153750" xml-lang="en-US" l10n="U" oldref="2">Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3147242" xml-lang="en-US" l10n="U" oldref="4">GetSystemTicks()</paragraph>
+<paragraph role="heading" id="hd_id3149233" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3149762" xml-lang="en-US" l10n="U" oldref="6">Long</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3156152" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148943" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleWait</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="9">Dim lTick As Long</paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="10">lTick = GetSystemTicks()</paragraph>
+<paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="11">wait 2000</paragraph>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="12">lTick = (GetSystemTicks() - lTick)</paragraph>
+<paragraph role="paragraph" id="par_id3154938" xml-lang="en-US" l10n="U" oldref="13">MsgBox "" &amp; lTick &amp; " Ticks" ,0,"The pause lasted"</paragraph>
+<paragraph role="paragraph" id="par_id3150542" xml-lang="en-US" l10n="U" oldref="14">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03130800.xhp b/source/text/sbasic/shared/03130800.xhp
new file mode 100644
index 0000000000..d0590c2309
--- /dev/null
+++ b/source/text/sbasic/shared/03130800.xhp
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130800xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Environ Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-11T13:58:25">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="environ">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155364"><bookmark_value>Environ function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155364" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03130800.xhp" name="Environ Function [Runtime]">Environ Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145090" xml-lang="en-US" l10n="U" oldref="2">Returns the value of an environment variable as a string. Environment variables are dependent on the type of operating system that you have.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150670" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="code" id="par_id3159176" xml-lang="en-US" l10n="U" oldref="5">Environ (Environment As String)</paragraph>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="6">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="7">String</paragraph>
+<paragraph role="heading" id="hd_id3145609" xml-lang="en-US" level="2" l10n="U" oldref="8">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="9">Environment: Environment variable that you want to return the value for.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148663" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="code" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleEnviron</paragraph>
+<paragraph role="code" id="par_id3154940" xml-lang="en-US" l10n="U" oldref="12">Dim sTemp As String</paragraph>
+<paragraph role="code" id="par_id3148920" xml-lang="en-US" l10n="U" oldref="13">sTemp=Environ ("TEMP")</paragraph>
+<paragraph role="code" id="par_id3150869" xml-lang="en-US" l10n="U" oldref="14">If sTemp = "" Then sTemp=Environ("TMP")</paragraph>
+<paragraph role="code" id="par_id3145419" xml-lang="en-US" l10n="U" oldref="15">MsgBox "'" &amp; sTemp &amp; "'" ,64,"Directory of temporary files:"</paragraph>
+<paragraph role="code" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="16">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131000.xhp b/source/text/sbasic/shared/03131000.xhp
new file mode 100644
index 0000000000..286021e969
--- /dev/null
+++ b/source/text/sbasic/shared/03131000.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GetSolarVersion Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:27:20">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="getsolarversion">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157898"><bookmark_value>GetSolarVersion function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3157898" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131000.xhp" name="GetSolarVersion Function [Runtime]">GetSolarVersion Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3152801" xml-lang="en-US" l10n="U" oldref="2">Returns the internal number of the current $[officename] version.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153311" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155388" xml-lang="en-US" l10n="U" oldref="4">s = GetSolarVersion</paragraph>
+<paragraph role="heading" id="hd_id3149514" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3148685" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleGetSolarVersion</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US" l10n="U" oldref="9">Dim sSep As String</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="10">sSep = GetSolarVersion</paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="11">MsgBox sSep,64,"Version number of the solar technology"</paragraph>
+<paragraph role="paragraph" id="par_id3156344" xml-lang="en-US" l10n="U" oldref="12">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131300.xhp b/source/text/sbasic/shared/03131300.xhp
new file mode 100644
index 0000000000..01d730012d
--- /dev/null
+++ b/source/text/sbasic/shared/03131300.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">TwipsPerPixelX Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:42:40">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="twipsperpixelx">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153539"><bookmark_value>TwipsPerPixelX function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153539" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131300.xhp" name="TwipsPerPixelX Function [Runtime]">TwipsPerPixelX Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Returns the number of twips that represent the width of a pixel.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153527" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US" l10n="U" oldref="4">n = TwipsPerPixelX</paragraph>
+<paragraph role="heading" id="hd_id3150669" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3159176" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="8">Sub ExamplePixelTwips</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US" l10n="U" oldref="9">MsgBox "" &amp; TwipsPerPixelX() &amp; " Twips * " &amp; TwipsPerPixelY() &amp; " Twips",0,"Pixel size"</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="10">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131400.xhp b/source/text/sbasic/shared/03131400.xhp
new file mode 100644
index 0000000000..35d90c75b6
--- /dev/null
+++ b/source/text/sbasic/shared/03131400.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">TwipsPerPixelY Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T14:43:09">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="twipsperpixely">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>TwipsPerPixelY function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131400.xhp" name="TwipsPerPixelY Function [Runtime]">TwipsPerPixelY Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154186" xml-lang="en-US" l10n="U" oldref="2">Returns the number of twips that represent the height of a pixel.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US" l10n="U" oldref="4">n = TwipsPerPixelY</paragraph>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154306" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3149235" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150503" xml-lang="en-US" l10n="U" oldref="8">Sub ExamplePixelTwips</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="9">MsgBox "" &amp; TwipsPerPixelX() &amp; " Twips * " &amp; TwipsPerPixelY() &amp; " Twips",0,"Pixel size"</paragraph>
+<paragraph role="paragraph" id="par_id3148944" xml-lang="en-US" l10n="U" oldref="10">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131500.xhp b/source/text/sbasic/shared/03131500.xhp
new file mode 100644
index 0000000000..a20e071e64
--- /dev/null
+++ b/source/text/sbasic/shared/03131500.xhp
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoStruct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-10-27T14:33:13">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunostruct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>CreateUnoStruct function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150499" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131500.xhp" name="CreateUnoStruct Function [Runtime]">CreateUnoStruct Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150713" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".">Creates an instance of a Uno structure type.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="3">Use the following structure for your statement:</paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="4">Dim oStruct as new com.sun.star.beans.Property</paragraph>
+<paragraph role="heading" id="hd_id3156153" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="6">oStruct = CreateUnoStruct( Uno type name )</paragraph>
+<paragraph role="heading" id="hd_id3145316" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3149762" xml-lang="en-US" l10n="U" oldref="8">oStruct = CreateUnoStruct( "com.sun.star.beans.Property" )</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131600.xhp b/source/text/sbasic/shared/03131600.xhp
new file mode 100644
index 0000000000..31bac2e975
--- /dev/null
+++ b/source/text/sbasic/shared/03131600.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoService Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:12:07">UFI: added example and link, #i27908#
+dedr: reviewed</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunoservice">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>CreateUnoService function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131600.xhp" name="CreateUnoService Function [Runtime]">CreateUnoService Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3152924" xml-lang="en-US" l10n="U" oldref="2">Instantiates a Uno service with the ProcessServiceManager.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3152801" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153346" xml-lang="en-US" l10n="U" oldref="4">oService = CreateUnoService( Uno service name )</paragraph>
+<paragraph role="paragraph" id="par_idN1060F" xml-lang="en-US" l10n="NEW">For a list of available services, go to: http://api.libreoffice.org/docs/common/ref/com/sun/star/module-ix.html</paragraph>
+<paragraph role="heading" id="hd_id3151111" xml-lang="en-US" level="2" l10n="U" oldref="5">Examples:</paragraph>
+<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US" l10n="U" oldref="6">oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id8334604"><bookmark_value>filepicker;API service</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_idN10625" xml-lang="en-US" l10n="NEW">The following code uses a service to open a file open dialog:</paragraph>
+<paragraph role="code" id="par_idN10628" xml-lang="en-US" l10n="NEW">Sub Main</paragraph>
+<paragraph role="code" id="par_idN1062B" xml-lang="en-US" l10n="NEW">fName = FileOpenDialog ("Please select a file")</paragraph>
+<paragraph role="code" id="par_idN10630" xml-lang="en-US" l10n="NEW">print "file chosen: "+fName</paragraph>
+<paragraph role="code" id="par_idN10635" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+<paragraph role="code" id="par_idN1063A" xml-lang="en-US" l10n="NEW">function FileOpenDialog(title as String) as String</paragraph>
+<paragraph role="code" id="par_idN1063D" xml-lang="en-US" l10n="NEW">filepicker = createUnoService("com.sun.star.ui.dialogs.FilePicker")</paragraph>
+<paragraph role="code" id="par_idN10642" xml-lang="en-US" l10n="NEW">filepicker.Title = title</paragraph>
+<paragraph role="code" id="par_idN10647" xml-lang="en-US" l10n="NEW">filepicker.execute()</paragraph>
+<paragraph role="code" id="par_idN1064C" xml-lang="en-US" l10n="NEW">files = filepicker.getFiles()</paragraph>
+<paragraph role="code" id="par_idN10651" xml-lang="en-US" l10n="NEW">FileOpenDialog=files(0)</paragraph>
+<paragraph role="code" id="par_idN10656" xml-lang="en-US" l10n="NEW">End function</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131700.xhp b/source/text/sbasic/shared/03131700.xhp
new file mode 100644
index 0000000000..e01f900ecb
--- /dev/null
+++ b/source/text/sbasic/shared/03131700.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GetProcessServiceManager Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:57:34">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="getprocessservicemanager">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153255"><bookmark_value>GetProcessServiceManager function</bookmark_value>
+<bookmark_value>ProcessServiceManager</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153255" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131700.xhp" name="GetProcessServiceManager Function [Runtime]">GetProcessServiceManager Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156414" xml-lang="en-US" l10n="U" oldref="2">Returns the ProcessServiceManager (central Uno ServiceManager).</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="3">This function is required when you want to instantiate a service using CreateInstanceWithArguments.</paragraph>
+<paragraph role="heading" id="hd_id3153681" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US" l10n="U" oldref="5">oServiceManager = GetProcessServiceManager()</paragraph>
+<paragraph role="heading" id="hd_id3149516" xml-lang="en-US" level="2" l10n="U" oldref="6">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US" l10n="U" oldref="7">oServiceManager = GetProcessServiceManager()</paragraph>
+<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US" l10n="U" oldref="8">oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="9">this is the same as the following statement:</paragraph>
+<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US" l10n="U" oldref="10">oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131800.xhp b/source/text/sbasic/shared/03131800.xhp
new file mode 100644
index 0000000000..86f5893aeb
--- /dev/null
+++ b/source/text/sbasic/shared/03131800.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131800xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoDialog Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:10:37">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunodialog">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>CreateUnoDialog function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150040" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131800.xhp" name="CreateUnoDialog Function [Runtime]">CreateUnoDialog Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154186" xml-lang="en-US" l10n="U" oldref="2">Creates a Basic Uno object that represents a Uno dialog control during Basic runtime.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153750" xml-lang="en-US" l10n="U" oldref="3">Dialogs are defined in the dialog libraries. To display a dialog, a "live" dialog must be created from the library.</paragraph>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US" l10n="U" oldref="4">See <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+<paragraph role="heading" id="hd_id3154286" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3159176" xml-lang="en-US" l10n="U" oldref="6">CreateUnoDialog( oDlgDesc )</paragraph>
+<paragraph role="heading" id="hd_id3143270" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="8">' Get dialog description from the dialog library</paragraph>
+<paragraph role="paragraph" id="par_id3149234" xml-lang="en-US" l10n="U" oldref="9">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US" l10n="U" oldref="10">' generate "live" dialog</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="11">oDlgControl = CreateUnoDialog( oDlgDesc )</paragraph>
+<paragraph role="paragraph" id="par_id3148550" xml-lang="en-US" l10n="U" oldref="12">' display "live" dialog</paragraph>
+<paragraph role="paragraph" id="par_id3154072" xml-lang="en-US" l10n="U" oldref="13">oDlgControl.execute</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03131900.xhp b/source/text/sbasic/shared/03131900.xhp
new file mode 100644
index 0000000000..64acd20e27
--- /dev/null
+++ b/source/text/sbasic/shared/03131900.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131900xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GlobalScope [Runtime]</title>
+<filename>/text/sbasic/shared/03131900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T13:25:21">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="globalscope">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>GlobalScope function</bookmark_value>
+<bookmark_value>library systems</bookmark_value>
+<bookmark_value>LibraryContainer</bookmark_value>
+<bookmark_value>BasicLibraries (LibraryContainer)</bookmark_value>
+<bookmark_value>DialogLibraries (LibraryContainer)</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131900.xhp" name="GlobalScope [Runtime]">GlobalScope [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US" l10n="U" oldref="2">Basic source code and dialogs are organized in a library system.</paragraph>
+</section>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3145315" xml-lang="en-US" l10n="U" oldref="3">The LibraryContainer contains libraries</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">Libraries can contain modules and dialogs</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3143271" xml-lang="en-US" level="2" l10n="U" oldref="5">In Basic:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3153061" xml-lang="en-US" l10n="U" oldref="6">The LibraryContainer is called <emph>BasicLibraries</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2" l10n="U" oldref="7">In dialogs:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3148663" xml-lang="en-US" l10n="U" oldref="8">The LibraryContainer is called <emph>DialogLibraries</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US" l10n="U" oldref="9">Both LibraryContainers exist in an application level and within every document. In the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword <emph>GlobalScope</emph>.</paragraph>
+<paragraph role="heading" id="hd_id3148920" xml-lang="en-US" level="2" l10n="U" oldref="10">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149203" xml-lang="en-US" l10n="U" oldref="11">GlobalScope</paragraph>
+<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="13">Example in the document Basic</paragraph>
+<paragraph role="paragraph" id="par_id3158408" xml-lang="en-US" l10n="U" oldref="14">' calling Dialog1 in the document library Standard</paragraph>
+<paragraph role="paragraph" id="par_id3125865" xml-lang="en-US" l10n="U" oldref="15">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+<paragraph role="paragraph" id="par_id3154910" xml-lang="en-US" l10n="U" oldref="16">' calling Dialog2 in the application library Library1</paragraph>
+<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="17">oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132000.xhp b/source/text/sbasic/shared/03132000.xhp
new file mode 100644
index 0000000000..edaaa28088
--- /dev/null
+++ b/source/text/sbasic/shared/03132000.xhp
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoListener Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T11:11:10">converted from old format - fpe
+dedr: fixed #i31078#</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunolistener">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155150"><bookmark_value>CreateUnoListener function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155150" xml-lang="en-US" level="1" l10n="U" oldref="53"><link href="text/sbasic/shared/03132000.xhp" name="CreateUnoListener Function [Runtime]">CreateUnoListener Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="52">Creates a Listener instance.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US" l10n="U" oldref="51">Many Uno interfaces let you register listeners on a special listener interface. This allows you to listen for specific events and call up the appropriate listener method. The CreateUnoListener function waits for the called listener interface and then passes the interface an object that the interface supports. This object is then passed to the method to register the listener.</paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2" l10n="U" oldref="50">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="49">oListener = CreateUnoListener( Prefixname, ListenerInterfaceName )</paragraph>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="48">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US" l10n="U" oldref="47">The following example is based on a Basic library object.</paragraph>
+<paragraph role="paragraph" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="46">Dim oListener</paragraph>
+<paragraph role="paragraph" id="par_id3148944" xml-lang="en-US" l10n="U" oldref="45">oListener = CreateUnoListener( "ContListener_","com.sun.star.container.XContainerListener" )</paragraph>
+<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="U" oldref="44">The CreateUnoListener method requires two parameters. The first is a prefix and is explained in detail below. The second parameter is the fully qualified name of the Listener interface that you want to use.</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="43">The Listener must then be added to the Broadcaster Object. This is done by calling the appropriate method for adding a Listener. These methods always follow the pattern "addFooListener", where "Foo" is the Listener Interface Type, without the 'X'. In this example, the addContainerListener method is called to register the XContainerListener:</paragraph>
+<paragraph role="paragraph" id="par_id3154164" xml-lang="en-US" l10n="U" oldref="42">Dim oLib</paragraph>
+<paragraph role="paragraph" id="par_id3154940" xml-lang="en-US" l10n="U" oldref="41">oLib = BasicLibraries.Library1 ' Library1 must exist!</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="40">oLib.addContainerListener( oListener ) ' Register the listener</paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="39">The Listener is now registered. When an event occurs, the corresponding Listener calls the appropriate method from the com.sun.star.container.XContainerListener Interface.</paragraph>
+<paragraph role="paragraph" id="par_id3148922" xml-lang="en-US" l10n="U" oldref="38">The prefix calls registered Listeners from Basic-subroutines. The Basic run-time system searches for Basic-subroutines or functions that have the name "PrefixListenerMethode" and calls them when found. Otherwise, a run-time error occurs.</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="37">In this example, the Listener-Interface uses the following methods:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3151176" xml-lang="en-US" l10n="U" oldref="36">disposing:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="35">Listener base interface (com.sun.star.lang.XEventListener): base interface for all Listener Interfaces</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="34">elementInserted:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="33">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="32">elementRemoved:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="31">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="30">elementReplaced:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="29">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="28">In this example, the prefix is ContListener_. The following subroutines must therefore be implemented in Basic:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="27">ContListener_disposing</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146923" xml-lang="en-US" l10n="U" oldref="26">ContListener_elementInserted</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="25">ContListener_elementRemoved</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="24">ContListener_elementReplaced</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3150592" xml-lang="en-US" l10n="U" oldref="23">An event structure type that contains information about an event exists for every Listener type. When a Listener method is called, an instance of this event is passed to the method as a parameter. Basic Listener methods can also call these event objects, so long as the appropriate parameter is passed in the Sub declaration. For example:</paragraph>
+<paragraph role="paragraph" id="par_id3149582" xml-lang="en-US" l10n="U" oldref="22">Sub ContListener_disposing( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="21">MsgBox "disposing"</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="20">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3156285" xml-lang="en-US" l10n="U" oldref="18">Sub ContListener_elementInserted( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3154098" xml-lang="en-US" l10n="U" oldref="17">MsgBox "elementInserted"</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="16">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="15">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3154272" xml-lang="en-US" l10n="U" oldref="14">Sub ContListener_elementRemoved( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3153947" xml-lang="en-US" l10n="U" oldref="13">MsgBox "elementRemoved"</paragraph>
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="12">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="11">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3145642" xml-lang="en-US" l10n="U" oldref="10">Sub ContListener_elementReplaced( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3148915" xml-lang="en-US" l10n="U" oldref="9">MsgBox "elementReplaced"</paragraph>
+<paragraph role="paragraph" id="par_id3148995" xml-lang="en-US" l10n="U" oldref="8">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3148407" xml-lang="en-US" l10n="U" oldref="7">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3156056" xml-lang="en-US" l10n="U" oldref="6">You do not need to include the parameter of an event object if the object is not used:</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="5">' Minimal implementation of Sub disposing</paragraph>
+<paragraph role="paragraph" id="par_id3151249" xml-lang="en-US" l10n="U" oldref="4">Sub ContListener_disposing</paragraph>
+<paragraph role="paragraph" id="par_id3155333" xml-lang="en-US" l10n="U" oldref="3">End Sub</paragraph>
+<paragraph role="warning" id="par_id3150940" xml-lang="en-US" l10n="U" oldref="2">Listener methods must <emph>always</emph> be implemented to avoid Basic run-time errors.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132100.xhp b/source/text/sbasic/shared/03132100.xhp
new file mode 100644
index 0000000000..e5c892d2f2
--- /dev/null
+++ b/source/text/sbasic/shared/03132100.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textsbasicshared03132100xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">GetGuiType Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03132100.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="getguitype">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147143"><bookmark_value>GetGuiType function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3155310" role="heading" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03132100.xhp" name="GetGuiType Function [Runtime]">GetGuiType Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152459" role="paragraph" l10n="U" oldref="2">Returns a numerical value that specifies the graphical user interface.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="par_id3153323" role="paragraph" l10n="U" oldref="3">This runtime function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154894" role="heading" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147143" role="paragraph" l10n="U" oldref="5">GetGUIType()</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149346" role="heading" level="2" l10n="U" oldref="6">Return value:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153748" role="paragraph" l10n="U" oldref="7">Integer</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149177" role="heading" level="2" l10n="U" oldref="8">Return values:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147242" role="paragraph" l10n="U" oldref="9">1: Windows</paragraph><comment>removed 3: Mac OS, see i95717</comment>
+<paragraph xml-lang="en-US" id="par_id3156152" role="paragraph" l10n="U" oldref="11">4: UNIX</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148685" role="heading" level="2" l10n="U"
+ oldref="12">Example:</paragraph>
+<bascode>
+ <paragraph xml-lang="en-US" id="par_id3149233" role="bascode" localize="false">Sub ExampleEnvironment</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145609" role="bascode" localize="false"> MsgBox GetGUIType</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145069" role="bascode" localize="false">End Sub</paragraph>
+</bascode>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132200.xhp b/source/text/sbasic/shared/03132200.xhp
new file mode 100644
index 0000000000..319a976e58
--- /dev/null
+++ b/source/text/sbasic/shared/03132200.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ThisComponent Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03132200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2007-01-31T10:50:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="thiscomponent">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155342"><bookmark_value>ThisComponent property</bookmark_value>
+<bookmark_value>components;addressing</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155342" xml-lang="en-US" level="1" l10n="CHG" oldref="1"><link href="text/sbasic/shared/03132200.xhp" name="ThisComponent [Runtime]">ThisComponent [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US" l10n="CHG" oldref="2">Addresses the active component so that its properties can be read and set. ThisComponent is used from document Basic, where it represents the document the Basic belongs to. The type of object accessed by ThisComponent depends on the document type.<comment>see i60932</comment></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3151056" xml-lang="en-US" l10n="U" oldref="4">ThisComponent</paragraph>
+<paragraph role="heading" id="hd_id3154940" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151211" xml-lang="en-US" l10n="U" oldref="6">Sub Main</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="7"> REM updates the "Table of Contents" in a text doc</paragraph>
+<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="8"> Dim allindexes, index As Object</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="9"> allindexes = ThisComponent.getDocumentIndexes()</paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="10"> index = allindexes.getByName("Table of Contents1")</paragraph>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="11"> REM use the default name for Table of Contents and a 1</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="12"> index.update()</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="13">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132300.xhp b/source/text/sbasic/shared/03132300.xhp
new file mode 100644
index 0000000000..51c0e87e93
--- /dev/null
+++ b/source/text/sbasic/shared/03132300.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-11-21T16:27:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunovalue">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>CreateUnoValue function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03132300.xhp" name="CreateUnoValue Function [Runtime]">CreateUnoValue Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3147291" xml-lang="en-US" l10n="U" oldref="2">Returns an object that represents a strictly typed value referring to the Uno type system. </paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3143267" xml-lang="en-US" l10n="U" oldref="3">This object is automatically converted to an Any of the corresponding type when passed to Uno. The type must be specified by its fully qualified Uno type name.</paragraph>
+<paragraph role="note" id="par_id3153626" xml-lang="en-US" l10n="U" oldref="4">The $[officename] API frequently uses the Any type. It is the counterpart of the Variant type known from other environments. The Any type holds one arbitrary Uno type and is used in generic Uno interfaces.</paragraph>
+<paragraph role="heading" id="hd_id3147560" xml-lang="en-US" level="2" l10n="U" oldref="5">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="6">oUnoValue = CreateUnoValue( "[]byte", MyBasicValue ) to get a byte sequence.</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="7">If CreateUnoValue cannot be converted to the specified Uno type, and error occurs. For the conversion, the TypeConverter service is used.</paragraph>
+<paragraph role="paragraph" id="par_id3153524" xml-lang="en-US" l10n="U" oldref="8">This function is intended for use in situations where the default Basic to Uno type converting mechanism is insufficient. This can happen when you try to access generic Any based interfaces, such as XPropertySet::setPropertyValue( Name, Value ) or X???Container::insertBy???( ???, Value ), from $[officename] Basic. The Basic runtime does not recognize these types as they are only defined in the corresponding service.</paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="9">In this type of situation, $[officename] Basic chooses the best matching type for the Basic type that you want to convert. However, if the wrong type is selected, an error occurs. You use the CreateUnoValue() function to create a value for the unknown Uno type.</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="10">You can also use this function to pass non-Any values, but this is not recommend. If Basic already knows the target type, using the CreateUnoValue() function will only lead to additional converting operations that slow down the Basic execution.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132400.xhp b/source/text/sbasic/shared/03132400.xhp
new file mode 100644
index 0000000000..c60501d2f8
--- /dev/null
+++ b/source/text/sbasic/shared/03132400.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132400xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132400.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="createobject">
+<bookmark xml-lang="en-US" branch="index" id="bm_id659810"><bookmark_value>CreateObject function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10580" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03132400.xhp">CreateObject Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US" l10n="CHG"><ahelp hid=".">Creates a UNO object. On Windows, can also create OLE objects.</ahelp><comment>see i70942</comment></paragraph>
+<paragraph role="paragraph" id="par_idN1059F" xml-lang="en-US" l10n="NEW">This method creates instances of the type that is passed as parameter.</paragraph>
+</section>
+<paragraph role="heading" id="par_idN105A2" xml-lang="en-US" level="2" l10n="NEW">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_idN105A6" xml-lang="en-US" l10n="NEW">oObj = CreateObject( type )</paragraph>
+<paragraph role="heading" id="par_idN105A9" xml-lang="en-US" level="2" l10n="NEW">Example:</paragraph>
+<paragraph role="code" id="par_idN105AD" xml-lang="en-US" l10n="NEW">Type address</paragraph>
+<paragraph role="code" id="par_idN105B0" xml-lang="en-US" l10n="NEW">Name1 as String</paragraph>
+<paragraph role="code" id="par_idN105B4" xml-lang="en-US" l10n="NEW">City as String</paragraph>
+<paragraph role="code" id="par_idN105B8" xml-lang="en-US" l10n="NEW">End Type</paragraph>
+<paragraph role="code" id="par_idN105BB" xml-lang="en-US" l10n="NEW">Sub main</paragraph>
+<paragraph role="code" id="par_idN105BE" xml-lang="en-US" l10n="NEW">myaddress = CreateObject("address")</paragraph>
+<paragraph role="code" id="par_idN105C2" xml-lang="en-US" l10n="NEW">MsgBox IsObject(myaddress)</paragraph>
+<paragraph role="code" id="par_idN105C6" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/03132500.xhp b/source/text/sbasic/shared/03132500.xhp
new file mode 100644
index 0000000000..03cfae4992
--- /dev/null
+++ b/source/text/sbasic/shared/03132500.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132500xhp" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">GetDefaultContext Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132500.xhp</filename>
+</topic>
+<history>
+<created date="2005-02-11T11:16:25">GetDefaultContext function</created>
+<lastedited date="2007-03-20T10:36:14"/>
+</history>
+</meta>
+<body>
+<section id="getdefaultcontext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id4761192"><bookmark_value>GetDefaultContext function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10580" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03132500.xhp">GetDefaultContext Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US" l10n="NEW">Returns the default context of the process service factory, if existent, else returns a null reference. </paragraph>
+</section>
+<paragraph role="paragraph" id="par_idN10593" xml-lang="en-US" l10n="NEW">This runtime function returns the default component context to be used, if instantiating services via XmultiServiceFactory. See the <item type="literal">Professional UNO</item> chapter in the <item type="literal">Developer's Guide</item> on <link href="http://api.libreoffice.org">api.libreoffice.org</link> for more information.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/05060700.xhp b/source/text/sbasic/shared/05060700.xhp
new file mode 100644
index 0000000000..38d3d7f976
--- /dev/null
+++ b/source/text/sbasic/shared/05060700.xhp
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared05060700xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Macro</title>
+<filename>/text/sbasic/shared/05060700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-24T10:51:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="makro">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153894"><bookmark_value>events;linked to objects</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/05060700.xhp" name="Macro">Macro</link></paragraph>
+<paragraph role="paragraph" id="par_id3153748" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".">Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected.</ahelp> Depending on the object that is selected, the function is either found on the <emph>Macro</emph> tab of the <emph>Object</emph> dialog, or in the <emph>Assign Macro</emph> dialog.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150503" xml-lang="en-US" level="2" l10n="U" oldref="3">Event</paragraph>
+<paragraph role="paragraph" id="par_id3149763" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="HID_MACRO_LB_EVENT">Lists the events that are relevant to the macros that are currently assigned to the selected object.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3150670" xml-lang="en-US" l10n="U" oldref="23">The following table describes the macros and the events that can by linked to objects in your document:</paragraph>
+<table id="tbl_id3148944">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153360" xml-lang="en-US" l10n="U" oldref="24">Event</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="25">Event trigger</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="26">OLE object</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148451" xml-lang="en-US" l10n="U" oldref="27">Graphics</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3125863" xml-lang="en-US" l10n="U" oldref="28">Frame</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154216" xml-lang="en-US" l10n="U" oldref="29">AutoText</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="30">ImageMap area</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153138" xml-lang="en-US" l10n="U" oldref="31">Hyperlink</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="32">Click object</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="33">Object is selected.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="34">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="35">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="36">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150116" xml-lang="en-US" l10n="U" oldref="37">Mouse over object</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145253" xml-lang="en-US" l10n="U" oldref="38">Mouse moves over the object.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3144765" xml-lang="en-US" l10n="U" oldref="39">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153418" xml-lang="en-US" l10n="U" oldref="40">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="41">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145652" xml-lang="en-US" l10n="U" oldref="42">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="43">x</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155446" xml-lang="en-US" l10n="U" oldref="44">Trigger Hyperlink</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="45">Hyperlink assigned to the object is clicked.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="46">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151252" xml-lang="en-US" l10n="U" oldref="47">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147344" xml-lang="en-US" l10n="U" oldref="48">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146920" xml-lang="en-US" l10n="U" oldref="49">x</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159333" xml-lang="en-US" l10n="U" oldref="50">Mouse leaves object </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147003" xml-lang="en-US" l10n="U" oldref="51">Mouse moves off of the object.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151278" xml-lang="en-US" l10n="U" oldref="52">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145257" xml-lang="en-US" l10n="U" oldref="53">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154122" xml-lang="en-US" l10n="U" oldref="54">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156139" xml-lang="en-US" l10n="U" oldref="55">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149036" xml-lang="en-US" l10n="U" oldref="56">x</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150785" xml-lang="en-US" l10n="U" oldref="57">Graphics load successful </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153705" xml-lang="en-US" l10n="U" oldref="58">Graphics are loaded successfully.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150343" xml-lang="en-US" l10n="U" oldref="59">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150202" xml-lang="en-US" l10n="U" oldref="60">Graphics load terminated</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145584" xml-lang="en-US" l10n="U" oldref="61">Loading of graphics is stopped by the user (for example, when downloading the page).</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154259" xml-lang="en-US" l10n="U" oldref="62">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155089" xml-lang="en-US" l10n="U" oldref="63">Graphics load faulty</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153307" xml-lang="en-US" l10n="U" oldref="64">Graphics not successfully loaded, for example, if a graphic was not found.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148840" xml-lang="en-US" l10n="U" oldref="65">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154533" xml-lang="en-US" l10n="U" oldref="66">Input of alpha characters </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155266" xml-lang="en-US" l10n="U" oldref="67">Text is entered from the keyboard.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3144768" xml-lang="en-US" l10n="U" oldref="68">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145659" xml-lang="en-US" l10n="U" oldref="69">Input of non-alpha characters </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151131" xml-lang="en-US" l10n="U" oldref="70">Nonprinting characters are entered from the keyboard, for example, tabs and line breaks.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159206" xml-lang="en-US" l10n="U" oldref="71">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150405" xml-lang="en-US" l10n="U" oldref="72">Resize frame</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153972" xml-lang="en-US" l10n="U" oldref="73">Frame is resized with the mouse.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152873" xml-lang="en-US" l10n="U" oldref="74">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148900" xml-lang="en-US" l10n="U" oldref="75">Move frame</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154767" xml-lang="en-US" l10n="U" oldref="76">Frame is moved with the mouse.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155914" xml-lang="en-US" l10n="U" oldref="77">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153010" xml-lang="en-US" l10n="U" oldref="78">Before inserting AutoText</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147515" xml-lang="en-US" l10n="U" oldref="79">Before a text block is inserted.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151191" xml-lang="en-US" l10n="U" oldref="80">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150956" xml-lang="en-US" l10n="U" oldref="81">After inserting AutoText</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147502" xml-lang="en-US" l10n="U" oldref="82">After a text block is inserted.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147555" xml-lang="en-US" l10n="U" oldref="83">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+<tablecell colspan="" rowspan="">
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3153958" xml-lang="en-US" level="2" l10n="U" oldref="5">Macros</paragraph>
+<paragraph role="paragraph" id="par_id3150432" xml-lang="en-US" l10n="U" oldref="6">Choose the macro that you want to execute when the selected event occurs.</paragraph>
+<paragraph role="paragraph" id="par_id3147296" xml-lang="en-US" l10n="U" oldref="84">Frames allow you to link events to a function, so that the function can determine if it processes the event or $[officename] Writer.</paragraph>
+<paragraph role="heading" id="hd_id3155587" xml-lang="en-US" level="3" l10n="U" oldref="7">Category</paragraph>
+<paragraph role="paragraph" id="par_id3154068" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="HID_MACRO_GROUP">Lists the open $[officename] documents and applications. Click the name of the location where you want to save the macros.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149744" xml-lang="en-US" level="3" l10n="U" oldref="9">Macro name</paragraph>
+<paragraph role="paragraph" id="par_id3151391" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_MACRO_MACROS">Lists the available macros. Click the macro that you want to assign to the selected object.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3159260" xml-lang="en-US" level="2" l10n="U" oldref="11">Assign</paragraph>
+<paragraph role="paragraph" id="par_id3147406" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_ASSIGN">Assigns the selected macro to the specified event.</ahelp> The assigned macro's entries are set after the event.</paragraph>
+<paragraph role="heading" id="hd_id3150533" xml-lang="en-US" level="2" l10n="U" oldref="15">Remove</paragraph>
+<paragraph role="paragraph" id="par_id3166456" xml-lang="en-US" l10n="U" oldref="16"><variable id="aufheb"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_DELETE">Removes the macro that is assigned to the selected item.</ahelp>
+</variable></paragraph>
+<paragraph role="heading" id="hd_id3159126" xml-lang="en-US" level="2" l10n="U" oldref="85">Macro selection</paragraph>
+<paragraph role="paragraph" id="par_id3149149" xml-lang="en-US" l10n="U" oldref="86"><ahelp hid="SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE">Select the macro that you want to assign.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/keys.xhp b/source/text/sbasic/shared/keys.xhp
new file mode 100644
index 0000000000..634cacae27
--- /dev/null
+++ b/source/text/sbasic/shared/keys.xhp
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Keyboard Shortcuts in the Basic IDE</title>
+<filename>/text/sbasic/shared/keys.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-24T12:53:28">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="keys">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154760"><bookmark_value>keyboard;in IDE</bookmark_value>
+<bookmark_value>shortcut keys;Basic IDE</bookmark_value>
+<bookmark_value>IDE;keyboard shortcuts</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/keys.xhp" name="Keyboard Shortcuts in the Basic IDE">Keyboard Shortcuts in the Basic IDE</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="2">In the Basic IDE you can use the following keyboard shortcuts:</paragraph>
+<table id="tbl_id3153381">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="3">Action</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="4">Keyboard shortcut</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="5">Run code starting from the first line, or from the current breakpoint, if the program stopped there before</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">F5</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="7">Stop</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US" l10n="CHG" oldref="8">Shift+F5</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="11">Add <link href="text/sbasic/shared/01050100.xhp" name="watch">watch</link> for the variable at the cursor</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="12">F7</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="13">Single step through each statement, starting at the first line or at that statement where the program execution stopped before.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="14">F8</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="15">Single step as with F8, but a function call is considered to be only <emph>one</emph> statement</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="16">Shift+F8</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US" l10n="U" oldref="17">Set or remove a <link href="text/sbasic/shared/01030300.xhp" name="breakpoint">breakpoint</link> at the current line or all breakpoints in the current selection</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="18">F9</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US" l10n="U" oldref="19">Enable/disable the breakpoint at the current line or all breakpoints in the current selection</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US" l10n="U" oldref="20">Shift+F9</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US" l10n="U" oldref="21">A running macro can be aborted with Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Q, also from outside of the Basic IDE. If you are inside the Basic IDE and the macro halts at a breakpoint, Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Q stops execution of the macro, but you can recognize this only after the next F5, F8, or Shift+F8.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/main0211.xhp b/source/text/sbasic/shared/main0211.xhp
new file mode 100644
index 0000000000..4978c28232
--- /dev/null
+++ b/source/text/sbasic/shared/main0211.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedmain0211xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Macro Toolbar</title>
+<filename>/text/sbasic/shared/main0211.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="makro">
+ <bookmark id="bm_id3150543" branch="index" xml-lang="en-US"><bookmark_value>toolbars; Basic IDE</bookmark_value><bookmark_value>macro toolbar</bookmark_value></bookmark><!-- removed HID HID_BASICIDE_TOOLBOX --><bookmark branch="hid/.uno:MacroBarVisible" xml-lang="en-US" id="bm_id3153539"/><paragraph id="hd_id3150543" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/main0211.xhp" name="Macro Toolbar">Macro Toolbar</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147288" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:MacroBarVisible">The <emph>Macro Toolbar </emph>contains commands to create, edit, and run macros.</ahelp></paragraph>
+ </section>
+ <embed href="text/sbasic/shared/02/11010000.xhp#bibliothek"/>
+ <embed href="text/sbasic/shared/02/11010000.xhp#sybibliothek"/>
+ <embed href="text/sbasic/shared/02/11020000.xhp#uebersetzen"/>
+ <embed href="text/sbasic/shared/02/11020000.xhp#syuebersetzen"/>
+ <embed href="text/sbasic/shared/02/11030000.xhp#ausfuehren"/>
+ <embed href="text/sbasic/shared/02/11030000.xhp#syausfuehren"/>
+ <embed href="text/sbasic/shared/02/11040000.xhp#anhalten"/>
+ <embed href="text/sbasic/shared/02/11040000.xhp#syanhalten"/>
+ <embed href="text/sbasic/shared/02/11060000.xhp#prozedurschritt"/>
+ <embed href="text/sbasic/shared/02/11060000.xhp#syprozedurschritt"/>
+ <embed href="text/sbasic/shared/02/11050000.xhp#einzelschritt"/>
+ <embed href="text/sbasic/shared/02/11050000.xhp#syeinzelschritt"/>
+ <embed href="text/sbasic/shared/02/11160000.xhp#ruecksprung"/>
+ <embed href="text/sbasic/shared/02/11160000.xhp#syruecksprung"/>
+ <embed href="text/sbasic/shared/02/11070000.xhp#haltepunkt"/>
+ <embed href="text/sbasic/shared/02/11070000.xhp#syhaltepunkt"/>
+ <embed href="text/sbasic/shared/02/11170000.xhp#manage_breakpoints"/>
+ <embed href="text/sbasic/shared/02/11170000.xhp#sybreakpoints"/>
+ <embed href="text/sbasic/shared/02/11080000.xhp#beobachter"/>
+ <embed href="text/sbasic/shared/02/11080000.xhp#sybeobachter"/>
+ <embed href="text/sbasic/shared/02/11090000.xhp#okatalog"/>
+ <embed href="text/sbasic/shared/02/11090000.xhp#syobjektkatalog"/>
+ <embed href="text/sbasic/shared/02/11100000.xhp#makros"/>
+ <embed href="text/sbasic/shared/02/11100000.xhp#symakros"/>
+ <embed href="text/sbasic/shared/02/11110000.xhp#module"/>
+ <embed href="text/sbasic/shared/02/11110000.xhp#symodule"/>
+ <embed href="text/sbasic/shared/02/11120000.xhp#klammer"/>
+ <embed href="text/sbasic/shared/02/11120000.xhp#syklammer"/>
+ <embed href="text/sbasic/shared/02/11140000.xhp#laden"/>
+ <embed href="text/sbasic/shared/02/11140000.xhp#syladen"/>
+ <embed href="text/sbasic/shared/02/11150000.xhp#speichern"/>
+ <embed href="text/sbasic/shared/02/11150000.xhp#syspeichern"/>
+ <embed href="text/sbasic/shared/02/11180000.xhp#import"/>
+ <embed href="text/sbasic/shared/02/11180000.xhp#syimport"/>
+ <embed href="text/sbasic/shared/02/11190000.xhp#export"/>
+ <embed href="text/sbasic/shared/02/11190000.xhp#syexport"/>
+ </body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/main0601.xhp b/source/text/sbasic/shared/main0601.xhp
new file mode 100644
index 0000000000..2c506db551
--- /dev/null
+++ b/source/text/sbasic/shared/main0601.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedmain0601xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">$[officename] Basic Help</title>
+<filename>/text/sbasic/shared/main0601.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-03-09T12:11:47">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/HID_GLOBAL_FALLBACK" id="bm_id3143284" localize="false"/>
+<paragraph role="heading" id="hd_id3154232" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/main0601.xhp" name="$[officename] Basic Help">%PRODUCTNAME Basic Help</link></paragraph>
+<section id="basicalt">
+<paragraph role="paragraph" id="par_id3153894" xml-lang="en-US" l10n="U" oldref="4">%PRODUCTNAME %PRODUCTVERSION provides an Application Programming Interface (API) that allows controlling the $[officename] components with different programming languages by using the $[officename] Software Development Kit (SDK). For more information about the $[officename] API and the Software Development Kit, visit <link href="http://api.libreoffice.org/" name="http://api.libreoffice.org">http://api.libreoffice.org</link></paragraph>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="CHG" oldref="10">This help section explains the most common runtime functions of %PRODUCTNAME Basic. For more in-depth information please refer to the <link href="http://wiki.documentfoundation.org/Documentation/BASIC_Guide">OpenOffice.org BASIC Programming Guide</link> on the Wiki.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3146957" xml-lang="en-US" level="3" l10n="U" oldref="9">Working with %PRODUCTNAME Basic</paragraph>
+<embed href="text/sbasic/shared/01000000.xhp#doc_title"/>
+<embed href="text/sbasic/shared/03000000.xhp#doc_title"/>
+<embed href="text/shared/guide/macro_recording.xhp#macro_recording"/>
+<embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+<embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+<embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+<embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+<embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+<paragraph role="heading" id="hd_id3148473" xml-lang="en-US" level="3" l10n="U" oldref="7">Help about the Help</paragraph>
+<embed href="text/shared/05/00000100.xhp#neuehilfe"/>
+<embed href="text/shared/05/00000110.xhp#00000110"/>
+<embed href="text/shared/05/00000120.xhp#00000120"/>
+<embed href="text/shared/05/00000130.xhp#00000130"/>
+<embed href="text/shared/05/00000140.xhp#00000140"/>
+<embed href="text/shared/05/00000150.xhp#doc_title"/>
+<embed href="text/shared/05/00000160.xhp#doc_title"/>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/makefile.mk b/source/text/sbasic/shared/makefile.mk
new file mode 100644
index 0000000000..1bc1ea679a
--- /dev/null
+++ b/source/text/sbasic/shared/makefile.mk
@@ -0,0 +1,322 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/sbasic/shared
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_sbasic_shared
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ 00000002.xhp \
+ 00000003.xhp \
+ 01000000.xhp \
+ 01010210.xhp \
+ 01020000.xhp \
+ 01020100.xhp \
+ 01020200.xhp \
+ 01020300.xhp \
+ 01020500.xhp \
+ 01030000.xhp \
+ 01030100.xhp \
+ 01030200.xhp \
+ 01030300.xhp \
+ 01030400.xhp \
+ 01040000.xhp \
+ 01050000.xhp \
+ 01050100.xhp \
+ 01050200.xhp \
+ 01050300.xhp \
+ 01170100.xhp \
+ 01170101.xhp \
+ 01170103.xhp \
+ 03000000.xhp \
+ 03010000.xhp \
+ 03010100.xhp \
+ 03010101.xhp \
+ 03010102.xhp \
+ 03010103.xhp \
+ 03010200.xhp \
+ 03010201.xhp \
+ 03010300.xhp \
+ 03010301.xhp \
+ 03010302.xhp \
+ 03010303.xhp \
+ 03010304.xhp \
+ 03010305.xhp \
+ 03020000.xhp \
+ 03020100.xhp \
+ 03020101.xhp \
+ 03020102.xhp \
+ 03020103.xhp \
+ 03020104.xhp \
+ 03020200.xhp \
+ 03020201.xhp \
+ 03020202.xhp \
+ 03020203.xhp \
+ 03020204.xhp \
+ 03020205.xhp \
+ 03020301.xhp \
+ 03020302.xhp \
+ 03020303.xhp \
+ 03020304.xhp \
+ 03020305.xhp \
+ 03020400.xhp \
+ 03020401.xhp \
+ 03020402.xhp \
+ 03020403.xhp \
+ 03020404.xhp \
+ 03020405.xhp \
+ 03020406.xhp \
+ 03020407.xhp \
+ 03020408.xhp \
+ 03020409.xhp \
+ 03020410.xhp \
+ 03020411.xhp \
+ 03020412.xhp \
+ 03020413.xhp \
+ 03020414.xhp \
+ 03020415.xhp \
+ 03030000.xhp \
+ 03030100.xhp \
+ 03030101.xhp \
+ 03030102.xhp \
+ 03030103.xhp \
+ 03030104.xhp \
+ 03030105.xhp \
+ 03030106.xhp \
+ 03030107.xhp \
+ 03030108.xhp \
+ 03030110.xhp \
+ 03030120.xhp \
+ 03030130.xhp \
+ 03030200.xhp \
+ 03030201.xhp \
+ 03030202.xhp \
+ 03030203.xhp \
+ 03030204.xhp \
+ 03030205.xhp \
+ 03030206.xhp \
+ 03030300.xhp \
+ 03030301.xhp \
+ 03030302.xhp \
+ 03030303.xhp \
+ 03050000.xhp \
+ 03050100.xhp \
+ 03050200.xhp \
+ 03050300.xhp \
+ 03050500.xhp \
+ 03060000.xhp \
+ 03060100.xhp \
+ 03060200.xhp \
+ 03060300.xhp \
+ 03060400.xhp \
+ 03060500.xhp \
+ 03060600.xhp \
+ 03070000.xhp \
+ 03070100.xhp \
+ 03070200.xhp \
+ 03070300.xhp \
+ 03070400.xhp \
+ 03070500.xhp \
+ 03070600.xhp \
+ 03080000.xhp \
+ 03080100.xhp \
+ 03080101.xhp \
+ 03080102.xhp \
+ 03080103.xhp \
+ 03080104.xhp \
+ 03080200.xhp \
+ 03080201.xhp \
+ 03080202.xhp \
+ 03080300.xhp \
+ 03080301.xhp \
+ 03080302.xhp \
+ 03080400.xhp \
+ 03080401.xhp \
+ 03080500.xhp \
+ 03080501.xhp \
+ 03080502.xhp \
+ 03080600.xhp \
+ 03080601.xhp \
+ 03080700.xhp \
+ 03080701.xhp \
+ 03080800.xhp \
+ 03080801.xhp \
+ 03080802.xhp \
+ 03090000.xhp \
+ 03090100.xhp \
+ 03090101.xhp \
+ 03090102.xhp \
+ 03090103.xhp \
+ 03090200.xhp \
+ 03090201.xhp \
+ 03090202.xhp \
+ 03090203.xhp \
+ 03090300.xhp \
+ 03090301.xhp \
+ 03090302.xhp \
+ 03090303.xhp \
+ 03090400.xhp \
+ 03090401.xhp \
+ 03090402.xhp \
+ 03090403.xhp \
+ 03090404.xhp \
+ 03090405.xhp \
+ 03090406.xhp \
+ 03090407.xhp \
+ 03090408.xhp \
+ 03090409.xhp \
+ 03090410.xhp \
+ 03090411.xhp \
+ 03090412.xhp \
+ 03100000.xhp \
+ 03100050.xhp \
+ 03100060.xhp \
+ 03100070.xhp \
+ 03100080.xhp \
+ 03100100.xhp \
+ 03100300.xhp \
+ 03100400.xhp \
+ 03100500.xhp \
+ 03100600.xhp \
+ 03100700.xhp \
+ 03100900.xhp \
+ 03101000.xhp \
+ 03101100.xhp \
+ 03101110.xhp \
+ 03101120.xhp \
+ 03101130.xhp \
+ 03101140.xhp \
+ 03101300.xhp \
+ 03101400.xhp \
+ 03101500.xhp \
+ 03101600.xhp \
+ 03101700.xhp \
+ 03102000.xhp \
+ 03102100.xhp \
+ 03102101.xhp \
+ 03102200.xhp \
+ 03102300.xhp \
+ 03102400.xhp \
+ 03102450.xhp \
+ 03102600.xhp \
+ 03102700.xhp \
+ 03102800.xhp \
+ 03102900.xhp \
+ 03103000.xhp \
+ 03103100.xhp \
+ 03103200.xhp \
+ 03103300.xhp \
+ 03103400.xhp \
+ 03103450.xhp \
+ 03103500.xhp \
+ 03103600.xhp \
+ 03103700.xhp \
+ 03103800.xhp \
+ 03103900.xhp \
+ 03104000.xhp \
+ 03104100.xhp \
+ 03104200.xhp \
+ 03104300.xhp \
+ 03104400.xhp \
+ 03104500.xhp \
+ 03104600.xhp \
+ 03104700.xhp \
+ 03110000.xhp \
+ 03110100.xhp \
+ 03120000.xhp \
+ 03120100.xhp \
+ 03120101.xhp \
+ 03120102.xhp \
+ 03120103.xhp \
+ 03120104.xhp \
+ 03120105.xhp \
+ 03120200.xhp \
+ 03120201.xhp \
+ 03120202.xhp \
+ 03120300.xhp \
+ 03120301.xhp \
+ 03120302.xhp \
+ 03120303.xhp \
+ 03120304.xhp \
+ 03120305.xhp \
+ 03120306.xhp \
+ 03120307.xhp \
+ 03120308.xhp \
+ 03120309.xhp \
+ 03120310.xhp \
+ 03120311.xhp \
+ 03120312.xhp \
+ 03120313.xhp \
+ 03120314.xhp \
+ 03120315.xhp \
+ 03120400.xhp \
+ 03120401.xhp \
+ 03120402.xhp \
+ 03120403.xhp \
+ 03130000.xhp \
+ 03130100.xhp \
+ 03130500.xhp \
+ 03130600.xhp \
+ 03130700.xhp \
+ 03130800.xhp \
+ 03131000.xhp \
+ 03131300.xhp \
+ 03131400.xhp \
+ 03131500.xhp \
+ 03131600.xhp \
+ 03131700.xhp \
+ 03131800.xhp \
+ 03131900.xhp \
+ 03132000.xhp \
+ 03132100.xhp \
+ 03132200.xhp \
+ 03132300.xhp \
+ 03132400.xhp \
+ 03132500.xhp \
+ 05060700.xhp \
+ keys.xhp \
+ main0211.xhp \
+ main0601.xhp
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
diff --git a/source/text/scalc/00/00000004.xhp b/source/text/scalc/00/00000004.xhp
new file mode 100644
index 0000000000..9dfc242af6
--- /dev/null
+++ b/source/text/scalc/00/00000004.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000004xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">To access this function...</title>
+<filename>/text/scalc/00/00000004.xhp</filename>
+</topic>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3155535" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="wie">To access this function...
+</variable></paragraph>
+<paragraph role="paragraph" id="par_idN1056E" xml-lang="en-US" l10n="NEW"><variable id="moreontop">More explanations on top of this page.
+</variable></paragraph>
+<paragraph role="note" id="par_idN105AF" xml-lang="en-US" l10n="NEW"><variable id="optional">In the %PRODUCTNAME Calc functions, parameters marked as "optional" can be left out only when no parameter follows. For example, in a function with four parameters, where the last two parameters are marked as "optional", you can leave out parameter 4 or parameters 3 and 4, but you cannot leave out parameter 3 alone.
+</variable><comment>UFI: see #i43239# and #i3879#</comment></paragraph>
+<paragraph role="paragraph" id="par_id9751884" xml-lang="en-US" l10n="NEW"><variable id="codes">Codes greater than 127 may depend on your system's character mapping (for example iso-8859-1, iso-8859-2, Windows-1252, Windows-1250), and hence may not be portable.
+</variable></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000402.xhp b/source/text/scalc/00/00000402.xhp
new file mode 100644
index 0000000000..e60d4e1a6c
--- /dev/null
+++ b/source/text/scalc/00/00000402.xhp
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000402xml" indexer="exclude" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Edit Menu</title>
+<filename>/text/scalc/00/00000402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <paragraph role="heading" level="1" id="hd_id3147303" l10n="U" xml-lang="en-US" oldref="1">Edit Menu</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155555" xml-lang="en-US" oldref="2"><variable id="kopffuss">Choose <emph>Edit - Headers &amp; Footers</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159233" xml-lang="en-US" oldref="3"><variable id="bkopfzeile">Choose <emph>Edit - Headers &amp; Footers - Header/Footer</emph> tabs</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150443" xml-lang="en-US" oldref="4"><variable id="bausfullen">Choose <emph>Edit - Fill</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3143267" xml-lang="en-US" oldref="5"><variable id="bausunten">Choose <emph>Edit - Fill - Down</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153880" xml-lang="en-US" oldref="6"><variable id="bausrechts">Choose <emph>Edit - Fill - Right</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151245" xml-lang="en-US" oldref="7"><variable id="bausoben">Choose <emph>Edit - Fill - Up</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145068" xml-lang="en-US" oldref="8"><variable id="bauslinks">Choose <emph>Edit - Fill - Left</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150400" xml-lang="en-US" oldref="9"><variable id="baustab">Choose <emph>Edit - Fill - Sheet</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154910" xml-lang="en-US" oldref="10"><variable id="bausreihe">Choose <emph>Edit - Fill - Series</emph></variable></paragraph>
+ <section id="binhalt">
+ <paragraph l10n="U" role="paragraph" id="par_id3154123" xml-lang="en-US" oldref="11">Choose <emph>Edit - Delete Contents</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="20">Backspace</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3150011" xml-lang="en-US" oldref="12"><variable id="bzelo">Choose <emph>Edit - Delete Cells</emph></variable></paragraph>
+ <section id="btaloes">
+ <paragraph l10n="U" role="paragraph" id="par_id3153951" xml-lang="en-US" oldref="13">Choose <emph>Edit – Sheet - Delete</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="18">Open context menu for a sheet tab</paragraph>
+ </section>
+ <section id="btaverko">
+ <paragraph l10n="U" role="paragraph" id="par_id3146119" xml-lang="en-US" oldref="14">Choose <emph>Edit – Sheets – Move/Copy</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="19">Open context menu for a sheet tab</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3153093" xml-lang="en-US" oldref="15"><variable id="bmaumloe">Choose <emph>Edit - Delete Manual Break</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153191" xml-lang="en-US" oldref="16"><variable id="bzeilum">Choose <emph>Edit - Delete Manual Break - Row Break</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145645" xml-lang="en-US" oldref="17"><variable id="bspaum">Choose <emph>Edit - Delete Manual Break - Column Break</emph></variable></paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000403.xhp b/source/text/scalc/00/00000403.xhp
new file mode 100644
index 0000000000..2fc66f406a
--- /dev/null
+++ b/source/text/scalc/00/00000403.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000403xml" indexer="exclude" status="PUBLISH">
+<title xml-lang="en-US" id="tit">View Menu</title>
+<filename>/text/scalc/00/00000403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <paragraph role="heading" level="1" id="hd_id3145673" l10n="U" xml-lang="en-US" oldref="1">View Menu</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150275" xml-lang="en-US" oldref="2"><variable id="aspze">Choose <emph>View - Column &amp; Row Headers</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154514" xml-lang="en-US" oldref="3"><variable id="awehe">Choose <emph>View - Value Highlighting</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148947" xml-lang="en-US" oldref="4"><variable id="rechenleiste">Choose <emph>View - Toolbars - Formula Bar</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148663" xml-lang="en-US" oldref="5"><variable id="seumvo">Choose <emph>View - Page Break Preview</emph></variable></paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000404.xhp b/source/text/scalc/00/00000404.xhp
new file mode 100644
index 0000000000..7a6837274d
--- /dev/null
+++ b/source/text/scalc/00/00000404.xhp
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000404xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Insert Menu</title>
+<filename>/text/scalc/00/00000404.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-11-10T14:06:38">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1">Insert Menu</paragraph>
+<paragraph role="paragraph" id="par_id3149095" xml-lang="en-US" l10n="U" oldref="36"><variable id="eimaum">Choose <emph>Insert - Manual Break</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149398" xml-lang="en-US" l10n="U" oldref="2"><variable id="eimaumze">Choose <emph>Insert - Manual Break - Row Break</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150084" xml-lang="en-US" l10n="U" oldref="3"><variable id="eimaumsp">Choose <emph>Insert - Manual Break - Column Break</emph>
+</variable></paragraph>
+<section id="eize">
+<paragraph role="paragraph" id="par_id3149784" xml-lang="en-US" l10n="U" oldref="4">Choose <emph>Insert - Cells</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3154514" xml-lang="en-US" l10n="U" oldref="5">Open <emph>Insert Cells</emph> toolbar from Tools bar:</paragraph>
+<section id="syzelleneinfuegen">
+<table id="tbl_id3148550">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="E">
+<image id="img_id3154365" src="cmd/sc_inscellsctrl.png" width="0.222inch" height="0.222inch"><alt id="alt_id3154365" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="U" oldref="6">Insert Cells</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</section>
+<section id="syzellenunten">
+<table id="tbl_id3159486">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145273" xml-lang="en-US" l10n="E">
+<image id="img_id3145364" src="cmd/sc_insertcellsdown.png" width="0.222inch" height="0.222inch"><alt id="alt_id3145364" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="7">Insert Cells Down</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="syzellenrechts">
+<table id="tbl_id3148575">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3144766" xml-lang="en-US" l10n="E">
+<image id="img_id3154942" src="cmd/sc_insertcellsright.png" width="0.222inch" height="0.222inch"><alt id="alt_id3154942" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="8">Insert Cells Right</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="syzeilenganze">
+<table id="tbl_id3154015">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="E">
+<image id="img_id3153710" src="cmd/sc_insertrows.png" width="0.222inch" height="0.222inch"><alt id="alt_id3153710" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150324" xml-lang="en-US" l10n="U" oldref="9">Insert Rows</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="syspaltenganze">
+<table id="tbl_id3147338">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147363" xml-lang="en-US" l10n="E">
+<image id="img_id3145232" src="cmd/sc_insertcolumns.png" width="0.222inch" height="0.222inch"><alt id="alt_id3145232" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155334" xml-lang="en-US" l10n="U" oldref="10">Insert Columns</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="U" oldref="11"><variable id="eizei">Choose <emph>Insert - Rows</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153200" xml-lang="en-US" l10n="U" oldref="12"><variable id="eispa">Choose <emph>Insert - Columns</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149033" xml-lang="en-US" l10n="U" oldref="13"><variable id="eitab">Choose <emph>Insert - Sheet</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_idN1082F" xml-lang="en-US" l10n="NEW"><variable id="eitabfile">Choose <emph>Insert - Sheet from file</emph>
+</variable></paragraph>
+<section id="eifu">
+<paragraph role="paragraph" id="par_id3155115" xml-lang="en-US" l10n="U" oldref="14">Choose <emph>Insert - Function</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3152582" xml-lang="en-US" l10n="U" oldref="34"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F2</paragraph>
+<paragraph role="paragraph" id="par_id3153269" xml-lang="en-US" l10n="U" oldref="15">On <emph>Formula Bar</emph>, click</paragraph>
+<section id="syfunktionsautopilot">
+<table id="tbl_id3145258">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150515" xml-lang="en-US" l10n="E">
+<image id="img_id3150884" src="sw/imglst/sc20556.png" width="0.222inch" height="0.222inch"><alt id="alt_id3150884" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154370" xml-lang="en-US" l10n="CHG" oldref="16">Function Wizard</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</section>
+<paragraph role="paragraph" id="par_id3156288" xml-lang="en-US" l10n="CHG" oldref="17"><variable id="eikada"><emph>Insert - Function</emph> - Category <emph>Database</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155809" xml-lang="en-US" l10n="CHG" oldref="18"><variable id="eikadaze"><emph>Insert - Function</emph> - Category <emph>Date&amp;Time</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151334" xml-lang="en-US" l10n="CHG" oldref="19"><variable id="eikafi"><emph>Insert - Function</emph> - Category <emph>Financial</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3159222" xml-lang="en-US" l10n="CHG" oldref="20"><variable id="eikain"><emph>Insert - Function</emph> - Category <emph>Information</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3159173" xml-lang="en-US" l10n="CHG" oldref="21"><variable id="eikalo"><emph>Insert - Function</emph> - Category <emph>Logical</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153914" xml-lang="en-US" l10n="CHG" oldref="22"><variable id="eikama"><emph>Insert - Function</emph> - Category <emph>Mathematical</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150109" xml-lang="en-US" l10n="CHG" oldref="23"><variable id="eikamatrix"><emph>Insert - Function</emph> - Category <emph>Array</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3157978" xml-lang="en-US" l10n="CHG" oldref="24"><variable id="eikasta"><emph>Insert - Function</emph> - Category <emph>Statistical</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156016" xml-lang="en-US" l10n="CHG" oldref="25"><variable id="eikatext"><emph>Insert - Function</emph> - Category <emph>Text</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147075" xml-lang="en-US" l10n="U" oldref="26"><variable id="efefft"><emph>Insert - Function</emph> - Category <emph>Spreadsheet</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154618" xml-lang="en-US" l10n="CHG" oldref="27"><variable id="addin"><emph>Insert - Function</emph> - Category <emph>Add-In</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154059" xml-lang="en-US" l10n="CHG" oldref="38"><variable id="addinana"><emph>Insert - Function</emph> - Category <emph>Add-In</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155383" xml-lang="en-US" l10n="U" oldref="33"><variable id="funktionsliste">Choose <emph>Insert - Function List</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153250" xml-lang="en-US" l10n="U" oldref="28"><variable id="einamen">Choose <emph>Insert - Names</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146776" xml-lang="en-US" l10n="CHG" oldref="37"><variable id="eiextdata">Choose <emph>Insert - Link to External data</emph>
+</variable></paragraph>
+<section id="einafe">
+<paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="29">Choose <emph>Insert - Names - Define</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3149385" xml-lang="en-US" l10n="U" oldref="35"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F3</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145214" xml-lang="en-US" l10n="U" oldref="30"><variable id="einaei">Choose <emph>Insert - Names - Insert</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153558" xml-lang="en-US" l10n="U" oldref="31"><variable id="einaueb">Choose <emph>Insert - Names - Create</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153483" xml-lang="en-US" l10n="U" oldref="32"><variable id="einabesch">Choose <emph>Insert - Names - Labels</emph>
+</variable></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000405.xhp b/source/text/scalc/00/00000405.xhp
new file mode 100644
index 0000000000..a830371df3
--- /dev/null
+++ b/source/text/scalc/00/00000405.xhp
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000405xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Format Menu</title>
+<filename>/text/scalc/00/00000405.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-20T11:43:16">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3150769" xml-lang="en-US" level="1" l10n="U" oldref="1">Format Menu</paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="2"><variable id="fozelle">Choose <emph>Format - Cells</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="3"><variable id="fozelstz">Choose <emph>Format - Cells - Cell Protection</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="4"><variable id="fozei">Choose <emph>Format - Row</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150012" xml-lang="en-US" l10n="U" oldref="5"><variable id="fozeiophoe">Choose <emph>Format - Row - Optimal Height</emph>
+</variable></paragraph>
+<section id="fozeiaus">
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="6">Choose <emph>Format - Row - Hide</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="7">Choose <emph>Format - Column - Hide</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="8">Choose <emph>Format - Sheet - Hide</emph>
+</paragraph>
+</section>
+<section id="fozeiebl">
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="9">Choose <emph>Format - Row - Show</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3156286" xml-lang="en-US" l10n="U" oldref="10">Choose <emph>Format - Column - Show</emph>
+</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145645" xml-lang="en-US" l10n="U" oldref="11"><variable id="fospa">Choose <emph>Format - Column</emph>
+</variable></paragraph>
+<section id="fospob">
+<paragraph role="paragraph" id="par_id3145252" xml-lang="en-US" l10n="U" oldref="12">Choose <emph>Format - Column - Optimal Width</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="36">Double-click right column separator in column headers</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3147362" xml-lang="en-US" l10n="U" oldref="15"><variable id="fot">Choose <emph>Format - Sheet</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="16"><variable id="fotu">Choose <emph>Format - Sheet - Rename</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155333" xml-lang="en-US" l10n="U" oldref="17"><variable id="fotenb">Choose <emph>Format - Sheet - Show</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_idN1077A" xml-lang="en-US" l10n="NEW"><variable id="foste">Choose <emph>Format - Page</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155508" xml-lang="en-US" l10n="U" oldref="25"><variable id="fostel">Choose <emph>Format - Page - Sheet</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150883" xml-lang="en-US" l10n="U" oldref="26"><variable id="fodrbe">Choose <emph>Format - Print Ranges</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156448" xml-lang="en-US" l10n="U" oldref="27"><variable id="fodrfe">Choose <emph>Format - Print Ranges - Define</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156290" xml-lang="en-US" l10n="U" oldref="35"><variable id="fodrhin">Choose <emph>Format - Print Ranges - Add</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155812" xml-lang="en-US" l10n="U" oldref="28"><variable id="fodbah">Choose <emph>Format - Print Ranges - Remove</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153307" xml-lang="en-US" l10n="U" oldref="29"><variable id="fodbbe">Choose <emph>Format - Print Ranges - Edit</emph>
+</variable></paragraph>
+<section id="foatfo">
+<paragraph role="paragraph" id="par_id3153916" xml-lang="en-US" l10n="U" oldref="31">Choose <emph>Format - AutoFormat</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3154532" xml-lang="en-US" l10n="CHG" oldref="32">On the Tools bar, click</paragraph>
+<section id="syautoformat">
+<table id="tbl_id3148605">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149332" xml-lang="en-US" l10n="E">
+<image id="img_id3156020" src="cmd/sc_autoformat.png" width="0.222inch" height="0.222inch"><alt id="alt_id3156020" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154060" xml-lang="en-US" l10n="U" oldref="33">AutoFormat</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+</section>
+<paragraph role="paragraph" id="par_id3154618" xml-lang="en-US" l10n="U" oldref="34"><variable id="bedingte">Choose <emph>Format - Conditional Formatting</emph>
+</variable></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000406.xhp b/source/text/scalc/00/00000406.xhp
new file mode 100644
index 0000000000..8796b4245c
--- /dev/null
+++ b/source/text/scalc/00/00000406.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000406xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Tools Menu</title>
+<filename>/text/scalc/00/00000406.xhp</filename>
+</topic>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="1" l10n="U" oldref="1">Tools Menu</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="2"><variable id="exdektv">Choose <emph>Tools - Detective</emph>
+</variable></paragraph>
+<section id="exdszv">
+<paragraph role="paragraph" id="par_id3153194" xml-lang="en-US" l10n="U" oldref="3">Choose <emph>Tools - Detective - Trace Precedents</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="29">Shift+F7</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="CHG" oldref="33"><variable id="silbentrennungc">Menu <emph>Tools - Language - Hyphenation</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US" l10n="U" oldref="4"><variable id="exdvore">Choose <emph>Tools - Detective - Remove Precedents</emph>
+</variable></paragraph>
+<section id="exdsznf">
+<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="5">Choose <emph>Tools - Detective - Trace Dependents</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="30">Shift+F5</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="6"><variable id="exdszne">Choose <emph>Tools - Detective - Remove Dependents</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US" l10n="U" oldref="7"><variable id="exdase">Choose <emph>Tools - Detective - Remove All Traces</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="8"><variable id="exdszfe">Choose <emph>Tools - Detective - Trace Error</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149410" xml-lang="en-US" l10n="U" oldref="9"><variable id="fuellmodus">Choose <emph>Tools - Detective - Fill Mode</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="10"><variable id="dateneinkreisen">Choose <emph>Tools - Detective - Mark Invalid Data</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153159" xml-lang="en-US" l10n="U" oldref="11"><variable id="spurenaktualisieren">Choose <emph>Tools - Detective - Refresh Traces</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="32"><variable id="automatisch">Choose <emph>Tools - Detective - AutoRefresh</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="12"><variable id="exzws">Choose <emph>Tools - Goal Seek</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3269142" xml-lang="en-US" l10n="NEW"><variable id="solver">Choose Tools - Solver
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id8554338" xml-lang="en-US" l10n="NEW"><variable id="solver_options">Choose Tools - Solver, Options button
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3156277" xml-lang="en-US" l10n="U" oldref="13"><variable id="exsze">Choose <emph>Tools - Scenarios</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="14"><variable id="exdos">Choose <emph>Tools - Protect Document</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3149020" xml-lang="en-US" l10n="U" oldref="15"><variable id="exdst">Choose <emph>Tools - Protect Document - Sheet</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154256" xml-lang="en-US" l10n="U" oldref="16"><variable id="exdsd">Choose <emph>Tools - Protect Document - Document</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147363" xml-lang="en-US" l10n="U" oldref="17"><variable id="zellinhalte">Choose <emph>Tools - Cell Contents</emph>
+</variable></paragraph>
+<section id="exnb">
+<paragraph role="paragraph" id="par_id3146919" xml-lang="en-US" l10n="U" oldref="18">Choose <emph>Tools - Cell Contents - Recalculate</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3149257" xml-lang="en-US" l10n="U" oldref="31">F9</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150941" xml-lang="en-US" l10n="U" oldref="19"><variable id="exatmb">Choose <emph>Tools - Cell Contents - AutoCalculate</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151276" xml-lang="en-US" l10n="U" oldref="20"><variable id="autoeingabe">Choose <emph>Tools - Cell Contents - AutoInput</emph>
+</variable></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000407.xhp b/source/text/scalc/00/00000407.xhp
new file mode 100644
index 0000000000..f36bbdccd7
--- /dev/null
+++ b/source/text/scalc/00/00000407.xhp
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000407xml" indexer="exclude" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Window Menu</title>
+<filename>/text/scalc/00/00000407.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <paragraph role="heading" level="1" id="hd_id3155628" l10n="U" xml-lang="en-US" oldref="1">Window Menu</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147335" xml-lang="en-US" oldref="2"><variable id="fete">Choose <emph>Window - Split</emph></variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153663" xml-lang="en-US" oldref="3"><variable id="fefix">Choose <emph>Window - Freeze</emph></variable></paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/00/00000412.xhp b/source/text/scalc/00/00000412.xhp
new file mode 100644
index 0000000000..78cceb5d21
--- /dev/null
+++ b/source/text/scalc/00/00000412.xhp
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2011 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0000000412xml" indexer="exclude" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Data Menu</title>
+<filename>/text/scalc/00/00000412.xhp</filename>
+</topic>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3145136" xml-lang="en-US" level="1" l10n="U" oldref="1">Data Menu</paragraph>
+<paragraph role="paragraph" id="par_id8366954" xml-lang="en-US" l10n="NEW"><variable id="text2columns">Choose <emph>Data - Text to Columns</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147399" xml-lang="en-US" l10n="U" oldref="3"><variable id="dbrbf">Choose <emph>Data - Define Range</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145345" xml-lang="en-US" l10n="U" oldref="4"><variable id="dbrba">Choose <emph>Data - Select Range</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150443" xml-lang="en-US" l10n="U" oldref="5"><variable id="dnsrt">Choose <emph>Data - Sort</emph>
+</variable></paragraph>
+<section id="dnsosk">
+<paragraph role="paragraph" id="par_id3148491" xml-lang="en-US" l10n="U" oldref="6">Choose <emph>Data - Sort - Sort Criteria</emph> tab</paragraph>
+<paragraph role="paragraph" id="par_id3154516" xml-lang="en-US" l10n="CHG" oldref="7">On Standard bar, click</paragraph>
+<section id="sysortieren">
+<table id="tbl_id3156023">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US" l10n="E">
+<image id="img_id3150543" src="cmd/sc_sortup.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3150543" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="8">Sort Ascending</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="E">
+<image id="img_id3125863" src="cmd/sc_sortdown.png" width="0.1701inch" height="0.1701inch"><alt id="alt_id3125863" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="9">Sort Descending</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</section>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="U" oldref="10"><variable id="dnstot">Choose <emph>Data - Sort - Options</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="11"><variable id="dnftr">Choose <emph>Data - Filter</emph>
+</variable></paragraph>
+<section id="dnfiafi">
+<paragraph role="paragraph" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="12">Choose <emph>Data - Filter - AutoFilter</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="CHG" oldref="13">On Tools bar or Table Data bar, click</paragraph>
+<section id="syautofilter">
+<table id="tbl_id3155418">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="E">
+<image id="img_id3149413" src="cmd/sc_datafilterautofilter.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149413" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149401" xml-lang="en-US" l10n="U" oldref="14">AutoFilter</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</section>
+<paragraph role="paragraph" id="par_id3156278" xml-lang="en-US" l10n="U" oldref="17"><variable id="dnfspz">Choose <emph>Data - Filter - Advanced Filter</emph>
+</variable></paragraph>
+<section id="filterzus">
+<paragraph role="paragraph" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="18">Choose <emph>Data - Filter - Standard Filter - More&gt;&gt;</emph> button</paragraph>
+<paragraph role="paragraph" id="par_id3155444" xml-lang="en-US" l10n="U" oldref="19">Choose <emph>Data - Filter - Advanced Filter - More&gt;&gt;</emph> button</paragraph>
+</section>
+<section id="dnfief">
+<paragraph role="paragraph" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="20">Choose <emph>Data - Filter - Remove Filter</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3155961" xml-lang="en-US" l10n="CHG" oldref="48">On Table Data bar, click <emph>Remove Filter/Sort</emph>
+</paragraph>
+<table id="tbl_id3146919">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="E">
+<image id="img_id3145792" src="cmd/sc_removefilter.png" width="0.222inch" height="0.222inch"><alt id="alt_id3145792" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149207" xml-lang="en-US" l10n="U" oldref="49">Remove Filter/Sort</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+<paragraph role="paragraph" id="par_id3152778" xml-lang="en-US" l10n="U" oldref="21"><variable id="dnaftas">Choose <emph>Data - Filter - Hide AutoFilter</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="22"><variable id="dntegs">Choose <emph>Data - Subtotals</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154574" xml-lang="en-US" l10n="U" oldref="23"><variable id="dntezd">Choose <emph>Data - Subtotals - 1st, 2nd, 3rd Group</emph> tabs
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151277" xml-lang="en-US" l10n="U" oldref="24"><variable id="dntopi">Choose <emph>Data - Subtotals - Options</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3145133" xml-lang="en-US" l10n="U" oldref="25"><variable id="datengueltig">Choose <emph>Data - Validity</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3152992" xml-lang="en-US" l10n="U" oldref="26"><variable id="datengueltigwerte">Menu <emph>Data - Validity - Criteria</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150367" xml-lang="en-US" l10n="U" oldref="27"><variable id="datengueltigeingabe">Choose <emph>Data - Validity - Input Help</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="28"><variable id="datengueltigfehler">Choose <emph>Data - Validity - Error Alert</emph> tab
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3146978" xml-lang="en-US" l10n="U" oldref="29"><variable id="dnmfo">Choose <emph>Data - Multiple Operations</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155809" xml-lang="en-US" l10n="U" oldref="30"><variable id="dnksd">Choose <emph>Data - Consolidate</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3148701" xml-lang="en-US" l10n="CHG" oldref="31"><variable id="dngld">Choose <emph>Data - Group and Outline</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153815" xml-lang="en-US" l10n="U" oldref="32"><variable id="dngda">Choose <emph>Data - Group and Outline - Hide Details</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3159223" xml-lang="en-US" l10n="U" oldref="33"><variable id="dngde">Choose <emph>Data - Group and Outline - Show Details</emph>
+</variable></paragraph>
+<section id="dnglgr">
+<paragraph role="paragraph" id="par_id3146870" xml-lang="en-US" l10n="U" oldref="34">Choose <emph>Data - Group and Outline - Group</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3144507" xml-lang="en-US" l10n="U" oldref="51">F12</paragraph>
+<paragraph role="paragraph" id="par_id3144772" xml-lang="en-US" l10n="CHG" oldref="35">On <emph>Tools</emph> bar, click</paragraph>
+<section id="sygruppieren">
+<table id="tbl_id3154532">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149438" xml-lang="en-US" l10n="E">
+<image id="img_id3153287" src="cmd/sc_group.png" width="0.222inch" height="0.222inch"><alt id="alt_id3153287" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150214" xml-lang="en-US" l10n="CHG" oldref="36">Group</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</section>
+<section id="dnglgra">
+<paragraph role="paragraph" id="par_id3146781" xml-lang="en-US" l10n="U" oldref="37">Choose <emph>Data - Group and Outline - Ungroup</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3150892" xml-lang="en-US" l10n="U" oldref="52"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F12</paragraph>
+<paragraph role="paragraph" id="par_id3155097" xml-lang="en-US" l10n="CHG" oldref="38">On <emph>Tools</emph> bar, click</paragraph>
+<section id="sygruppierungaufheben">
+<table id="tbl_id3143223">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150048" xml-lang="en-US" l10n="E">
+<image id="img_id3155914" src="cmd/sc_ungroup.png" width="0.222inch" height="0.222inch"><alt id="alt_id3155914" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153555" xml-lang="en-US" l10n="U" oldref="39">Ungroup</paragraph>
+</tablecell>
+</tablerow>
+</table>
+</section>
+</section>
+<paragraph role="paragraph" id="par_id3153008" xml-lang="en-US" l10n="U" oldref="40"><variable id="dnglagl">Choose <emph>Data - Group and Outline - AutoOutline</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154709" xml-lang="en-US" l10n="U" oldref="41"><variable id="dnglef">Choose <emph>Data - Group and Outline - Remove</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id1774346" xml-lang="en-US" l10n="CHG"><variable id="dngdrill">Choose <emph>Data - Group and Outline - Show Details</emph> (for some pivot tables)
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3155759" xml-lang="en-US" l10n="CHG" oldref="42"><variable id="dndtpt">Choose <emph>Data - Pivot Table</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3154625" xml-lang="en-US" l10n="CHG" oldref="43"><variable id="dndpa">Choose <emph>Data - Pivot Table - Create</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3147558" xml-lang="en-US" l10n="CHG" oldref="53"><variable id="dndq">Choose <emph>Data - Pivot Table - Create</emph>, in the Select Source dialog choose the option <emph>Data source registered in $[officename]</emph>.
+</variable></paragraph>
+<section id="dndpaz">
+<paragraph role="paragraph" id="par_id3153297" xml-lang="en-US" l10n="CHG" oldref="50">Choose <emph>Data - Pivot Table - Create</emph>, in the Select Source dialog choose the option <emph>Current selection</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3145118" xml-lang="en-US" l10n="CHG" oldref="54">Choose <emph>Data - Pivot Table - Create</emph>, in the Select Source dialog choose the option <emph>Data source registered in $[officename]</emph>, click <emph>OK</emph> to see <emph>Select Data Source</emph> dialog.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153294" xml-lang="en-US" l10n="CHG" oldref="44"><variable id="dndpak">Choose <emph>Data - Pivot Table - Refresh</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3151344" xml-lang="en-US" l10n="CHG" oldref="45"><variable id="dndploe">Choose <emph>Data - Pivot Table - Delete</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3150397" xml-lang="en-US" l10n="U" oldref="46"><variable id="dndakt">Choose <emph>Data - Refresh Range</emph>
+</variable></paragraph>
+<paragraph role="paragraph" id="par_idN10B8F" xml-lang="en-US" l10n="CHG"><variable id="grouping">Choose <emph>Data - Group and Outline - Group</emph>
+</variable></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/00/makefile.mk b/source/text/scalc/00/makefile.mk
new file mode 100644
index 0000000000..cb08d8fd97
--- /dev/null
+++ b/source/text/scalc/00/makefile.mk
@@ -0,0 +1,59 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/scalc/00
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_scalc_00
+# edit to match the current module
+MODULE = scalc
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ 00000004.xhp \
+ 00000402.xhp \
+ 00000403.xhp \
+ 00000404.xhp \
+ 00000405.xhp \
+ 00000406.xhp \
+ 00000407.xhp \
+ 00000412.xhp
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
diff --git a/source/text/scalc/01/01120000.xhp b/source/text/scalc/01/01120000.xhp
new file mode 100644
index 0000000000..5b342277a9
--- /dev/null
+++ b/source/text/scalc/01/01120000.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0101120000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Page Preview</title>
+<filename>/text/scalc/01/01120000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="seitenansicht">
+<bookmark xml-lang="en-US" branch="hid/.uno:PrintPreview" id="bm_id2822117" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:PrintPreview" id="bm_id3146060" localize="false"/><paragraph role="heading" id="hd_id1918698" xml-lang="en-US" level="1" l10n="NEW"><link href="text/scalc/01/01120000.xhp">Page Preview</link></paragraph>
+<paragraph role="paragraph" id="par_id3831598" xml-lang="en-US" l10n="NEW"><ahelp hid=".uno:PrintPreview">Displays a preview of the printed page or closes the preview.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/shared/00/00000401.xhp#ansicht"/>
+</section>
+<paragraph role="paragraph" id="par_id3145847" xml-lang="en-US" l10n="NEW">Use the icons on the <emph>Page Preview Bar</emph> to scroll through the pages of the document or to print the document.</paragraph>
+<paragraph role="paragraph" id="par_id9838862" xml-lang="en-US" l10n="NEW">You can also press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Page Up and <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Page Down keys to scroll through the pages.</paragraph>
+<paragraph role="note" id="par_id7211828" xml-lang="en-US" l10n="NEW">You cannot edit your document while you are in the page preview.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:ClosePreview" id="bm_id9368395" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:ClosePreview" id="bm_id2166814" localize="false"/><paragraph role="paragraph" id="par_id460829" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">To exit the page preview, click the <emph>Close Preview</emph> button.</ahelp></paragraph>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3155829" xml-lang="en-US" l10n="C"><link href="text/scalc/main0210.xhp" name="Page View Object Bar">Page View Object Bar</link></paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02110000.xhp b/source/text/scalc/01/02110000.xhp
new file mode 100644
index 0000000000..502a41198a
--- /dev/null
+++ b/source/text/scalc/01/02110000.xhp
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0102110000xml" indexer="include">
+<title id="tit" xml-lang="en-US">Navigator</title>
+<filename>/text/scalc/01/02110000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="navigator">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>Navigator;for sheets</bookmark_value>
+<bookmark_value>navigating;in spreadsheets</bookmark_value>
+<bookmark_value>displaying; scenario names</bookmark_value>
+<bookmark_value>scenarios;displaying names</bookmark_value>
+</bookmark><comment>mw made "navigating..." a two level entry and deleted "navigating;data range"</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:Navigator" id="bm_id8227797" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:Navigator" id="bm_id3145171" localize="false"/>
+<paragraph role="heading" id="hd_id3150791" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02110000.xhp" name="Navigator">Navigator</link></paragraph>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:Navigator">Activates and deactivates the Navigator.</ahelp> The Navigator is a <link href="text/shared/00/00000005.xhp#andocken" name="dockable window">dockable window</link>.</paragraph>
+</section>
+<section id="howtoget">
+<embed href="text/shared/00/00000402.xhp#navigator"/>
+</section>
+<embed href="text/shared/guide/navigator.xhp#navigator"/>
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="CHG" oldref="40">Choose <emph>View - Navigator</emph> to display the Navigator.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_COL" id="bm_id3163713" localize="false"/>
+<paragraph role="heading" id="hd_id3159155" xml-lang="en-US" level="2" l10n="U" oldref="4">Column</paragraph>
+<paragraph role="paragraph" id="par_id3146984" xml-lang="en-US" l10n="CHG" oldref="5"><ahelp hid="HID_SC_NAVIPI_COL">Enter the column letter. Press Enter to reposition the cell cursor to the specified column in the same row.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_ROW" id="bm_id3156286" localize="false"/>
+<paragraph role="heading" id="hd_id3147126" xml-lang="en-US" level="2" l10n="U" oldref="6">Row</paragraph>
+<paragraph role="paragraph" id="par_id3149958" xml-lang="en-US" l10n="CHG" oldref="7"><ahelp hid="HID_SC_NAVIPI_ROW">Enter a row number. Press Enter to reposition the cell cursor to the specified row in the same column.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_DATA" id="bm_id3149123" localize="false"/>
+<paragraph role="heading" id="hd_id3150717" xml-lang="en-US" level="2" l10n="U" oldref="8">Data Range</paragraph>
+<paragraph role="paragraph" id="par_id3150752" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_SC_NAVIPI_DATA">Specifies the current data range denoted by the position of the cell cursor.</ahelp></paragraph>
+<table id="tbl_id3154754">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159264" xml-lang="en-US" l10n="E">
+<image id="img_id3147338" src="cmd/sc_grid.png" width="0.2228in" height="0.2228in"><alt id="alt_id3147338" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3146919" xml-lang="en-US" l10n="U" oldref="9">Data Range</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_UP" id="bm_id3155111" localize="false"/>
+<paragraph role="heading" id="hd_id3148488" xml-lang="en-US" level="2" l10n="U" oldref="14">Start</paragraph>
+<paragraph role="paragraph" id="par_id3150086" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="HID_SC_NAVIPI_UP">Moves to the cell at the beginning of the current data range, which you can highlight using the <emph>Data Range</emph> button.</ahelp></paragraph>
+<table id="tbl_id3150306">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="E">
+<image id="img_id3150515" src="sw/imglst/sc20186.png" width="0.2228in" height="0.2228in"><alt id="alt_id3150515" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154372" xml-lang="en-US" l10n="U" oldref="15">Start</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_DOWN" id="bm_id3156449" localize="false"/>
+<paragraph role="heading" id="hd_id3146982" xml-lang="en-US" level="2" l10n="U" oldref="17">End</paragraph>
+<paragraph role="paragraph" id="par_id3152985" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="HID_SC_NAVIPI_DOWN">Moves to the cell at the end of the current data range, which you can highlight using the <emph>Data Range</emph> button.</ahelp></paragraph>
+<table id="tbl_id3152901">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159170" xml-lang="en-US" l10n="E">
+<image id="img_id3148871" src="sw/imglst/sc20175.png" width="0.2228in" height="0.2228in"><alt id="alt_id3148871" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147072" xml-lang="en-US" l10n="U" oldref="18">End</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_ROOT" id="bm_id3155269" localize="false"/>
+<paragraph role="heading" id="hd_id3150107" xml-lang="en-US" level="2" l10n="U" oldref="20">Toggle</paragraph>
+<paragraph role="paragraph" id="par_id3159098" xml-lang="en-US" l10n="U" oldref="22"><ahelp hid="HID_SC_NAVIPI_ROOT">Toggles the content view. Only the selected Navigator element and its subelements are displayed.</ahelp> Click the icon again to restore all elements for viewing.</paragraph>
+<table id="tbl_id3153973">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152869" xml-lang="en-US" l10n="E">
+<image id="img_id3149126" src="sw/imglst/sc20244.png" width="0.2228in" height="0.2228in"><alt id="alt_id3149126" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159229" xml-lang="en-US" l10n="U" oldref="21">Toggle</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_ZOOM" id="bm_id3154654" localize="false"/>
+<paragraph role="heading" id="hd_id3149381" xml-lang="en-US" level="2" l10n="U" oldref="11">Contents</paragraph>
+<paragraph role="paragraph" id="par_id3150051" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="HID_SC_NAVIPI_ZOOM">Allows you to hide/show the contents.</ahelp></paragraph>
+<table id="tbl_id3153811">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155597" xml-lang="en-US" l10n="E">
+<image id="img_id3154738" src="sw/imglst/sc20233.png" width="0.2228in" height="0.2228in"><alt id="alt_id3154738" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150955" xml-lang="en-US" l10n="U" oldref="12">Contents</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_SCEN" id="bm_id3145115" localize="false"/>
+<paragraph role="heading" id="hd_id3147244" xml-lang="en-US" level="2" l10n="U" oldref="23">Scenarios</paragraph>
+<paragraph role="paragraph" id="par_id3153955" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_SC_NAVIPI_SCEN">Displays all available scenarios. Double-click a name to apply that scenario.</ahelp> The result is shown in the sheet. For more information, choose <link href="text/scalc/01/06050000.xhp" name="Tools - Scenarios"><emph>Tools - Scenarios</emph></link>.</paragraph>
+<table id="tbl_id3147405">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148745" xml-lang="en-US" l10n="E">
+<image id="img_id3159256" src="sc/imglst/navipi/na07.png" width="0.2228in" height="0.2228in"><alt id="alt_id3159256" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3166466" xml-lang="en-US" l10n="U" oldref="24">Scenarios</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_idN10A6C" xml-lang="en-US" l10n="NEW">If the Navigator displays scenarios, you can access the following commands when you right-click a scenario entry:</paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_SCENARIO_DELETE" id="bm_id1900997" localize="false"/>
+<paragraph role="heading" id="par_idN10A77" xml-lang="en-US" level="3" l10n="NEW">Delete</paragraph>
+<paragraph role="paragraph" id="par_idN10A7B" xml-lang="en-US" l10n="NEW"><ahelp hid="HID_SC_SCENARIO_DELETE">Deletes the selected scenario.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_SCENARIO_EDIT" id="bm_id4495376" localize="false"/>
+<paragraph role="heading" id="par_idN10A92" xml-lang="en-US" level="3" l10n="NEW">Properties</paragraph>
+<paragraph role="paragraph" id="par_idN10A96" xml-lang="en-US" l10n="NEW"><ahelp hid="HID_SC_SCENARIO_EDIT">Opens the <link href="text/scalc/01/06050000.xhp">Edit scenario</link> dialog, where you can edit the scenario properties.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_DROP" id="bm_id3157871" localize="false"/>
+<paragraph role="heading" id="hd_id3150037" xml-lang="en-US" level="2" l10n="U" oldref="26">Drag Mode</paragraph>
+<paragraph role="paragraph" id="par_id3157876" xml-lang="en-US" l10n="CHG" oldref="28"><ahelp hid="HID_SC_NAVIPI_DROP">Opens a submenu for selecting the drag mode. You decide which action is performed when dragging and dropping an object from the Navigator into a document. Depending on the mode you select, the icon indicates whether a hyperlink, link or a copy is created.</ahelp></paragraph>
+<table id="tbl_id3153118">
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149947" xml-lang="en-US" l10n="E">
+<image id="img_id3159119" src="cmd/sc_chainframes.png" width="0.2228in" height="0.2228in"><alt id="alt_id3159119" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150656" xml-lang="en-US" l10n="U" oldref="27">Drag Mode</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_DROPMODE_URL" id="bm_id3146876" localize="false"/>
+<paragraph role="heading" id="hd_id3149009" xml-lang="en-US" level="3" l10n="U" oldref="29">Insert as Hyperlink</paragraph>
+<paragraph role="paragraph" id="par_id3146938" xml-lang="en-US" l10n="U" oldref="30"><ahelp hid="HID_SC_DROPMODE_URL">Inserts a hyperlink when you drag-and-drop an object from the Navigator into a document.</ahelp> You can later click the created hyperlink to set the cursor and the view to the respective object. </paragraph>
+<paragraph role="note" id="par_id3880733" xml-lang="en-US" l10n="NEW">If you insert a hyperlink that links to an open document, you need to save the document before you can use the hyperlink.<comment>UFI: fixes bugtraq 5009354</comment></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_DROPMODE_LINK" id="bm_id3150740" localize="false"/>
+<paragraph role="heading" id="hd_id3154682" xml-lang="en-US" level="3" l10n="U" oldref="31">Insert as Link</paragraph>
+<paragraph role="paragraph" id="par_id3150746" xml-lang="en-US" l10n="U" oldref="32"><ahelp hid="HID_SC_DROPMODE_LINK">Creates a link when you drag-and-drop an object from the Navigator into a document.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_DROPMODE_COPY" id="bm_id3154846" localize="false"/>
+<paragraph role="heading" id="hd_id3145824" xml-lang="en-US" level="3" l10n="U" oldref="33">Insert as Copy</paragraph>
+<paragraph role="paragraph" id="par_id3147471" xml-lang="en-US" l10n="U" oldref="34"><ahelp hid="HID_SC_DROPMODE_COPY">Generates a copy when you drag-and-drop an object from the Navigator into a document.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_ENTRIES" id="bm_id3150695" localize="false"/>
+<paragraph role="heading" id="hd_id3147423" xml-lang="en-US" level="2" l10n="U" oldref="38">Objects</paragraph>
+<paragraph role="paragraph" id="par_id3150700" xml-lang="en-US" l10n="U" oldref="39"><ahelp hid="HID_SC_NAVIPI_ENTRIES">Displays all objects in your document.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_NAVIPI_DOC" id="bm_id3152785" localize="false"/>
+<paragraph role="heading" id="hd_id3150860" xml-lang="en-US" level="2" l10n="U" oldref="35">Documents</paragraph>
+<paragraph role="paragraph" id="par_id3153929" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid="HID_SC_NAVIPI_DOC">Displays the names of all open documents.</ahelp> To switch to another open document in the Navigator, click the document name. The status (active, inactive) of the document is shown in brackets after the name. You can switch the active document in the <emph>Window</emph> menu.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02120000.xhp b/source/text/scalc/01/02120000.xhp
new file mode 100644
index 0000000000..b3078506af
--- /dev/null
+++ b/source/text/scalc/01/02120000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0102120000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Headers &amp; Footers</title>
+ <filename>/text/scalc/01/02120000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="hid/.uno:EditHeaderAndFooter" id="bm_id6105651" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:EditHeaderAndFooter" id="bm_id3149960" localize="false"/><comment>mw deleted two index entries</comment>
+<paragraph xml-lang="en-US" id="hd_id3145251" role="heading" level="1" l10n="U" oldref="1">Headers &amp; Footers</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151073" role="paragraph" l10n="U" oldref="2"><variable id="kopfundfusszeilentext"><ahelp hid=".uno:EditHeaderAndFooter">Allows you to define and format headers and footers.</ahelp>
+</variable></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153415" role="paragraph" l10n="CHG" oldref="3">The<emph> Headers/Footers </emph>dialog contains the tabs for defining headers and footers. There will be separate tabs for the left and right page headers and footers if the <emph>Same content left/right</emph> option was not marked in the <link href="text/scalc/01/05070000.xhp" name="Page Style">Page Style</link> dialog.</paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#kopffuss"/>
+ </section>
+ <embed href="text/scalc/01/02120100.xhp#kopfzeile"/>
+ <embed href="text/shared/00/00000001.xhp#zurueck"/>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/02120100.xhp b/source/text/scalc/01/02120100.xhp
new file mode 100644
index 0000000000..137ffd7635
--- /dev/null
+++ b/source/text/scalc/01/02120100.xhp
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0102120100xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Header/Footer</title>
+ <filename>/text/scalc/01/02120100.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="kopfzeile">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>page styles; headers</bookmark_value>
+ <bookmark_value>page styles; footers</bookmark_value>
+ <bookmark_value>headers; defining</bookmark_value>
+ <bookmark_value>footers; defining</bookmark_value>
+ <bookmark_value>file names in headers/footers</bookmark_value>
+ <bookmark_value>changing;dates, automatically</bookmark_value>
+ <bookmark_value>dates;updating automatically</bookmark_value>
+ <bookmark_value>automatic date updates</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_HFED_HR" id="bm_id3149655" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_HFED_FR" id="bm_id3150541" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_HFED_HL" id="bm_id3148799" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_HFED_FL" id="bm_id3156422" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153360" role="heading" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02120100.xhp" name="Header/Footer">Header/Footer</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150768" role="paragraph" l10n="U" oldref="2"><ahelp hid="HID_SCPAGE_HFED_FL">Defines or formats a header or footer for a Page Style.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bkopfzeile"/>
+ </section>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HRL" id="bm_id3156444" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HLL" id="bm_id3152578" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FRL" id="bm_id3155854" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FLL" id="bm_id3153726" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145748" role="heading" level="2" l10n="U" oldref="3">Left Area</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147434" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_SC_HF_FLL">Enter the text to be displayed at the left side of the header or footer.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HRC" id="bm_id3159153" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HLC" id="bm_id3159156" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FRC" id="bm_id3145273" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FLC" id="bm_id3153951" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148648" role="heading" level="2" l10n="U" oldref="5">Center Area</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3163710" role="paragraph" l10n="CHG" oldref="6"><ahelp hid=".">Enter the text to be displayed at the center of the header or footer.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HRR" id="bm_id3153159" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HLR" id="bm_id3149413" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FRR" id="bm_id3148457" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FLR" id="bm_id3155418" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154942" role="heading" level="2" l10n="U" oldref="7">Right Area</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147126" role="paragraph" l10n="U" oldref="8"><ahelp hid="HID_SC_HF_FLR">Enter the text to be displayed at the right side of the header or footer.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_HR_DEFINED" id="bm_id0609200910173918" localize="false"/>
+<paragraph xml-lang="en-US" id="par_idN10811" role="heading" level="2" l10n="NEW">Header/Footer</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN10815" role="paragraph" l10n="NEW"><ahelp hid=".">Select a predefined header or footer from the list.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_TEXT" id="bm_id3144766" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154729" role="heading" level="2" l10n="U" oldref="9">Text attributes</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150717" role="paragraph" l10n="U" oldref="10"><ahelp hid="HID_SC_HF_TEXT">Opens a dialog to assign formats to new or selected text.</ahelp> The <emph>Text Attributes </emph>dialog contains the tab pages <link href="text/shared/01/05020100.xhp" name="Font">Font</link>, <link href="text/shared/01/05020200.xhp" name="Font Effects">Font Effects</link> and <link href="text/shared/01/05020500.xhp" name="Font Position">Font Position</link>.</paragraph>
+ <table id="tbl_id3149018">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159266" role="paragraph" l10n="E">
+<image id="img_id3156386" src="sc/res/text.png" width="0.1874in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3156386">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155336" role="paragraph" l10n="U" oldref="25">Text Attributes</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_FILE" id="bm_id3154020" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145792" role="heading" level="2" l10n="U"
+ oldref="11">File Name </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150206" role="paragraph" l10n="CHG" oldref="12"><ahelp hid="HID_SC_HF_FILE">Inserts a file name placeholder in the selected area.</ahelp> Click to insert the title. Long-click <comment>UFI: this is still a long-click</comment>to select either title, file name or path/file name from the submenu. If a title has not be assigned (see <emph>File - Properties</emph>), the file name will be inserted instead.</paragraph>
+ <table id="tbl_id3149529">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150369" role="paragraph" l10n="E">
+<image id="img_id3150518" src="res/folderop.png" width="0.1665in" height="0.1252in"><alt xml-lang="en-US" id="alt_id3150518">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154487" role="paragraph" l10n="U" oldref="26">File Name</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_TABLE" id="bm_id3149408" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155812" role="heading" level="2" l10n="U"
+ oldref="13">Sheet Name</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148842" role="paragraph" l10n="U" oldref="14"><ahelp hid="HID_SC_HF_TABLE">Inserts a placeholder in the selected header/footer area, which is replaced by the sheet name in the header/footer of the actual document.</ahelp></paragraph>
+ <table id="tbl_id3159174">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146870" role="paragraph" l10n="E">
+<image id="img_id3148870" src="sc/res/table.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3148870">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147071" role="paragraph" l10n="U" oldref="27">Sheet Name</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_PAGE" id="bm_id3153288" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3144768" role="heading" level="2" l10n="U"
+ oldref="15">Page</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154960" role="paragraph" l10n="U" oldref="16"><ahelp hid="HID_SC_HF_PAGE">Inserts a placeholder in the selected header/footer area, which is replaced by page numbering. This allows continuous page numbering in a document.</ahelp></paragraph>
+ <table id="tbl_id3153246">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151304" role="paragraph" l10n="E">
+<image id="img_id3155386" src="sc/res/page.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3155386">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150048" role="paragraph" l10n="U" oldref="28">Page</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_PAGES" id="bm_id3153012" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3146962" role="heading" level="2" l10n="U"
+ oldref="17">Pages</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153812" role="paragraph" l10n="U" oldref="18"><ahelp hid="HID_SC_HF_PAGES">Inserts a placeholder in the selected header/footer area, which is replaced by the total number of pages in the document.</ahelp></paragraph>
+ <table id="tbl_id3154737">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149315" role="paragraph" l10n="E">
+<image id="img_id3155757" src="sc/res/pages.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3155757">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147499" role="paragraph" l10n="U" oldref="29">Pages</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_DATE" id="bm_id3150438" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149050" role="heading" level="2" l10n="U"
+ oldref="19">Date</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153960" role="paragraph" l10n="U" oldref="20"><ahelp hid="HID_SC_HF_DATE">Inserts a placeholder in the selected header/footer area, which is replaced by the current date which will be repeated in the header/footer on each page of the document.</ahelp></paragraph>
+ <table id="tbl_id3147406">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147299" role="paragraph" l10n="E">
+<image id="img_id3150394" src="sc/res/date.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3150394">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150540" role="paragraph" l10n="U" oldref="30">Date</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_HF_TIME" id="bm_id3147412" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147610" role="heading" level="2" l10n="U"
+ oldref="21">Time</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145638" role="paragraph" l10n="U" oldref="22"><ahelp hid="HID_SC_HF_TIME">Inserts a placeholder in the selected header/footer area, which is replaced by the current time in the header/footer on each page of the document.</ahelp></paragraph>
+ <table id="tbl_id3157875">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153122" role="paragraph" l10n="E">
+<image id="img_id3146884" src="sc/res/time.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3146884">Icon</alt>
+ </image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3157904" role="paragraph" l10n="U" oldref="31">Time</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/02140000.xhp b/source/text/scalc/01/02140000.xhp
new file mode 100644
index 0000000000..fb482cc712
--- /dev/null
+++ b/source/text/scalc/01/02140000.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0102140000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Fill</title>
+ <filename>/text/scalc/01/02140000.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="ausfuellen">
+<bookmark xml-lang="en-US" branch="hid/.uno:FillCellsMenu" id="bm_id2939237" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id8473769"><bookmark_value>filling;selection lists</bookmark_value>
+ <bookmark_value>selection lists;filling cells</bookmark_value>
+</bookmark><comment>MW inserted 2 index entries</comment>
+<paragraph xml-lang="en-US" id="hd_id3153876" role="heading" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02140000.xhp" name="Fill">Fill</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156285" role="paragraph" l10n="CHG" oldref="2"><ahelp hid=".">Automatically fills cells with content.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bausfullen"/>
+ </section>
+ <paragraph xml-lang="en-US" id="par_id3147343" role="note" l10n="CHG" oldref="9">The $[officename] Calc context menus have <link href="text/scalc/01/02140000.xhp" name="other options">additional options</link> for filling the cells.</paragraph>
+ <embed href="text/scalc/01/02140100.xhp#unten"/>
+ <embed href="text/scalc/01/02140200.xhp#rechts"/>
+ <embed href="text/scalc/01/02140300.xhp#oben"/>
+ <embed href="text/scalc/01/02140400.xhp#links"/>
+ <paragraph xml-lang="en-US" id="hd_id3149207" role="heading" level="2" l10n="U" oldref="7"><link href="text/scalc/01/02140500.xhp" name="Sheet">Sheet</link></paragraph>
+ <embed href="text/scalc/01/02140500.xhp#tabellenfuellentext"/>
+ <paragraph xml-lang="en-US" id="hd_id3155111" role="heading" level="2" l10n="U" oldref="8"><link href="text/scalc/01/02140600.xhp" name="Rows">Series</link></paragraph>
+ <embed href="text/scalc/01/02140600.xhp#reihenfuellentext"/>
+ <paragraph xml-lang="en-US" id="par_id3152994" role="paragraph" l10n="U" oldref="3">
+<emph>Filling cells using context menus:</emph>
+</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3145384" role="listitem" l10n="U" oldref="4">Call the <link href="text/shared/00/00000005.xhp#kontextmenue" name="context menu">context menu</link> when positioned in a cell and choose <emph>Selection List</emph>.</paragraph>
+ </listitem>
+ <listitem>
+<bookmark xml-lang="en-US" branch="hid/.uno:DataSelect" id="bm_id4369249" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DataSelect" id="bm_id3155810" localize="false"/>
+<paragraph xml-lang="en-US" id="par_id3156450" role="listitem" l10n="U" oldref="5"><ahelp hid=".uno:DataSelect">A list box containing all text found in the current column is displayed.</ahelp> The text is sorted alphabetically and multiple entries are listed only once.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3148699" role="listitem" l10n="U" oldref="6">Click one of the listed entries to copy it to the cell.</paragraph>
+ </listitem>
+ </list>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/02140100.xhp b/source/text/scalc/01/02140100.xhp
new file mode 100644
index 0000000000..74a0296bc3
--- /dev/null
+++ b/source/text/scalc/01/02140100.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Down</title>
+<filename>/text/scalc/01/02140100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="unten">
+ <bookmark xml-lang="en-US" branch="hid/.uno:FillDown" id="bm_id8608585" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:FillDown" xml-lang="en-US" id="bm_id3145173"/><paragraph id="hd_id3150792" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/scalc/01/02140100.xhp" name="Down">Down</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153969" xml-lang="en-US" oldref="2"><ahelp hid=".uno:FillDown" visibility="visible">Fills a selected range of at least two rows with the contents of the top cell of the range.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bausunten"/>
+</section>
+ <paragraph role="paragraph" id="par_id3145787" l10n="U" xml-lang="en-US" oldref="3">If a selected range has only one column, the contents of the top cell are copied to all others. If several columns are selected, the contents of the corresponding top cell will be copied down.</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02140200.xhp b/source/text/scalc/01/02140200.xhp
new file mode 100644
index 0000000000..3e12e4e481
--- /dev/null
+++ b/source/text/scalc/01/02140200.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Right</title>
+<filename>/text/scalc/01/02140200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rechts">
+ <bookmark xml-lang="en-US" branch="hid/.uno:FillRight" id="bm_id9676564" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:FillRight" xml-lang="en-US" id="bm_id3149456"/><paragraph id="hd_id3153896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/scalc/01/02140200.xhp" name="Right">Right</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153361" xml-lang="en-US" oldref="2"><ahelp hid=".uno:FillRight" visibility="visible">Fills a selected range of at least two columns with the contents of the left most cell.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bausrechts"/>
+</section>
+ <paragraph role="paragraph" id="par_id3154684" l10n="U" xml-lang="en-US" oldref="3">If a range of only one row is selected, the contents of the far left cell are copied to all the other selected cells. If you have selected several rows, each of the far left cells is copied into those cells to the right.</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02140300.xhp b/source/text/scalc/01/02140300.xhp
new file mode 100644
index 0000000000..354f340a99
--- /dev/null
+++ b/source/text/scalc/01/02140300.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Up</title>
+<filename>/text/scalc/01/02140300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="oben">
+ <bookmark xml-lang="en-US" branch="hid/.uno:FillUp" id="bm_id8879597" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:FillUp" xml-lang="en-US" id="bm_id3149456"/><paragraph id="hd_id3147264" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/scalc/01/02140300.xhp" name="Up">Up</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150793" xml-lang="en-US" oldref="2"><ahelp hid=".uno:FillUp" visibility="visible">Fills a selected range of at least two rows with the contents of the bottom most cell.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bausoben"/>
+</section>
+ <paragraph role="paragraph" id="par_id3150447" l10n="U" xml-lang="en-US" oldref="3">If a selected range has only one column, the content of the bottom most cell is copied into the selected cells. If several columns are selected, the contents of the bottom most cells are copied into those selected above.</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02140400.xhp b/source/text/scalc/01/02140400.xhp
new file mode 100644
index 0000000000..95537323f5
--- /dev/null
+++ b/source/text/scalc/01/02140400.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Left</title>
+<filename>/text/scalc/01/02140400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="links">
+ <bookmark xml-lang="en-US" branch="hid/.uno:FillLeft" id="bm_id3332954" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:FillLeft" xml-lang="en-US" id="bm_id3149456"/><paragraph id="hd_id3153896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/scalc/01/02140400.xhp" name="Left">Left</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150793" xml-lang="en-US" oldref="2"><ahelp hid=".uno:FillLeft" visibility="visible">Fills a selected range of at least two columns with the contents of the far right cell.</ahelp></paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bauslinks"/>
+</section>
+ <paragraph role="paragraph" id="par_id3156280" l10n="U" xml-lang="en-US" oldref="3">If a selected range has only one row, the content of the far right cell is copied into all other cells of the range. If several rows are selected, the far right cells are copied into the cells to the left.</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02140500.xhp b/source/text/scalc/01/02140500.xhp
new file mode 100644
index 0000000000..071232e6d1
--- /dev/null
+++ b/source/text/scalc/01/02140500.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Fill Sheet</title>
+<filename>/text/scalc/01/02140500.xhp</filename>
+</topic>
+</meta>
+<body>
+
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:FillTable" id="bm_id3912388" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:FillTable" xml-lang="en-US" id="bm_id3148664"/><paragraph role="heading" level="1" id="hd_id3153897" l10n="U" xml-lang="en-US" oldref="1">Fill Sheet</paragraph>
+ <paragraph l10n="CHG" role="paragraph" id="par_id3150791" xml-lang="en-US" oldref="2"><variable id="tabellenfuellentext"><ahelp hid=".uno:FillTable" visibility="visible">Specifies the options for transferring sheets or ranges of a certain sheet.</ahelp></variable></paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#baustab"/>
+</section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150767" l10n="U" oldref="3">In contrast to copying an area to the clipboard, you can filter certain information and calculate values. This command is only visible if you have selected two sheets in the document. To select multiple sheets, click each sheet tab while pressing <switchinline select="sys"> <caseinline select="MAC">Command</caseinline> <defaultinline>Ctrl</defaultinline> </switchinline> or Shift.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155131" l10n="CHG" xml-lang="en-US" oldref="4">Filling a Sheet</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph role="listitem" id="par_id3146119" l10n="CHG" xml-lang="en-US" oldref="5">Select the entire sheet by clicking the empty gray box in the upper left of the sheet. You can also select an area of the sheet to be copied.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3153726" l10n="U" oldref="6">Press <switchinline select="sys"> <caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and click the tab of the sheet where you want to insert the contents.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" oldref="7" l10n="U" role="listitem" id="par_id3147436">Select the command <emph>Edit - Fill - Sheet</emph>. In the dialog which appears, the check box <emph>Numbers</emph> must be selected (or <emph>Paste All</emph>) if you want to combine operations with the values. You can also choose the desired operation here.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3154942" l10n="U" oldref="8">Click <emph>OK</emph>.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3156283" l10n="U" oldref="9">This dialog is similar to the <link href="text/shared/01/02070000.xhp" name="Paste Contents">Paste Contents</link> dialog, where you can find additional tips.</paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02140600.xhp b/source/text/scalc/01/02140600.xhp
new file mode 100644
index 0000000000..e5d3f7c432
--- /dev/null
+++ b/source/text/scalc/01/02140600.xhp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102140600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Fill Series</title>
+<filename>/text/scalc/01/02140600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-08-17T11:59:40">FPE: Inserted link for AutoFill</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/.uno:FillSeries" id="bm_id709198" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:FillSeries" id="bm_id3150791" localize="false"/>
+<paragraph role="heading" id="hd_id3148664" xml-lang="en-US" level="1" l10n="U" oldref="1">Fill Series</paragraph>
+<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="2"><variable id="reihenfuellentext"><ahelp hid=".uno:FillSeries">Automatically generate series with the options in this dialog. Determine direction, increment, time unit and series type.</ahelp>
+</variable></paragraph>
+<paragraph role="note" id="par_id3146976" xml-lang="en-US" l10n="U" oldref="41">Before filling a series, first select the cell range.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bausreihe"/>
+</section>
+<paragraph role="paragraph" id="par_id3145748" xml-lang="en-US" l10n="U" oldref="3">To automatically continue a series using the assumed completion rules, choose the <emph>AutoFill</emph> option after opening the <emph>Fill Series</emph> dialog.</paragraph>
+<paragraph role="heading" id="hd_id3147435" xml-lang="en-US" level="2" l10n="U" oldref="4">Direction</paragraph>
+<paragraph role="paragraph" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="5">Determines the direction of series creation.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_BOTTOM" id="bm_id3147124" localize="false"/>
+<paragraph role="heading" id="hd_id3145253" xml-lang="en-US" level="3" l10n="U" oldref="6">Down</paragraph>
+<paragraph role="paragraph" id="par_id3155418" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_BOTTOM">Creates a downward series in the selected cell range for the column using the defined increment to the end value.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_RIGHT" id="bm_id3153415" localize="false"/>
+<paragraph role="heading" id="hd_id3155738" xml-lang="en-US" level="3" l10n="U" oldref="8">Right</paragraph>
+<paragraph role="paragraph" id="par_id3149402" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_RIGHT">Creates a series running from left to right within the selected cell range using the defined increment to the end value.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_TOP" id="bm_id3155067" localize="false"/>
+<paragraph role="heading" id="hd_id3146972" xml-lang="en-US" level="3" l10n="U" oldref="10">Up</paragraph>
+<paragraph role="paragraph" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_TOP">Creates an upward series in the cell range of the column using the defined increment to the end value.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_LEFT" id="bm_id3147341" localize="false"/>
+<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="3" l10n="U" oldref="12">Left</paragraph>
+<paragraph role="paragraph" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_LEFT">Creates a series running from right to left in the selected cell range using the defined increment to the end value.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3147344" xml-lang="en-US" level="2" l10n="U" oldref="14">Series Type</paragraph>
+<paragraph role="paragraph" id="par_id3149257" xml-lang="en-US" l10n="U" oldref="15">Defines the series type. Choose between <emph>Linear, Growth, Date </emph>and <emph>AutoFill</emph>.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_ARITHMETIC" id="bm_id3150298" localize="false"/>
+<paragraph role="heading" id="hd_id3148488" xml-lang="en-US" level="3" l10n="U" oldref="16">Linear</paragraph>
+<paragraph role="paragraph" id="par_id3159238" xml-lang="en-US" l10n="U" oldref="17"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_ARITHMETIC">Creates a linear number series using the defined increment and end value.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_GEOMETRIC" id="bm_id3150784" localize="false"/>
+<paragraph role="heading" id="hd_id3149210" xml-lang="en-US" level="3" l10n="U" oldref="18">Growth</paragraph>
+<paragraph role="paragraph" id="par_id3150364" xml-lang="en-US" l10n="U" oldref="19"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_GEOMETRIC">Creates a growth series using the defined increment and end value.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_DATE" id="bm_id3155378" localize="false"/>
+<paragraph role="heading" id="hd_id3149528" xml-lang="en-US" level="3" l10n="U" oldref="20">Date</paragraph>
+<paragraph role="paragraph" id="par_id3150887" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_DATE">Creates a date series using the defined increment and end date.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_AUTOFILL" id="bm_id3152985" localize="false"/>
+<paragraph role="heading" id="hd_id3150202" xml-lang="en-US" level="3" l10n="U" oldref="22">AutoFill</paragraph>
+<paragraph role="paragraph" id="par_id3156288" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_AUTOFILL">Forms a series directly in the sheet.</ahelp> The AutoFill function takes account of customized lists. For example, by entering <emph>January</emph> in the first cell, the series is completed using the list defined under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc - Sort Lists</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3155811" xml-lang="en-US" l10n="U" oldref="24">AutoFill tries to complete a value series by using a defined pattern. The series 1,3,5 is automatically completed with 7,9,11,13, and so on. Date and time series are completed accordingly; for example, after 01.01.99 and 15.01.99, an interval of 14 days is used.</paragraph>
+<paragraph role="paragraph" id="par_id2956483" xml-lang="en-US" l10n="NEW" localize="false">
+<embedvar href="text/scalc/guide/calc_series.xhp#calc_series"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3148700" xml-lang="en-US" level="2" l10n="U" oldref="25">Unit of Time</paragraph>
+<paragraph role="paragraph" id="par_id3153308" xml-lang="en-US" l10n="U" oldref="26">In this area you can specify the desired unit of time. This area is only active if the <emph>Date</emph> option has been chosen in the <emph>Series type</emph> area.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_DAY" id="bm_id3153913" localize="false"/>
+<paragraph role="heading" id="hd_id3148868" xml-lang="en-US" level="3" l10n="U" oldref="27">Day</paragraph>
+<paragraph role="paragraph" id="par_id3148605" xml-lang="en-US" l10n="U" oldref="28"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_DAY">Use the <emph>Date</emph> series type and this option to create a series using seven days.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_DAY_OF_WEEK" id="bm_id3145074" localize="false"/>
+<paragraph role="heading" id="hd_id3144771" xml-lang="en-US" level="3" l10n="U" oldref="29">Weekday</paragraph>
+<paragraph role="paragraph" id="par_id3150108" xml-lang="en-US" l10n="U" oldref="30"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_DAY_OF_WEEK">Use the <emph>Date</emph> series type and this option to create a series of five day sets.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_MONTH" id="bm_id3159204" localize="false"/>
+<paragraph role="heading" id="hd_id3154957" xml-lang="en-US" level="3" l10n="U" oldref="31">Month</paragraph>
+<paragraph role="paragraph" id="par_id3149126" xml-lang="en-US" l10n="U" oldref="32"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_MONTH">Use the <emph>Date</emph> series type and this option to form a series from the names or abbreviations of the months.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_FILLSERIES:BTN_YEAR" id="bm_id3146777" localize="false"/>
+<paragraph role="heading" id="hd_id3152870" xml-lang="en-US" level="3" l10n="U" oldref="33">Year</paragraph>
+<paragraph role="paragraph" id="par_id3151300" xml-lang="en-US" l10n="U" oldref="34"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_FILLSERIES:BTN_YEAR">Use the <emph>Date</emph> series type and this option to create a series of years.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:Edit:RID_SCDLG_FILLSERIES:ED_START_VALUES" id="bm_id3145357" localize="false"/>
+<paragraph role="heading" id="hd_id3154762" xml-lang="en-US" level="2" l10n="U" oldref="35">Start Value</paragraph>
+<paragraph role="paragraph" id="par_id3149381" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid="SC:EDIT:RID_SCDLG_FILLSERIES:ED_START_VALUES">Determines the start value for the series.</ahelp> Use numbers, dates or times.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:Edit:RID_SCDLG_FILLSERIES:ED_END_VALUES" id="bm_id3153557" localize="false"/>
+<paragraph role="heading" id="hd_id3153013" xml-lang="en-US" level="2" l10n="U" oldref="37">End Value</paragraph>
+<paragraph role="paragraph" id="par_id3153487" xml-lang="en-US" l10n="U" oldref="38"><ahelp hid="SC:EDIT:RID_SCDLG_FILLSERIES:ED_END_VALUES">Determines the end value for the series.</ahelp> Use numbers, dates or times.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:Edit:RID_SCDLG_FILLSERIES:ED_INCREMENT" id="bm_id3151196" localize="false"/>
+<paragraph role="heading" id="hd_id3149312" xml-lang="en-US" level="2" l10n="U" oldref="39">Increment</paragraph>
+<paragraph role="paragraph" id="par_id3154739" xml-lang="en-US" l10n="U" oldref="40">The term "increment" denotes the amount by which a given value increases.<ahelp hid="SC:EDIT:RID_SCDLG_FILLSERIES:ED_INCREMENT"> Determines the value by which the series of the selected type increases by each step.</ahelp> Entries can only be made if the linear, growth or date series types have been selected.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02150000.xhp b/source/text/scalc/01/02150000.xhp
new file mode 100644
index 0000000000..6f1bc4e4fa
--- /dev/null
+++ b/source/text/scalc/01/02150000.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102150000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Deleting Contents</title>
+<filename>/text/scalc/01/02150000.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143284"><bookmark_value>deleting; cell contents</bookmark_value>
+<bookmark_value>cells; deleting contents</bookmark_value>
+<bookmark_value>spreadsheets; deleting cell contents</bookmark_value>
+<bookmark_value>cell contents; deleting</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:Delete" id="bm_id5511579" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:Delete" id="bm_id3145382" localize="false"/><paragraph role="heading" id="hd_id3143284" xml-lang="en-US" level="1" l10n="U" oldref="1">Deleting Contents</paragraph>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="inhalteloeschentext"><ahelp hid=".uno:Delete">Specifies the contents to be deleted from the active cell or from a selected cell range.</ahelp>
+</variable> If several sheets are selected, all selected sheets will be affected.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#binhalt"/>
+</section>
+<paragraph role="tip" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="21">This dialog is also called by pressing Backspace after the cell cursor has been activated on the sheet.</paragraph>
+<paragraph role="tip" id="par_id3145367" xml-lang="en-US" l10n="U" oldref="22">Pressing Delete deletes content without calling the dialog or changing formats.</paragraph>
+<paragraph role="tip" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="23">Use <emph>Cut</emph> on the Standard bar to delete contents and formats without the dialog.</paragraph>
+<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="3">Selection</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="U" oldref="4">This area lists the options for deleting contents.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELALL" id="bm_id3144766" localize="false"/><paragraph role="heading" id="hd_id3146975" xml-lang="en-US" level="3" l10n="U" oldref="5">Delete All</paragraph>
+<paragraph role="paragraph" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELALL">Deletes all content from the selected cell range.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELSTRINGS" id="bm_id3147394" localize="false"/><paragraph role="heading" id="hd_id3156286" xml-lang="en-US" level="3" l10n="CHG" oldref="7">Text<comment>i50439</comment></paragraph>
+<paragraph role="paragraph" id="par_id3154015" xml-lang="en-US" l10n="CHG" oldref="8"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELSTRINGS">Deletes text only. Formats, formulas, numbers and dates are not affected.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELNUMBERS" id="bm_id3156276" localize="false"/><paragraph role="heading" id="hd_id3153840" xml-lang="en-US" level="3" l10n="U" oldref="9">Numbers</paragraph>
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELNUMBERS">Deletes numbers only. Formats and formulas remain unchanged.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELDATETIME" id="bm_id3154757" localize="false"/><paragraph role="heading" id="hd_id3155764" xml-lang="en-US" level="3" l10n="U" oldref="11">Date &amp; time</paragraph>
+<paragraph role="paragraph" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELDATETIME">Deletes date and time values. Formats, text, numbers and formulas remain unchanged.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELFORMULAS" id="bm_id3149256" localize="false"/><paragraph role="heading" id="hd_id3154703" xml-lang="en-US" level="3" l10n="U" oldref="13">Formulas</paragraph>
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="U" oldref="14"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELFORMULAS">Deletes formulas. Text, numbers, formats, dates and times remain unchanged.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELNOTES" id="bm_id3152775" localize="false"/><paragraph role="heading" id="hd_id3150300" xml-lang="en-US" level="3" l10n="U" oldref="15">Comments</paragraph>
+<paragraph role="paragraph" id="par_id3154658" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELNOTES">Deletes comments added to cells. All other elements remain unchanged.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELATTRS" id="bm_id3145258" localize="false"/><paragraph role="heading" id="hd_id3155112" xml-lang="en-US" level="3" l10n="U" oldref="17">Formats</paragraph>
+<paragraph role="paragraph" id="par_id3146134" xml-lang="en-US" l10n="U" oldref="18"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELATTRS">Deletes format attributes applied to cells. All cell content remains unchanged.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELOBJECTS" id="bm_id3152582" localize="false"/><paragraph role="heading" id="hd_id3150088" xml-lang="en-US" level="3" l10n="U" oldref="19">Objects</paragraph>
+<paragraph role="paragraph" id="par_id3152990" xml-lang="en-US" l10n="U" oldref="20"><ahelp hid="SC_CHECKBOX_RID_SCDLG_DELCONT_BTN_DELOBJECTS">Deletes objects. All cell content remains unchanged.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02160000.xhp b/source/text/scalc/01/02160000.xhp
new file mode 100644
index 0000000000..4bf43a8150
--- /dev/null
+++ b/source/text/scalc/01/02160000.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102160000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Delete Cells</title>
+<filename>/text/scalc/01/02160000.xhp</filename>
+</topic>
+</meta>
+<body>
+
+
+
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153726"><bookmark_value>cells; deleting cells</bookmark_value>
+<bookmark_value>columns; deleting</bookmark_value>
+<bookmark_value>rows; deleting</bookmark_value>
+<bookmark_value>spreadsheets; deleting cells</bookmark_value>
+<bookmark_value>deleting;cells/rows/columns</bookmark_value>
+</bookmark>
+ <comment>MW made one "deleting;" entry out of 3</comment>
+
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteCell" id="bm_id3151115" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3153726" role="heading" level="1" l10n="U" oldref="1">Delete Cells</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154490" role="paragraph" l10n="U" oldref="2"><variable id="zellenloeschentext"><ahelp hid=".uno:DeleteCell">Completely deletes selected cells, columns or rows. The cells below or to the right of the deleted cells will fill the space.</ahelp>
+</variable> Note that the selected delete option is stored and reloaded when the dialog is next called.</paragraph>
+ <section id="howtoget">
+
+ <embed href="text/scalc/00/00000402.xhp#bzelo"/>
+
+ </section>
+ <paragraph xml-lang="en-US" id="hd_id3149121" role="heading" level="2" l10n="U" oldref="3">Selection</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150751" role="paragraph" l10n="U" oldref="4">This area contains options for specifying how sheets are displayed after deleting cells.</paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_DELCELL:BTN_CELLSUP" id="bm_id3154755" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3155767" role="heading" level="3" l10n="U" oldref="5">Shift cells up</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153714" role="paragraph" l10n="U" oldref="6"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_DELCELL:BTN_CELLSUP">Fills the space produced by the deleted cells with the cells underneath it.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_DELCELL:BTN_CELLSLEFT" id="bm_id3147346" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3156382" role="heading" level="3" l10n="U" oldref="7">Shift cells left</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154702" role="paragraph" l10n="U" oldref="8"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_DELCELL:BTN_CELLSLEFT">Fills the resulting space by the cells to the right of the deleted cells.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELROWS" id="bm_id3149566" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteRows" id="bm_id3149565" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3146918" role="heading" level="3" l10n="U" oldref="9">Delete entire row(s)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148487" role="paragraph" l10n="U" oldref="10"><ahelp hid=".uno:DeleteRows">After selecting at least one cell, deletes the entire row from the sheet.</ahelp></paragraph>
+
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELCOLS" id="bm_id3150342" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteColumns" id="bm_id3159240" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3155114" role="heading" level="3" l10n="U" oldref="11">Delete entire column(s)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150086" role="paragraph" l10n="U" oldref="12"><ahelp hid=".uno:DeleteColumns">After selecting at least one cell, deletes the entire column from the sheet.</ahelp></paragraph>
+ <section id="relatedtopics">
+
+ <paragraph xml-lang="en-US" id="par_id3166424" role="paragraph" l10n="CHG"><link href="text/scalc/01/02150000.xhp" name="Deleting Contents">Deleting Contents</link></paragraph>
+
+ </section>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02170000.xhp b/source/text/scalc/01/02170000.xhp
new file mode 100644
index 0000000000..0ebfb372ff
--- /dev/null
+++ b/source/text/scalc/01/02170000.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102170000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Delete Sheet</title>
+<filename>/text/scalc/01/02170000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-27T11:19:29">converted from old format - fpe
+YJ: checked</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156424"><bookmark_value>spreadsheets; deleting</bookmark_value>
+<bookmark_value>sheets; deleting</bookmark_value>
+<bookmark_value>deleting; spreadsheets</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:Remove" id="bm_id7030283" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:Remove" id="bm_id3150769" localize="false"/>
+<paragraph role="heading" id="hd_id3156424" xml-lang="en-US" level="1" l10n="U" oldref="1"> Delete Sheet</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="2"><variable id="tabelleloeschentext"><ahelp hid=".uno:Remove">Deletes the current sheet after query confirmation.</ahelp>
+</variable></paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#btaloes"/>
+</section>
+<paragraph role="note" id="par_id3145801" xml-lang="en-US" l10n="CHG" oldref="7">You cannot delete a sheet while <emph>Edit - Changes - Record</emph> is activated.</paragraph>
+<paragraph role="heading" id="hd_id3147124" xml-lang="en-US" level="2" l10n="U" oldref="3">Yes</paragraph>
+<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US" l10n="U" oldref="4">Deletes the current sheet.</paragraph>
+<paragraph role="heading" id="hd_id3149412" xml-lang="en-US" level="2" l10n="U" oldref="5">No</paragraph>
+<paragraph role="paragraph" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="6">Cancels the dialog. No delete is performed.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02180000.xhp b/source/text/scalc/01/02180000.xhp
new file mode 100644
index 0000000000..d2d15b538f
--- /dev/null
+++ b/source/text/scalc/01/02180000.xhp
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102180000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Move or Copy a Sheet</title>
+<filename>/text/scalc/01/02180000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-02-16T15:25:21">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>spreadsheets; moving</bookmark_value>
+<bookmark_value>spreadsheets; copying</bookmark_value>
+<bookmark_value>moving; spreadsheets</bookmark_value>
+<bookmark_value>copying; spreadsheets</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:Move" id="bm_id9622978" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:Move" id="bm_id3149657" localize="false"/>
+<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="1" l10n="U" oldref="1">Move or Copy a Sheet</paragraph>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="2"><variable id="tabelleverschiebenkopierentext"><ahelp hid=".uno:Move">Moves or copies a sheet to a new location in the document or to a different document.</ahelp>
+</variable></paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#btaverko"/>
+</section>
+<paragraph role="warning" id="par_id2282479" xml-lang="en-US" l10n="NEW">When you copy and paste cells containing <link href="text/scalc/01/04060102.xhp">date values</link> between different spreadsheets, both spreadsheet documents must be set to the same date base. If date bases differ, the displayed date values will change!</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_MOVETAB:LB_DEST" id="bm_id3146119" localize="false"/>
+<paragraph role="heading" id="hd_id3163710" xml-lang="en-US" level="2" l10n="U" oldref="3">To Document</paragraph>
+<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="SC:LISTBOX:RID_SCDLG_MOVETAB:LB_DEST">Indicates where the current sheet is to be moved or copied to.</ahelp> Select <emph>- new document -</emph> if you want to create a new location for the sheet to be moved or copied.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:ListBox:RID_SCDLG_MOVETAB:LB_INSERT" id="bm_id3147350" localize="false"/>
+<paragraph role="heading" id="hd_id3154012" xml-lang="en-US" level="2" l10n="U" oldref="5">Insert Before</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid="SC:LISTBOX:RID_SCDLG_MOVETAB:LB_INSERT">The current sheet is moved or copied in front of the selected sheet.</ahelp> The <emph>- move to end position -</emph> option places the current sheet at the end.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_MOVETAB:BTN_COPY" id="bm_id3156283" localize="false"/>
+<paragraph role="heading" id="hd_id3153726" xml-lang="en-US" level="2" l10n="U" oldref="7">Copy</paragraph>
+<paragraph role="paragraph" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="SC:CHECKBOX:RID_SCDLG_MOVETAB:BTN_COPY">Specifies that the sheet is to be copied. If the option is unmarked, the sheet is moved.</ahelp> Moving sheets is the default.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02190000.xhp b/source/text/scalc/01/02190000.xhp
new file mode 100644
index 0000000000..b3adc19a43
--- /dev/null
+++ b/source/text/scalc/01/02190000.xhp
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102190000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Delete Manual Breaks</title>
+<filename>/text/scalc/01/02190000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-12-17T13:39:23">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="manuellen">
+<bookmark xml-lang="en-US" branch="hid/.uno:DelBreakMenu" id="bm_id8417004" localize="false"/>
+<paragraph role="heading" id="hd_id3150541" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02190000.xhp" name="Delete Manual Breaks">Delete Manual Break</link></paragraph>
+<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".">Choose the type of manual break that you want to delete.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bmaumloe"/>
+</section>
+<embed href="text/scalc/01/02190100.xhp#zeilenumbruch"/>
+<embed href="text/scalc/01/02190200.xhp#spaltenumbruch"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02190100.xhp b/source/text/scalc/01/02190100.xhp
new file mode 100644
index 0000000000..7192f13503
--- /dev/null
+++ b/source/text/scalc/01/02190100.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102190100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Row Break</title>
+<filename>/text/scalc/01/02190100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-11-28T09:18:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="zeilenumbruch">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156326"><bookmark_value>spreadsheets; deleting row breaks</bookmark_value>
+<bookmark_value>deleting;manual row breaks</bookmark_value>
+<bookmark_value>row breaks; deleting</bookmark_value>
+</bookmark><comment>MW deleted "removing;..." and changed "deleting;...!</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteRowbreak" id="bm_id6936520" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteRowbreak" id="bm_id3151384" localize="false"/>
+<paragraph role="heading" id="hd_id3156326" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02190100.xhp" name="Row Break">Row Break</link></paragraph>
+<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:DeleteRowbreak">Removes the manual row break above the active cell.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3151041" xml-lang="en-US" l10n="U" oldref="3">Position the cursor in a cell directly below the row break indicated by a horizontal line and choose <emph>Edit - Delete Manual Break - Row Break</emph>. The manual row break is removed.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000402.xhp#bzeilum"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02190200.xhp b/source/text/scalc/01/02190200.xhp
new file mode 100644
index 0000000000..0318ff6150
--- /dev/null
+++ b/source/text/scalc/01/02190200.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102190200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Column Break</title>
+<filename>/text/scalc/01/02190200.xhp</filename>
+</topic>
+</meta>
+<body>
+
+
+ <section id="spaltenumbruch">
+
+
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151384"><bookmark_value>spreadsheets;deleting column breaks</bookmark_value>
+<bookmark_value>deleting;manual column breaks</bookmark_value>
+<bookmark_value>column breaks;deleting</bookmark_value>
+</bookmark>
+ <comment>MW deleted "removing;" and changed "deleting;"</comment>
+
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteColumnbreak" id="bm_id2513425" localize="false"/>
+
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteColumnbreak" id="bm_id3154758" localize="false"/>
+ <paragraph xml-lang="en-US" id="hd_id3151384" role="heading" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02190200.xhp" name="Column Break">Column Break</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154124" role="paragraph" l10n="U" oldref="2"><ahelp hid=".uno:DeleteColumnbreak">Removes a manual column break to the left of the active cell.</ahelp></paragraph>
+
+ </section>
+ <paragraph xml-lang="en-US" id="par_id3145173" role="paragraph" l10n="U" oldref="3">Position the cursor in the cell to the right of the column break indicated by a vertical line and choose <emph>Edit - Delete Manual Break - Column Break</emph>. The manual column break is removed.</paragraph>
+ <section id="howtoget">
+
+ <embed href="text/scalc/00/00000402.xhp#bspaum"/>
+
+ </section>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/02200000.xhp b/source/text/scalc/01/02200000.xhp
new file mode 100644
index 0000000000..a33e5cdab1
--- /dev/null
+++ b/source/text/scalc/01/02200000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102200000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sheet</title>
+<filename>/text/scalc/01/02200000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="tabellen">
+<bookmark xml-lang="en-US" branch="hid/.uno:EditSheetMenu" id="bm_id8190862" localize="false"/>
+<paragraph role="heading" id="hd_id3146794" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/02200000.xhp" name="Sheet">Sheet</link></paragraph>
+<paragraph role="paragraph" id="par_id3149456" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".">Edit commands for entire sheets.</ahelp></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="3"><link href="text/scalc/01/02180000.xhp" name="Move/Copy">Move/Copy</link></paragraph>
+<embed href="text/scalc/01/02180000.xhp#tabelleverschiebenkopierentext"/>
+<paragraph role="heading" id="hd_id3153968" xml-lang="en-US" level="2" l10n="U" oldref="4"><link href="text/scalc/01/02210000.xhp" name="Select">Select</link></paragraph>
+<embed href="text/scalc/01/02210000.xhp#tabellenauswaehlen"/>
+<paragraph role="heading" id="hd_id3163708" xml-lang="en-US" level="2" l10n="U" oldref="5"><link href="text/scalc/01/02170000.xhp" name="Delete">Delete</link></paragraph>
+<embed href="text/scalc/01/02170000.xhp#tabelleloeschentext"/>
+<paragraph role="heading" id="hd_id3163733308" xml-lang="en-US" level="2" l10n="NEW"><link href="text/shared/01/06140500.xhp" name="Events">Events</link></paragraph>
+<embed href="text/shared/01/06140500.xhp#assignaction"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/02210000.xhp b/source/text/scalc/01/02210000.xhp
new file mode 100644
index 0000000000..8990670216
--- /dev/null
+++ b/source/text/scalc/01/02210000.xhp
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0102210000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Selecting Sheets</title>
+<filename>/text/scalc/01/02210000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <bookmark xml-lang="en-US" branch="hid/.uno:SelectTables" id="bm_id6707893" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:SelectTables" xml-lang="en-US" id="bm_id3154758"/><paragraph role="heading" level="1" id="hd_id3156023" l10n="U" xml-lang="en-US" oldref="5">Selecting Sheets</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147265" xml-lang="en-US" oldref="1"><variable id="tabellenauswaehlen"><ahelp hid=".uno:SelectTables" visibility="visible">Selects multiple sheets.</ahelp></variable></paragraph>
+ <bookmark branch="hid/SC_HID_SELECTTABLES" xml-lang="en-US" id="bm_id3154126"/><paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="2">Selected Sheets</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153969" xml-lang="en-US" oldref="3"><ahelp hid="HID_SELECTTABLES" visibility="visible">Lists the sheets in the current document. To select a sheet, press the up or down arrow keys to move to a sheet in the list. To add a sheet to the selection, hold down Ctrl (Mac: Command) while pressing the arrow keys and then press Spacebar. To select a range of sheets, hold down Shift and press the arrow keys. </ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/03070000.xhp b/source/text/scalc/01/03070000.xhp
new file mode 100644
index 0000000000..40e99a6284
--- /dev/null
+++ b/source/text/scalc/01/03070000.xhp
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0103070000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Column &amp; Row Headers</title>
+<filename>/text/scalc/01/03070000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2005-10-11T13:27:38">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="spaltenzeilenkoepfe">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>spreadsheets; displaying headers of columns/rows</bookmark_value>
+<bookmark_value>displaying; headers of columns/rows</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:ViewRowColumnHeaders" id="bm_id4366858" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:ViewRowColumnHeaders" id="bm_id3147265" localize="false"/>
+<paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/03070000.xhp" name="Column &amp; Row Headers">Column &amp; Row Headers</link></paragraph>
+<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".uno:ViewRowColumnHeaders">Shows column headers and row headers.</ahelp></paragraph>
+</section>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="4">To hide the column and row headers unmark this menu entry.</paragraph>
+</listitem>
+</list>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000403.xhp#aspze"/>
+</section>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="3">You can also set the view of the column and row headers in <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp" name="Spreadsheet - View">%PRODUCTNAME Calc - View</link></emph>.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/03080000.xhp b/source/text/scalc/01/03080000.xhp
new file mode 100644
index 0000000000..b006434b89
--- /dev/null
+++ b/source/text/scalc/01/03080000.xhp
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><helpdocument version="1.0">
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+
+<meta>
+<topic id="textscalc0103080000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Value Highlighting</title>
+<filename>/text/scalc/01/03080000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="wertehervorheben">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151384">
+<bookmark_value>spreadsheets; value highlighting</bookmark_value>
+<bookmark_value>values;highlighting</bookmark_value>
+<bookmark_value>highlighting; values in sheets</bookmark_value>
+<bookmark_value>colors;values</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:ViewValueHighlighting" id="bm_id3145068" localize="false"/>
+<paragraph id="hd_id3151384" role="heading" xml-lang="en-US" level="1"><link href="text/scalc/01/03080000.xhp" name="Value Highlighting">Value Highlighting</link></paragraph>
+<paragraph id="par_id3154366" role="paragraph" xml-lang="en-US"><ahelp hid=".uno:ViewValueHighlighting">Displays cell contents in different colors, depending on type.</ahelp></paragraph>
+</section>
+<paragraph id="par_id3125863" role="paragraph" xml-lang="en-US">To remove the highlighting, unmark the menu entry.</paragraph>
+<section id="howtoget"><embed href="text/scalc/00/00000403.xhp#awehe"/>
+</section>
+<paragraph id="par_id3145785" role="paragraph" xml-lang="en-US">Text cells are formatted in black, formulas in green, and number cells in blue, no matter how their display is formatted.</paragraph>
+<paragraph id="par_id3153188" role="warning" xml-lang="en-US">If this function is active, colors that you define in the document will not be displayed. When you deactivate the function, the user-defined colors are displayed again.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/03090000.xhp b/source/text/scalc/01/03090000.xhp
new file mode 100644
index 0000000000..19ac2efc4f
--- /dev/null
+++ b/source/text/scalc/01/03090000.xhp
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0103090000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Formula Bar</title>
+<filename>/text/scalc/01/03090000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T12:57:24">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="rechenleiste">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147264"><bookmark_value>formula bar;spreadsheets</bookmark_value>
+<bookmark_value>spreadsheets; formula bar</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:InputLineVisible" id="bm_id268003" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:InputLineVisible" id="bm_id3148663" localize="false"/>
+<paragraph role="heading" id="hd_id3147264" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/03090000.xhp" name="Formula Bar">Formula Bar</link></paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:InputLineVisible">Shows or hides the Formula Bar, which is used for entering and editing formulas.</ahelp> The Formula Bar is the most important tool when working with spreadsheets.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="4">To hide the Formula Bar, unmark the menu item.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000403.xhp#rechenleiste"/>
+</section>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="3">If the Formula Bar is hidden, you can still edit cells by activating the edit mode with F2. After editing cells, accept the changes by pressing Enter, or discard entries by pressing Esc. Esc is also used to exit the edit mode.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/03100000.xhp b/source/text/scalc/01/03100000.xhp
new file mode 100644
index 0000000000..1fef7b643c
--- /dev/null
+++ b/source/text/scalc/01/03100000.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0103100000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Page Break Preview</title>
+<filename>/text/scalc/01/03100000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-09-02T11:31:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="seitenumbruchvorschau">
+<bookmark xml-lang="en-US" branch="hid/.uno:PagebreakMode" id="bm_id3465342" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:PagebreakMode" id="bm_id3154758" localize="false"/>
+<paragraph role="heading" id="hd_id3151384" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/03100000.xhp" name="Page Break Preview">Page Break Preview</link></paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:PagebreakMode">Display the page breaks and print ranges in the sheet. Choose <emph>View - Normal</emph> to switch this mode off.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000403.xhp#seumvo"/>
+</section>
+<embed href="text/scalc/guide/print_details.xhp#print_details"/>
+<embed href="text/scalc/guide/print_exact.xhp#print_exact"/>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="13">The context menu of the page break preview contains functions for editing page breaks, including the following options:</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteAllBreaks" id="bm_id8896104" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:DeleteAllBreaks" id="bm_id3155602" localize="false"/>
+<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="2" l10n="U" oldref="14">Delete All Manual Breaks</paragraph>
+<paragraph role="paragraph" id="par_id3149400" xml-lang="en-US" l10n="U" oldref="15"><ahelp hid=".uno:DeleteAllBreaks">Deletes all manual breaks in the current sheet.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155067" xml-lang="en-US" level="2" l10n="U" oldref="18">Add Print Range</paragraph>
+<paragraph role="paragraph" id="par_id3155764" xml-lang="en-US" l10n="U" oldref="19">Adds the selected cells to print ranges.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04010000.xhp b/source/text/scalc/01/04010000.xhp
new file mode 100644
index 0000000000..2d0d408141
--- /dev/null
+++ b/source/text/scalc/01/04010000.xhp
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104010000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Manual Break</title>
+<filename>/text/scalc/01/04010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-03-07T14:43:59">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="manueller">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153192"><bookmark_value>spreadsheets; inserting breaks in</bookmark_value>
+<bookmark_value>inserting; breaks</bookmark_value>
+<bookmark_value>page breaks; inserting in spreadsheets</bookmark_value>
+</bookmark><comment>mw changed "page breaks;..."</comment>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertBreakMenu" id="bm_id2778710" localize="false"/>
+<paragraph role="heading" id="hd_id3153192" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/04010000.xhp" name="Manual Break">Manual Break</link></paragraph>
+<paragraph role="paragraph" id="par_id3125864" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid=".">This command inserts manual row or column breaks to ensure that your data prints properly. You can insert a horizontal page break above, or a vertical page break to the left of, the active cell.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3155133" xml-lang="en-US" l10n="CHG" oldref="3">Choose <link href="text/scalc/01/02190000.xhp" name="Edit - Delete Manual Break">Edit - Delete Manual Break</link> to remove breaks created manually.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eimaum"/>
+</section>
+<embed href="text/scalc/01/04010100.xhp#zeilenumbruch"/>
+<embed href="text/scalc/01/04010200.xhp#spaltenumbruch"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04010100.xhp b/source/text/scalc/01/04010100.xhp
new file mode 100644
index 0000000000..2f73209070
--- /dev/null
+++ b/source/text/scalc/01/04010100.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104010100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Row Break</title>
+<filename>/text/scalc/01/04010100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T11:21:32">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="zeilenumbruch">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153821"><bookmark_value>sheets; inserting row breaks</bookmark_value>
+<bookmark_value>row breaks; inserting</bookmark_value>
+<bookmark_value>inserting; manual row breaks</bookmark_value>
+<bookmark_value>manual row breaks</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertRowBreak" id="bm_id7744261" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertRowBreak" id="bm_id3151245" localize="false"/>
+<paragraph role="heading" id="hd_id3153821" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/04010100.xhp" name="Row Break">Row Break</link></paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:InsertRowBreak">Inserts a row break (horizontal page break) above the selected cell.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="3">The manual row break is indicated by a dark blue horizontal line.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eimaumze"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04010200.xhp b/source/text/scalc/01/04010200.xhp
new file mode 100644
index 0000000000..896bef2786
--- /dev/null
+++ b/source/text/scalc/01/04010200.xhp
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104010200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Column Break</title>
+<filename>/text/scalc/01/04010200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T11:20:46">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="spaltenumbruch">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155923"><bookmark_value>spreadsheets; inserting column breaks</bookmark_value>
+<bookmark_value>column breaks; inserting</bookmark_value>
+<bookmark_value>inserting; manual column breaks</bookmark_value>
+<bookmark_value>manual column breaks</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertColumnBreak" id="bm_id9499162" localize="false"/><!-- HID added by script -->
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertColumnBreak" id="bm_id3148947" localize="false"/>
+<paragraph role="heading" id="hd_id3155923" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/04010200.xhp" name="Column Break">Column Break</link></paragraph>
+<paragraph role="paragraph" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:InsertColumnBreak">Inserts a column break (vertical page break) to the left of the active cell.</ahelp></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="3">The manual column break is indicated by a dark blue vertical line.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eimaumsp"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04020000.xhp b/source/text/scalc/01/04020000.xhp
new file mode 100644
index 0000000000..38e12850f5
--- /dev/null
+++ b/source/text/scalc/01/04020000.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104020000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Insert Cells</title>
+<filename>/text/scalc/01/04020000.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156023"><bookmark_value>spreadsheets; inserting cells</bookmark_value>
+<bookmark_value>cells; inserting</bookmark_value>
+<bookmark_value>inserting; cells</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCell" id="bm_id6503296" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCell" id="bm_id3147264" localize="false"/><paragraph role="heading" id="hd_id3156023" xml-lang="en-US" level="1" l10n="U" oldref="1"> Insert Cells</paragraph>
+<paragraph role="paragraph" id="par_id3150542" xml-lang="en-US" l10n="U" oldref="2"><variable id="zelleneinfuegentext"><ahelp hid=".uno:InsertCell">Opens the<emph> Insert Cells </emph>dialog, in which you can insert new cells according to the options that you specify.</ahelp>
+</variable> You can delete cells by choosing <link href="text/scalc/01/02160000.xhp" name="Edit - Delete Cells"><emph>Edit - Delete Cells</emph></link>.</paragraph>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eize"/>
+</section>
+<paragraph role="heading" id="hd_id3153768" xml-lang="en-US" level="2" l10n="U" oldref="3">Selection</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="4">This area contains the options available for inserting cells into a sheet. The cell quantity and position is defined by selecting a cell range in the sheet beforehand.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCellsDown" id="bm_id6210706" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCellsDown" id="bm_id3152578" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSCELL:BTN_CELLSDOWN" id="bm_id3145271" localize="false"/><paragraph role="heading" id="hd_id3146120" xml-lang="en-US" level="3" l10n="U" oldref="5">Shift cells down</paragraph>
+<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="6"><variable id="zellenuntentext"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSCELL:BTN_CELLSDOWN">Moves the contents of the selected range downward when cells are inserted.</ahelp>
+</variable></paragraph>
+<embed href="text/scalc/00/00000404.xhp#syzellenunten"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCellsRight" id="bm_id7689959" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertCellsRight" id="bm_id3151118" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSCELL:BTN_CELLSRIGHT" id="bm_id3147348" localize="false"/><paragraph role="heading" id="hd_id3147434" xml-lang="en-US" level="3" l10n="U" oldref="7">Shift cells right</paragraph>
+<paragraph role="paragraph" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="8"><variable id="zellenrechtstext"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSCELL:BTN_CELLSRIGHT">Moves the contents of the selected range to the right when cells are inserted.</ahelp>
+</variable></paragraph>
+<embed href="text/scalc/00/00000404.xhp#syzellenrechts"/>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSCELL:BTN_INSROWS" id="bm_id3154731" localize="false"/><paragraph role="heading" id="hd_id3153877" xml-lang="en-US" level="3" l10n="U" oldref="9">Entire row</paragraph>
+<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="10"><variable id="zeilenganzetext"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSCELL:BTN_INSROWS">Inserts an entire row. The position of the row is determined by the selection on the sheet.</ahelp>
+</variable> The number of rows inserted depends on how many rows are selected. The contents of the original rows are moved downward.</paragraph>
+<embed href="text/scalc/00/00000404.xhp#syzeilenganze"/>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSCELL:BTN_INSCOLS" id="bm_id3150750" localize="false"/><paragraph role="heading" id="hd_id3146971" xml-lang="en-US" level="3" l10n="U" oldref="11">Entire column</paragraph>
+<paragraph role="paragraph" id="par_id3155068" xml-lang="en-US" l10n="CHG" oldref="12"><variable id="spaltenganzetext"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSCELL:BTN_INSCOLS">Inserts an entire column. The number of columns to be inserted is determined by the selected number of columns.</ahelp>
+</variable> The contents of the original columns are shifted to the right.</paragraph>
+<embed href="text/scalc/00/00000404.xhp#syspaltenganze"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04030000.xhp b/source/text/scalc/01/04030000.xhp
new file mode 100644
index 0000000000..da25f52385
--- /dev/null
+++ b/source/text/scalc/01/04030000.xhp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104030000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Rows</title>
+<filename>/text/scalc/01/04030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zeilen">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150541"><bookmark_value>spreadsheets; inserting rows</bookmark_value><bookmark_value>rows; inserting</bookmark_value><bookmark_value>inserting; rows</bookmark_value></bookmark><bookmark xml-lang="en-US" branch="hid/.uno:InsertRows" id="bm_id4302477" localize="false"/><!-- HID added by script -->
+<bookmark branch="hid/.uno:InsertRows" xml-lang="en-US" id="bm_id3154366"/><paragraph id="hd_id3150541" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/scalc/01/04030000.xhp" name="Rows">Rows</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150767" xml-lang="en-US" oldref="2"><ahelp hid=".uno:InsertRows" visibility="visible">Inserts a new row above the active cell.</ahelp> The number of rows inserted correspond to the number of rows selected. The existing rows are moved downward.</paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eizei"/>
+</section>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/04040000.xhp b/source/text/scalc/01/04040000.xhp
new file mode 100644
index 0000000000..fd679dcea9
--- /dev/null
+++ b/source/text/scalc/01/04040000.xhp
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104040000xml" indexer="include">
+<title id="tit" xml-lang="en-US">Columns</title>
+<filename>/text/scalc/01/04040000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="spalten">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155628"><bookmark_value>spreadsheets; inserting columns</bookmark_value>
+<bookmark_value>inserting; columns</bookmark_value>
+<bookmark_value>columns; inserting</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertColumns" id="bm_id601010" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertColumns" id="bm_id3155922" localize="false"/>
+<paragraph role="heading" id="hd_id3155628" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/04040000.xhp" name="Columns">Columns</link></paragraph>
+<paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid=".uno:InsertColumns">Inserts a new column to the left of the active cell.</ahelp> The number of columns inserted corresponds to the number of columns selected. The existing columns are moved to the right.</paragraph>
+</section>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eispa"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04050000.xhp b/source/text/scalc/01/04050000.xhp
new file mode 100644
index 0000000000..94627a9d0a
--- /dev/null
+++ b/source/text/scalc/01/04050000.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104050000xml" indexer="include">
+<title id="tit" xml-lang="en-US">Insert Sheet</title>
+<filename>/text/scalc/01/04050000.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id4522232"><bookmark_value>sheets;creating</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/sc:ModalDialog:RID_SCDLG_INSERT_TABLE" id="bm_id3151384" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:Insert" id="bm_id1669896" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:Insert" id="bm_id3153896" localize="false"/>
+<paragraph role="heading" id="hd_id3155629" xml-lang="en-US" level="1" l10n="U" oldref="1">Insert Sheet</paragraph>
+<paragraph role="paragraph" id="par_id3147264" xml-lang="en-US" l10n="U" oldref="2"><variable id="tabelleeinfuegentext"><ahelp hid=".uno:Insert">Defines the options to be used to insert a new sheet.</ahelp> You can create a new sheet, or insert an existing sheet from a file.
+</variable></paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eitab"/>
+</section>
+<paragraph role="heading" id="hd_id3154684" xml-lang="en-US" level="2" l10n="U" oldref="19">Position</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="20">Specifies where the new sheet is to be inserted into your document.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEFORE" id="bm_id3155131" localize="false"/>
+<paragraph role="heading" id="hd_id3154123" xml-lang="en-US" level="3" l10n="U" oldref="21">Before current sheet</paragraph>
+<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US" l10n="U" oldref="22"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSERT_TABLE:RB_BEFORE">Inserts a new sheet directly before the current sheet.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEHIND" id="bm_id3147434" localize="false"/>
+<paragraph role="heading" id="hd_id3155414" xml-lang="en-US" level="3" l10n="U" oldref="23">After current sheet</paragraph>
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="24"><ahelp hid="SC:RADIOBUTTON:RID_SCDLG_INSERT_TABLE:RB_BEHIND">Inserts a new sheet directly after the current sheet.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3147428" xml-lang="en-US" level="2" l10n="CHG" oldref="25">Sheet</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="26">Specifies whether a new sheet or an existing sheet is inserted into the document.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_NEW" id="bm_id3145750" localize="false"/>
+<paragraph role="heading" id="hd_id3147350" xml-lang="en-US" level="2" l10n="CHG" oldref="3">New sheet</paragraph>
+<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="CHG" oldref="4"><ahelp hid="SC_RADIOBUTTON_RID_SCDLG_INSERT_TABLE_RB_NEW">Creates a new sheet. Enter a sheet name in the <emph>Name</emph> field. Allowed characters are letters, numbers, spaces, and the underline character.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:NumericField:RID_SCDLG_INSERT_TABLE:NF_COUNT" id="bm_id3153157" localize="false"/>
+<paragraph role="heading" id="hd_id3155418" xml-lang="en-US" level="3" l10n="CHG" oldref="27">No. of sheets</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="28"><ahelp hid="SC:NUMERICFIELD:RID_SCDLG_INSERT_TABLE:NF_COUNT">Specifies the number of sheets to be created.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:Edit:RID_SCDLG_INSERT_TABLE:ED_TABNAME" id="bm_id3154510" localize="false"/>
+<paragraph role="heading" id="hd_id3149379" xml-lang="en-US" level="3" l10n="U" oldref="7">Name</paragraph>
+<paragraph role="paragraph" id="par_id3150718" xml-lang="en-US" l10n="CHG" oldref="8"><ahelp hid="SC:EDIT:RID_SCDLG_INSERT_TABLE:ED_TABNAME">Specifies the name of the new sheet.</ahelp></paragraph>
+<embed href="text/scalc/guide/rename_table.xhp#rename_table"/>
+<bookmark xml-lang="en-US" branch="hid/sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_FROMFILE" id="bm_id3150328" localize="false"/>
+<paragraph role="heading" id="hd_id3155066" xml-lang="en-US" level="2" l10n="U" oldref="9">From File</paragraph>
+<paragraph role="paragraph" id="par_id3153714" xml-lang="en-US" l10n="CHG" oldref="10"><ahelp hid="SC_RADIOBUTTON_RID_SCDLG_INSERT_TABLE_RB_FROMFILE">Inserts a sheet from an existing file into the current document.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:PushButton:RID_SCDLG_INSERT_TABLE:BTN_BROWSE" id="bm_id3150044" localize="false"/>
+<paragraph role="heading" id="hd_id3149020" xml-lang="en-US" level="3" l10n="U" oldref="15">Browse</paragraph>
+<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US" l10n="CHG" oldref="16"><ahelp hid="SC:PUSHBUTTON:RID_SCDLG_INSERT_TABLE:BTN_BROWSE">Opens a dialog for selecting a file.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:MultiListBox:RID_SCDLG_INSERT_TABLE:LB_TABLES" id="bm_id3146314" localize="false"/>
+<paragraph role="heading" id="hd_id3149255" xml-lang="en-US" level="3" l10n="U" oldref="29">Available Sheets</paragraph>
+<paragraph role="paragraph" id="par_id3155336" xml-lang="en-US" l10n="U" oldref="30"><ahelp hid="SC:MULTILISTBOX:RID_SCDLG_INSERT_TABLE:LB_TABLES">If you selected a file by using the <emph>Browse</emph> button, the sheets contained in it are displayed in the list box. The file path is displayed below this box. Select the sheet to be inserted from the list box.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:RID_SCDLG_INSERT_TABLE:CB_LINK" id="bm_id3149814" localize="false"/>
+<paragraph role="heading" id="hd_id3145791" xml-lang="en-US" level="3" l10n="U" oldref="17">Link</paragraph>
+<paragraph role="paragraph" id="par_id3152580" xml-lang="en-US" l10n="CHG" oldref="18"><ahelp hid="SC_CHECKBOX_RID_SCDLG_INSERT_TABLE_CB_LINK">Select to insert the sheet as a link instead as a copy. The links can be updated to show the current contents.</ahelp></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04050100.xhp b/source/text/scalc/01/04050100.xhp
new file mode 100644
index 0000000000..be5fc595b6
--- /dev/null
+++ b/source/text/scalc/01/04050100.xhp
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+ <helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104050100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Sheet from file</title>
+<filename>/text/scalc/01/04050100.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="sheetfromfile">
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertSheetFromFile" id="bm_id1850337" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:InsertSheetFromFile" id="bm_id4379406" localize="false"/><paragraph role="heading" id="par_idN105C1" xml-lang="en-US" level="1" l10n="NEW"><link href="text/scalc/01/04050100.xhp">Sheet from file</link></paragraph>
+<paragraph role="paragraph" id="par_idN105D1" xml-lang="en-US" l10n="NEW"><ahelp hid="26275">Inserts a sheet from a different spreadsheet file.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eitabfile"/>
+</section>
+<list type="ordered">
+<listitem>
+<paragraph role="paragraph" id="par_idN105F7" xml-lang="en-US" l10n="CHG">Use the <link href="text/shared/01/01020000.xhp">File - Open</link> dialog to locate the spreadsheet.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_idN10609" xml-lang="en-US" l10n="NEW">In the <link href="text/scalc/01/04050000.xhp">Insert Sheet</link> dialog, select the sheet that you want to insert.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060000.xhp b/source/text/scalc/01/04060000.xhp
new file mode 100644
index 0000000000..70961a7ff0
--- /dev/null
+++ b/source/text/scalc/01/04060000.xhp
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060000xml" indexer="include">
+<title id="tit" xml-lang="en-US">Function Wizard</title>
+<filename>/text/scalc/01/04060000.xhp</filename>
+</topic>
+</meta>
+<body>
+<section id="funktionsautopilot">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147426"><bookmark_value>inserting functions; Function Wizard</bookmark_value>
+<bookmark_value>functions;Function Wizard</bookmark_value>
+<bookmark_value>wizards; functions</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_INSWIN_CALC" id="bm_id3145750" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:FunctionDialog" id="bm_id1185225" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/.uno:FunctionDialog" id="bm_id3148577" localize="false"/>
+<paragraph role="heading" id="hd_id3147426" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/04060000.xhp" name="AutoPilot: Functions">Function Wizard</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US" l10n="U" oldref="2"><variable id="funktionsautopilottext"><ahelp hid=".uno:FunctionDialog">Opens the <emph>Function Wizard</emph>, which helps you to interactively create formulas.</ahelp>
+</variable> Before you start the Wizard, select a cell or a range of cells from the current sheet, in order to determine the position at which the formula will be inserted.</paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eifu"/>
+</section>
+<paragraph role="note" id="par_id8007446" xml-lang="en-US" l10n="NEW">You can download the complete ODFF (OpenDocument Format Formula) specification from the <link href="http://www.oasis-open.org/committees/documents.php?wg_abbrev=office-formula">OASIS</link> web site.</paragraph>
+<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US" l10n="U" oldref="60">The <emph>Function Wizard</emph> has two tabs: <emph>Functions</emph> is used to create formulas, and <emph>Structure</emph> is used to check the formula build.</paragraph>
+<paragraph role="heading" id="hd_id3154490" xml-lang="en-US" level="2" l10n="U" oldref="3">Functions Tab</paragraph>
+<paragraph role="paragraph" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="5"><link href="text/scalc/01/04060100.xhp" name="List of Categories and Functions">List of Categories and Functions</link></paragraph>
+<!-- removed HID SC:LISTBOX:RID_SCTAB_FUNCTION:LB_CATEGORY -->
+<paragraph role="heading" id="hd_id3154730" xml-lang="en-US" level="3" l10n="U" oldref="36">Category</paragraph>
+<paragraph role="paragraph" id="par_id3153417" xml-lang="en-US" l10n="U" oldref="37"><variable id="kategorienliste"><ahelp hid="SC:LISTBOX:RID_SCTAB_FUNCTION:LB_CATEGORY">Lists all the categories to which the different functions are assigned. Select a category to view the appropriate functions in the list field below.</ahelp> Select "All" to view all functions in alphabetical order, irrespective of category. "Last Used" lists the functions you have most recently used.
+</variable></paragraph>
+<!-- removed HID SC:LISTBOX:RID_SCTAB_FUNCTION:LB_FUNCTION -->
+<paragraph role="heading" id="hd_id3150749" xml-lang="en-US" level="3" l10n="U" oldref="6">Function</paragraph>
+<paragraph role="paragraph" id="par_id3155445" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="SC:LISTBOX:RID_SCTAB_FUNCTION:LB_FUNCTION">Displays the functions found under the selected category. Double-click to select a function.</ahelp> A single-click displays a short function description.</paragraph>
+<!-- removed HID SC:CHECKBOX:RID_SCDLG_FORMULA:BTN_MATRIX -->
+<paragraph role="heading" id="hd_id3159264" xml-lang="en-US" level="3" l10n="U" oldref="8">Array</paragraph>
+<paragraph role="paragraph" id="par_id3149566" xml-lang="en-US" l10n="U" oldref="9"><ahelp hid="SC:CHECKBOX:RID_SCDLG_FORMULA:BTN_MATRIX">Specifies that the selected function is inserted into the selected cell range as an array formula. </ahelp> Array formulas operate on multiple cells. Each cell in the array contains the formula, not as a copy but as a common formula shared by all matrix cells.</paragraph>
+<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="61">The <emph>Array</emph> option is identical to the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Enter command, which is used to enter and confirm formulas in the sheet. The formula is inserted as a matrix formula indicated by two braces { }.</paragraph>
+<paragraph role="note" id="par_id3152993" xml-lang="en-US" l10n="U" oldref="40">The maximum size of an array range is 128 by 128 cells.</paragraph>
+<paragraph role="heading" id="hd_id3150367" xml-lang="en-US" level="3" l10n="U" oldref="41">Argument Input Fields</paragraph>
+<paragraph role="paragraph" id="par_id3145587" xml-lang="en-US" l10n="CHG" oldref="15">When you double-click a function, the argument input field(s) appear on the right side of the dialog. To select a cell reference as an argument, click directly into the cell, or drag across the required range on the sheet while holding down the mouse button. You can also enter numerical and other values or references directly into the corresponding fields in the dialog. When using <link href="text/scalc/01/04060102.xhp" name="date entries">date entries</link>, make sure you use the correct format. Click OK to insert the result into the spreadsheet.</paragraph>
+<embed href="text/shared/00/00000001.xhp#eingabesymbol"/>
+<paragraph role="heading" id="hd_id3149408" xml-lang="en-US" level="3" l10n="U" oldref="18">Function Result</paragraph>
+<paragraph role="paragraph" id="par_id3155809" xml-lang="en-US" l10n="U" oldref="19">As soon you enter arguments in the function, the result is calculated. This preview informs you if the calculation can be carried out with the arguments given. If the arguments result in an error, the corresponding <link href="text/scalc/05/02140000.xhp" name="error code">error code</link> is displayed.</paragraph>
+<paragraph role="paragraph" id="par_id3148700" xml-lang="en-US" l10n="CHG" oldref="23">The required arguments are indicated by names in bold print.</paragraph>
+<!-- removed HID HID_SC_FAP_BTN_FX1 -->
+<!-- removed HID HID_SC_FAP_BTN_FX2 -->
+<!-- removed HID HID_SC_FAP_BTN_FX3 -->
+<!-- removed HID HID_SC_FAP_BTN_FX4 -->
+<paragraph role="heading" id="hd_id3153064" xml-lang="en-US" level="3" l10n="CHG" oldref="22">f(x) (depending on the selected function)</paragraph>
+<paragraph role="paragraph" id="par_id3157980" xml-lang="en-US" l10n="U" oldref="24"><ahelp hid="HID_SC_FAP_BTN_FX4">Allows you to access a subordinate level of the <emph>Function Wizard</emph> in order to nest another function within the function, instead of a value or reference.</ahelp></paragraph>
+<!-- removed HID SC:EDIT:RID_SCDLG_FORMULA:ED_REF -->
+<paragraph role="heading" id="hd_id3145076" xml-lang="en-US" level="3" l10n="CHG" oldref="25">Argument/Parameter/Cell Reference (depending on the selected function)</paragraph>
+<paragraph role="paragraph" id="par_id3159097" xml-lang="en-US" l10n="U" oldref="26"><ahelp hid="SC:EDIT:RID_SCDLG_FORMULA:ED_REF">The number of visible text fields depends on the function. Enter arguments either directly into the argument fields or by clicking a cell in the table.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154957" xml-lang="en-US" level="3" l10n="U" oldref="51">Result</paragraph>
+<paragraph role="paragraph" id="par_id3150211" xml-lang="en-US" l10n="U" oldref="52">Displays the calculation result or an error message.</paragraph>
+<!-- removed HID HID_SC_FAP_FORMULA -->
+<paragraph role="heading" id="hd_id3151304" xml-lang="en-US" level="3" l10n="U" oldref="43">Formula</paragraph>
+<paragraph role="paragraph" id="par_id3149898" xml-lang="en-US" l10n="CHG" oldref="44"><ahelp hid="HID_SC_FAP_FORMULA">Displays the created formula. Type your entries directly, or create the formula using the wizard.</ahelp></paragraph>
+<!-- removed HID SC:PUSHBUTTON:RID_SCDLG_FORMULA:BTN_BACKWARD -->
+<paragraph role="heading" id="hd_id3153249" xml-lang="en-US" level="3" l10n="U" oldref="45">Back</paragraph>
+<paragraph role="paragraph" id="par_id3152869" xml-lang="en-US" l10n="U" oldref="53"><ahelp hid="SC:PUSHBUTTON:RID_SCDLG_FORMULA:BTN_BACKWARD">Moves the focus back through the formula components, marking them as it does so.</ahelp></paragraph>
+<paragraph role="tip" id="par_id3146966" xml-lang="en-US" l10n="U" oldref="56">To select a single function from a complex formula consisting of several functions, double-click the function in the formula window.</paragraph>
+<!-- removed HID SC:PUSHBUTTON:RID_SCDLG_FORMULA:BTN_FORWARD -->
+<paragraph role="heading" id="hd_id3155762" xml-lang="en-US" level="3" l10n="U" oldref="54">Next</paragraph>
+<paragraph role="paragraph" id="par_id3149316" xml-lang="en-US" l10n="U" oldref="55"><ahelp hid="SC:PUSHBUTTON:RID_SCDLG_FORMULA:BTN_FORWARD">Moves forward through the formula components in the formula window.</ahelp> This button can also be used to assign functions to the formula. If you select a function and click the <emph>Next </emph>button, the selection appears in the formula window.</paragraph>
+<paragraph role="tip" id="par_id3159262" xml-lang="en-US" l10n="U" oldref="57">Double-click a function in the selection window to transfer it to the formula window.</paragraph>
+<paragraph role="heading" id="hd_id3148745" xml-lang="en-US" level="3" l10n="U" oldref="58">Cancel</paragraph>
+<paragraph role="paragraph" id="par_id3147402" xml-lang="en-US" l10n="U" oldref="59">Closes the dialog without implementing the formula.</paragraph>
+<paragraph role="heading" id="hd_id3150534" xml-lang="en-US" level="3" l10n="U" oldref="32">OK</paragraph>
+<paragraph role="paragraph" id="par_id3153029" xml-lang="en-US" l10n="CHG" oldref="33">Ends the <emph>Function Wizard</emph>, and transfers the formula to the selected cells.</paragraph>
+<paragraph role="paragraph" id="par_id3156400" xml-lang="en-US" l10n="U" oldref="34"><link href="text/scalc/01/04060100.xhp" name="List of Categories and Functions">List of Categories and Functions</link></paragraph>
+<paragraph role="heading" id="hd_id3147610" xml-lang="en-US" level="2" l10n="U" oldref="47">Structure tab</paragraph>
+<paragraph role="paragraph" id="par_id3153122" xml-lang="en-US" l10n="U" oldref="48">On this page, you can view the structure of the function.</paragraph>
+<paragraph role="note" id="par_id3149350" xml-lang="en-US" l10n="U" oldref="4">If you start the <emph>Function Wizard</emph> while the cell cursor is positioned in a cell that already contains a function, the <emph>Structure</emph> tab is opened and shows the composition of the current formula.</paragraph>
+<!-- removed HID HID_SC_FAP_STRUCT -->
+<paragraph role="heading" id="hd_id3149014" xml-lang="en-US" level="3" l10n="U" oldref="49">Structure</paragraph>
+<paragraph role="paragraph" id="par_id3150481" xml-lang="en-US" l10n="U" oldref="50"><ahelp hid="HID_SC_FAP_STRUCT">Displays a hierarchical representation of the current function.</ahelp> You can hide or show the arguments by a click on the plus or minus sign in front.</paragraph>
+<paragraph role="note" id="par_id3148886" xml-lang="en-US" l10n="U" oldref="63">Blue dots denote correctly entered arguments. Red dots indicate incorrect data types. For example: if the SUM function has one argument entered as text, this is highlighted in red as SUM only permits number entries.</paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060100.xhp b/source/text/scalc/01/04060100.xhp
new file mode 100644
index 0000000000..a5b301b63f
--- /dev/null
+++ b/source/text/scalc/01/04060100.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060100xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Functions by Category</title>
+ <filename>/text/scalc/01/04060100.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148575"><bookmark_value>functions;listed by category</bookmark_value>
+ <bookmark_value>categories of functions</bookmark_value>
+ <bookmark_value>list of functions</bookmark_value>
+</bookmark><comment>MW deleted "Calc functions"</comment>
+<paragraph xml-lang="en-US" id="hd_id3154944" role="heading" level="1" l10n="CHG"
+ oldref="16">Functions by Category</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149378" role="paragraph" l10n="CHG" oldref="2">This section describes the functions of $[officename] Calc. The various functions are divided into categories in the Function Wizard.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0120200910234570" role="tip" l10n="NEW">You can find detailed explanations, illustrations, and examples of Calc functions <link href="http://help.libreoffice.org/Calc/Functions_by_Category">in the LibreOffice WikiHelp</link>.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146972" role="heading" level="2" l10n="U" oldref="3"><link href="text/scalc/01/04060101.xhp" name="Database">Database</link></paragraph>
+ <embed href="text/scalc/01/04060101.xhp#datenbanktext"/>
+ <paragraph xml-lang="en-US" id="hd_id3155443" role="heading" level="2" l10n="U" oldref="4"><link href="text/scalc/01/04060102.xhp" name="Date &amp; Time">Date &amp; Time</link></paragraph>
+ <embed href="text/scalc/01/04060102.xhp#datumzeittext"/>
+ <paragraph xml-lang="en-US" id="hd_id3147339" role="heading" level="2" l10n="U" oldref="5"><link href="text/scalc/01/04060103.xhp" name="Financial">Financial</link></paragraph>
+ <embed href="text/scalc/01/04060103.xhp#finanztext"/>
+ <paragraph xml-lang="en-US" id="hd_id3153963" role="heading" level="2" l10n="U" oldref="6"><link href="text/scalc/01/04060104.xhp" name="Information">Information</link></paragraph>
+ <embed href="text/scalc/01/04060104.xhp#informationtext"/>
+ <paragraph xml-lang="en-US" id="hd_id3146316" role="heading" level="2" l10n="U" oldref="7"><link href="text/scalc/01/04060105.xhp" name="Logical">Logical</link></paragraph>
+ <embed href="text/scalc/01/04060105.xhp#logischtext"/>
+ <paragraph xml-lang="en-US" id="hd_id3148485" role="heading" level="2" l10n="U" oldref="8"><link href="text/scalc/01/04060106.xhp" name="Mathematical">Mathematical</link></paragraph>
+ <embed href="text/scalc/01/04060106.xhp#mathematiktext"/>
+ <paragraph xml-lang="en-US" id="hd_id3150363" role="heading" level="2" l10n="CHG"
+ oldref="9"><link href="text/scalc/01/04060107.xhp" name="Matrix">Array</link></paragraph>
+ <embed href="text/scalc/01/04060107.xhp#matrixtext"/>
+ <paragraph xml-lang="en-US" id="hd_id3150208" role="heading" level="2" l10n="U"
+ oldref="10"><link href="text/scalc/01/04060108.xhp" name="Statistical">Statistical</link></paragraph>
+ <embed href="text/scalc/01/04060108.xhp#statistiktext"/>
+ <paragraph xml-lang="en-US" id="hd_id3166428" role="heading" level="2" l10n="U"
+ oldref="11"><link href="text/scalc/01/04060109.xhp" name="Spreadsheet">Spreadsheet</link></paragraph>
+ <embed href="text/scalc/01/04060109.xhp#tabelletext"/>
+ <paragraph xml-lang="en-US" id="hd_id3145585" role="heading" level="2" l10n="U"
+ oldref="12"><link href="text/scalc/01/04060110.xhp" name="Text">Text</link></paragraph>
+ <embed href="text/scalc/01/04060110.xhp#texttext"/>
+ <paragraph xml-lang="en-US" id="hd_id3156449" role="heading" level="2" l10n="U"
+ oldref="13"><link href="text/scalc/01/04060111.xhp" name="Add-in">Add-in</link></paragraph>
+ <embed href="text/scalc/01/04060111.xhp#addintext"/>
+ <paragraph xml-lang="en-US" id="par_id3150715" role="paragraph" l10n="U" oldref="14"><link href="text/scalc/01/04060199.xhp" name="Operators">Operators</link> are also available.</paragraph>
+ <section id="relatedtopics">
+ <paragraph xml-lang="en-US" id="par_id0902200809540918" role="paragraph" l10n="NEW"><variable id="drking"><link href="http://help.libreoffice.org/Calc/Functions_by_Category">Calc Functions By Category</link> in the LibreOffice WikiHelp
+</variable></paragraph>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060101.xhp b/source/text/scalc/01/04060101.xhp
new file mode 100644
index 0000000000..2cd7057ca7
--- /dev/null
+++ b/source/text/scalc/01/04060101.xhp
@@ -0,0 +1,766 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060101xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Database Functions</title>
+ <filename>/text/scalc/01/04060101.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148946"><bookmark_value>Function Wizard; databases</bookmark_value>
+ <bookmark_value>functions; database functions</bookmark_value>
+ <bookmark_value>databases; functions in $[officename] Calc</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3148946" role="heading" level="1" l10n="U" oldref="1">Database Functions</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145173" role="paragraph" l10n="U" oldref="2"><variable id="datenbanktext">This section deals with functions used with data organized as one row of data for one record.
+</variable></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154016" role="note" l10n="U" oldref="186">The Database category may be confused with a database integrated in $[officename]. However, there is no connection between a database in $[officename] and the Database category in $[officename] Calc.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150329" role="heading" level="3" l10n="U"
+ oldref="190">Example Data:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153713" role="paragraph" l10n="U" oldref="191">The following data will be used in some of the function description examples:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155766" role="paragraph" l10n="U" oldref="3">The range A1:E10 lists the children invited to Joe's birthday party. The following information is given for each entry: column A shows the name, B the grade, then age in years, distance to school in meters and weight in kilograms.</paragraph>
+ <table id="tbl_id3159264">
+ <tablerow>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145232" role="tablehead" l10n="U" oldref="4">A</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146316" role="tablehead" l10n="U" oldref="5">B</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150297" role="tablehead" l10n="U" oldref="6">C</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150344" role="tablehead" l10n="U" oldref="7">D</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150785" role="tablehead" l10n="U" oldref="8">E</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150090" role="tablecontent" l10n="U" oldref="9">1</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152992" role="tablecontent" l10n="U" oldref="10">
+<item type="input">Name</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155532" role="tablecontent" l10n="U" oldref="11">
+<item type="input">Grade</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156448" role="tablecontent" l10n="U" oldref="12">
+<item type="input">Age</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154486" role="tablecontent" l10n="U" oldref="13">
+<item type="input">Distance to School</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152899" role="tablecontent" l10n="U" oldref="14">
+<item type="input">Weight</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153816" role="tablecontent" l10n="U" oldref="15">2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151240" role="tablecontent" l10n="U" oldref="16">
+<item type="input">Andy</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156016" role="tablecontent" l10n="U" oldref="17">
+<item type="input">3</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145073" role="tablecontent" l10n="U" oldref="18">
+<item type="input">9</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154956" role="tablecontent" l10n="U" oldref="19">
+<item type="input">150</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153976" role="tablecontent" l10n="U" oldref="20">
+<item type="input">40</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150894" role="tablecontent" l10n="U" oldref="21">3</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152870" role="tablecontent" l10n="U" oldref="22">
+<item type="input">Betty</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149692" role="tablecontent" l10n="U" oldref="23">
+<item type="input">4</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154652" role="tablecontent" l10n="U" oldref="24">
+<item type="input">10</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149381" role="tablecontent" l10n="U" oldref="25">
+<item type="input">1000</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153812" role="tablecontent" l10n="U" oldref="26">
+<item type="input">42</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146965" role="tablecontent" l10n="U" oldref="27">4</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155596" role="tablecontent" l10n="U" oldref="28">
+<item type="input">Charles</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147244" role="tablecontent" l10n="U" oldref="29">
+<item type="input">3</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149871" role="tablecontent" l10n="U" oldref="30">
+<item type="input">10</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155752" role="tablecontent" l10n="U" oldref="31">
+<item type="input">300</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149052" role="tablecontent" l10n="U" oldref="32">
+<item type="input">51</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146097" role="tablecontent" l10n="U" oldref="33">5</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147296" role="tablecontent" l10n="U" oldref="34">
+<item type="input">Daniel</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150393" role="tablecontent" l10n="U" oldref="35">
+<item type="input">5</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145236" role="tablecontent" l10n="U" oldref="36">
+<item type="input">11</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150534" role="tablecontent" l10n="U" oldref="37">
+<item type="input">1200</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150375" role="tablecontent" l10n="U" oldref="38">
+<item type="input">48</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159121" role="tablecontent" l10n="U" oldref="39">6</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150456" role="tablecontent" l10n="U" oldref="40">
+<item type="input">Eva</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146886" role="tablecontent" l10n="U" oldref="41">
+<item type="input">2</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149945" role="tablecontent" l10n="U" oldref="42">
+<item type="input">8</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3157904" role="tablecontent" l10n="U" oldref="43">
+<item type="input">650</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149352" role="tablecontent" l10n="U" oldref="44">
+<item type="input">33</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150028" role="tablecontent" l10n="U" oldref="45">7</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145826" role="tablecontent" l10n="U" oldref="46">
+<item type="input">F</item>
+<item type="input">rank</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150743" role="tablecontent" l10n="U" oldref="47">
+<item type="input">2</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154844" role="tablecontent" l10n="U" oldref="48">
+<item type="input">7</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148435" role="tablecontent" l10n="U" oldref="49">
+<item type="input">3</item>
+<item type="input">00</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148882" role="tablecontent" l10n="U" oldref="50">
+<item type="input">4</item>
+<item type="input">2</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150140" role="tablecontent" l10n="U" oldref="51">8</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146137" role="tablecontent" l10n="U" oldref="52">
+<item type="input">Greta</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148739" role="tablecontent" l10n="U" oldref="53">
+<item type="input">1</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148583" role="tablecontent" l10n="U" oldref="54">
+<item type="input">7</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154556" role="tablecontent" l10n="U" oldref="55">
+<item type="input">200</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155255" role="tablecontent" l10n="U" oldref="56">
+<item type="input">36</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145141" role="tablecontent" l10n="U" oldref="57">9</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153078" role="tablecontent" l10n="U" oldref="58">
+<item type="input">Harry</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149955" role="tablecontent" l10n="U" oldref="59">
+<item type="input">3</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150005" role="tablecontent" l10n="U" oldref="60">
+<item type="input">9</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155951" role="tablecontent" l10n="U" oldref="61">
+<item type="input">1200</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145169" role="tablecontent" l10n="U" oldref="62">
+<item type="input">44</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153571" role="tablecontent" l10n="U" oldref="63">10</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148761" role="tablecontent" l10n="U" oldref="64">
+<item type="input">Irene</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149877" role="tablecontent" l10n="U" oldref="65">
+<item type="input">2</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154327" role="tablecontent" l10n="U" oldref="66">
+<item type="input">8</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155435" role="tablecontent" l10n="U" oldref="67">
+<item type="input">1000</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145353" role="tablecontent" l10n="U" oldref="68">
+<item type="input">42</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150662" role="tablecontent" l10n="U" oldref="69">11</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150568" role="tablecontent" l10n="U" oldref="70">12</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149393" role="tablecontent" l10n="U" oldref="71">13</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153544" role="tablecontent" l10n="U" oldref="72">
+<item type="input">Name</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3158414" role="tablecontent" l10n="U" oldref="73">
+<item type="input">Grade</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152820" role="tablecontent" l10n="U" oldref="74">
+<item type="input">Age</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154866" role="tablecontent" l10n="U" oldref="75">
+<item type="input">Distance to School</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150471" role="tablecontent" l10n="U" oldref="76">
+<item type="input">Weight</item>
+</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153920" role="tablecontent" l10n="U" oldref="77">14</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148429" role="tablecontent" l10n="U" oldref="78">
+<item type="input">&gt;600</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152588" role="tablecontent" l10n="U" oldref="79">15</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3083286" role="tablecontent" l10n="U" oldref="80">16</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3163823" role="tablecontent" l10n="U" oldref="81">
+<item type="input">DCOUNT</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145083" role="tablecontent" l10n="U" oldref="82">
+<item type="input">5</item>
+</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="par_id3149282" role="paragraph" l10n="U" oldref="83">The formula in cell B16 is =DCOUNT(A1:E10;0;A13:E14)</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150962" role="heading" level="3" l10n="U"
+ oldref="192">Database Function Parameters:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155837" role="paragraph" l10n="U" oldref="84">The following items are the parameter definitions for all database functions:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149453" role="paragraph" l10n="U" oldref="85">
+<emph>Database</emph> is the cell range defining the database.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151272" role="paragraph" l10n="U" oldref="86">
+<emph>DatabaseField</emph> specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. Use the number 0 to specify the whole data range. <variable id="quotes">To reference a column by means of the column header name, place quotation marks around the header name.
+</variable></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147083" role="paragraph" l10n="U" oldref="87">
+<emph>SearchCriteria</emph> is the cell range containing search criteria. If you write several criteria in one row they are connected by AND. If you write the criteria in different rows they are connected by OR. Empty cells in the search criteria range will be ignored.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151188" role="paragraph" l10n="U" oldref="188">Choose <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060500.xhp" name="Spreadsheet - Calculate">%PRODUCTNAME Calc - Calculate</link> to define how $[officename] Calc acts when searching for identical entries.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3882869" role="paragraph" l10n="NEW">See also the Wiki page about <link href="http://wiki.documentfoundation.org/Documentation/How_Tos/Conditional_Counting_and_Summation">Conditional Counting and Summation</link>.</paragraph>
+<sort order="asc">
+<section id="Section1">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150882"><bookmark_value>DCOUNT function</bookmark_value>
+ <bookmark_value>counting rows;with numeric values</bookmark_value>
+</bookmark><comment>mw added "counting rows;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBANZAHL" id="bm_id3152926" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150882" role="heading" level="2" l10n="U"
+ oldref="88">DCOUNT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156133" role="paragraph" l10n="U" oldref="89"><ahelp hid="HID_FUNC_DBANZAHL">DCOUNT counts the number of rows (records) in a database that match the specified search criteria and contain numerical values.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3156099" role="heading" level="3" l10n="U"
+ oldref="90">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153218" role="code" l10n="U" oldref="91">DCOUNT(Database; DatabaseField; SearchCriteria)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153273" role="paragraph" l10n="U" oldref="187">For the DatabaseField parameter you can enter a cell to specify the column, or enter the number 0 for the entire database. The parameter cannot be empty. <embedvar href="text/scalc/01/04060101.xhp#quotes"/>
+</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154743" role="heading" level="3" l10n="U"
+ oldref="92">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153623" role="paragraph" l10n="U" oldref="93">In the example above (scroll up, please), we want to know how many children have to travel more than 600 meters to school. The result is to be stored in cell B16. Set the cursor in cell B16. Enter the formula <item type="input">=DCOUNT(A1:E10;0;A13:E14)</item> in B16. The <emph>Function Wizard</emph> helps you to input ranges.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149142" role="paragraph" l10n="U" oldref="94">
+<emph>Database</emph> is the range of data to be evaluated, including its headers: in this case A1:E10. <emph>DatabaseField</emph> specifies the column for the search criteria: in this case, the whole database. <emph>SearchCriteria</emph> is the range where you can enter the search parameters: in this case, A13:E14.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145652" role="paragraph" l10n="U" oldref="95">To learn how many children in second grade are over 7 years of age, delete the entry &gt;600 in cell D14 and enter <item type="input">2</item> in cell B14 under Grade, and enter <item type="input">&gt;7</item> in cell C14 to the right. The result is 2. Two children are in second grade and over 7 years of age. As both criteria are in the same row, they are connected by AND.</paragraph>
+ </section>
+ <section id="Section2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156123"><bookmark_value>DCOUNTA function</bookmark_value>
+ <bookmark_value>records;counting in Calc databases</bookmark_value>
+ <bookmark_value>counting rows;with numeric or alphanumeric values</bookmark_value>
+</bookmark><comment>mw added "records;" and "counting rows;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBANZAHL2" id="bm_id3154055" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156123" role="heading" level="2" l10n="U"
+ oldref="97">DCOUNTA</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156110" role="paragraph" l10n="U" oldref="98"><ahelp hid="HID_FUNC_DBANZAHL2">DCOUNTA counts the number of rows (records) in a database that match the specified search conditions, and contain numeric or alphanumeric values.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3143228" role="heading" level="3" l10n="U"
+ oldref="99">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146893" role="code" l10n="U" oldref="100">DCOUNTA(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3149751" role="heading" level="3" l10n="U"
+ oldref="101">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153982" role="paragraph" l10n="CHG" oldref="102">In the example above (scroll up, please), you can search for the number of children whose name starts with an E or a subsequent letter. Edit the formula in B16 to read <item type="input">=DCOUNTA(A1:E10;"Name";A13:E14)</item>. Delete the old search criteria and enter <item type="input">&gt;=E</item> under Name in field A14. The result is 5. If you now delete all number values for Greta in row 8, the result changes to 4. Row 8 is no longer included in the count because it does not contain any values. The name Greta is text, not a value. Note that the DatabaseField parameter must point to a column that can contain values.<comment>see i25407</comment></paragraph>
+ </section>
+ <section id="Section3">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147256"><bookmark_value>DGET function</bookmark_value>
+ <bookmark_value>cell contents;searching in Calc databases</bookmark_value>
+ <bookmark_value>searching;cell contents in Calc databases</bookmark_value>
+</bookmark><comment>mw added "cell contents;" and "searching;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBAUSZUG" id="bm_id3149198" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147256" role="heading" level="2" l10n="U"
+ oldref="104">DGET</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152801" role="paragraph" l10n="U" oldref="105"><ahelp hid="HID_FUNC_DBAUSZUG">DGET returns the contents of the referenced cell in a database which matches the specified search criteria.</ahelp> In case of an error, the function returns either #VALUE! for no row found, or Err502 for more than one cell found.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3159344" role="heading" level="3" l10n="U"
+ oldref="106">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154696" role="code" l10n="U" oldref="107">DGET(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3153909" role="heading" level="3" l10n="U"
+ oldref="108">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155388" role="paragraph" l10n="U" oldref="109">In the above example (scroll up, please), we want to determine what grade a child is in, whose name was entered in cell A14. The formula is entered in cell B16 and differs slightly from the earlier examples because only one column (one database field) can be entered for <emph>DatabaseField</emph>. Enter the following formula:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153096" role="paragraph" l10n="U" oldref="110">
+<item type="input">=DGET(A1:E10;"Grade";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150524" role="paragraph" l10n="U" oldref="111">Enter the name <item type="input">Frank</item> in A14, and you see the result 2. Frank is in second grade. Enter <item type="input">"Age"</item> instead of "Grade" and you will get Frank's age.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148833" role="paragraph" l10n="U" oldref="112">Or enter the value <item type="input">11</item> in cell C14 only, and delete the other entries in this row. Edit the formula in B16 as follows:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149912" role="paragraph" l10n="U" oldref="113">
+<item type="input">=DGET(A1:E10;"Name";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148813" role="paragraph" l10n="U" oldref="114">Instead of the grade, the name is queried. The answer appears at once: Daniel is the only child aged 11.</paragraph>
+ </section>
+ <section id="Section4">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149766"><bookmark_value>DMAX function</bookmark_value>
+ <bookmark_value>maximum values in Calc databases</bookmark_value>
+ <bookmark_value>searching;maximum values in columns</bookmark_value>
+</bookmark><comment>mw added "maximum..." and "searching;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMAX" id="bm_id3158401" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149766" role="heading" level="2" l10n="U"
+ oldref="115">DMAX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154903" role="paragraph" l10n="U" oldref="116"><ahelp hid="HID_FUNC_DBMAX">DMAX returns the maximum content of a cell (field) in a database (all records) that matches the specified search conditions.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3150771" role="heading" level="3" l10n="U"
+ oldref="117">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159157" role="code" l10n="U" oldref="118">DMAX(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3145420" role="heading" level="3" l10n="U"
+ oldref="119">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148442" role="paragraph" l10n="U" oldref="120">To find out how much the heaviest child in each grade weighed in the above example (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148804" role="paragraph" l10n="U" oldref="121">
+<item type="input">=DMAX(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150510" role="paragraph" l10n="U" oldref="122">Under Grade, enter <item type="input">1, 2, 3,</item> and so on, one after the other. After entering a grade number, the weight of the heaviest child in that grade appears.</paragraph>
+ </section>
+ <section id="Section5">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159141"><bookmark_value>DMIN function</bookmark_value>
+ <bookmark_value>minimum values in Calc databases</bookmark_value>
+ <bookmark_value>searching;minimum values in columns</bookmark_value>
+</bookmark><comment>mw added "minimum..." and "searching;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMIN" id="bm_id3159152" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159141" role="heading" level="2" l10n="U"
+ oldref="123">DMIN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154261" role="paragraph" l10n="U" oldref="124"><ahelp hid="HID_FUNC_DBMIN">DMIN returns the minimum content of a cell (field) in a database that matches the specified search criteria.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3147238" role="heading" level="3" l10n="U"
+ oldref="125">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148479" role="code" l10n="U" oldref="126">DMIN(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3151050" role="heading" level="3" l10n="U"
+ oldref="127">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148925" role="paragraph" l10n="U" oldref="128">To find the shortest distance to school for the children in each grade in the above example (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149161" role="paragraph" l10n="U" oldref="129">
+<item type="input">=DMIN(A1:E10;"Distance to School";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148917" role="paragraph" l10n="U" oldref="130">In row 14, under Grade, enter <item type="input">1, 2, 3,</item> and so on, one after the other. The shortest distance to school for each grade appears.</paragraph>
+ </section>
+ <section id="Section6">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154274"><bookmark_value>DAVERAGE function</bookmark_value>
+ <bookmark_value>averages; in Calc databases</bookmark_value>
+ <bookmark_value>calculating;averages in Calc databases</bookmark_value>
+</bookmark><comment>mw added "averages;..." and "calculating;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMITTELWERT" id="bm_id3166435" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154274" role="heading" level="2" l10n="U"
+ oldref="131">DAVERAGE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166453" role="paragraph" l10n="U" oldref="132"><ahelp hid="HID_FUNC_DBMITTELWERT">DAVERAGE returns the average of the values of all cells (fields) in all rows (database records) that match the specified search criteria.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3146955" role="heading" level="3" l10n="U"
+ oldref="133">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150710" role="code" l10n="U" oldref="134">DAVERAGE(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3152943" role="heading" level="3" l10n="U"
+ oldref="135">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149104" role="paragraph" l10n="U" oldref="136">To find the average weight of all children of the same age in the above example (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153688" role="paragraph" l10n="U" oldref="137">
+<item type="input">=DAVERAGE(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155587" role="paragraph" l10n="U" oldref="138">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The average weight of all children of the same age appears.</paragraph>
+ </section>
+ <section id="Section7">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159269"><bookmark_value>DPRODUCT function</bookmark_value>
+ <bookmark_value>multiplying;cell contents in Calc databases</bookmark_value>
+</bookmark><comment>mw added "multiplying..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBPRODUKT" id="bm_id3159281" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159269" role="heading" level="2" l10n="U"
+ oldref="139">DPRODUCT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152879" role="paragraph" l10n="U" oldref="140"><ahelp hid="HID_FUNC_DBPRODUKT">DPRODUCT multiplies all cells of a data range where the cell contents match the search criteria.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3149966" role="heading" level="3" l10n="U"
+ oldref="141">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154854" role="code" l10n="U" oldref="142">DPRODUCT(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3149802" role="heading" level="3" l10n="U"
+ oldref="143">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148986" role="paragraph" l10n="U" oldref="144">With the birthday party example above (scroll up, please), there is no meaningful application of this function.</paragraph>
+ </section>
+ <section id="Section8">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148462"><bookmark_value>DSTDEV function</bookmark_value>
+ <bookmark_value>standard deviations in databases;based on a sample</bookmark_value>
+</bookmark><comment>mw added "standard deviations...;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSTDABW" id="bm_id3145370" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148462" role="heading" level="2" l10n="U"
+ oldref="145">DSTDEV</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154605" role="paragraph" l10n="U" oldref="146"><ahelp hid="HID_FUNC_DBSTDABW">DSTDEV calculates the standard deviation of a population based on a sample, using the numbers in a database column that match the given conditions.</ahelp> The records are treated as a sample of data. That means that the children in the example represent a cross section of all children. Note that a representative result can not be obtained from a sample of less than one thousand.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3149427" role="heading" level="3" l10n="U"
+ oldref="147">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148661" role="code" l10n="U" oldref="148">DSTDEV(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3153945" role="heading" level="3" l10n="U"
+ oldref="149">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149934" role="paragraph" l10n="U" oldref="150">To find the standard deviation of the weight for all children of the same age in the example (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150630" role="paragraph" l10n="U" oldref="151">
+<item type="input">=DSTDEV(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153536" role="paragraph" l10n="U" oldref="152">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The result shown is the standard deviation of the weight of all children of this age.</paragraph>
+ </section>
+ <section id="Section9">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150429"><bookmark_value>DSTDEVP function</bookmark_value>
+ <bookmark_value>standard deviations in databases;based on populations</bookmark_value>
+</bookmark><comment>mw added "standard deviations...;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSTDABWN" id="bm_id3149523" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150429" role="heading" level="2" l10n="U"
+ oldref="153">DSTDEVP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145598" role="paragraph" l10n="U" oldref="154"><ahelp hid="HID_FUNC_DBSTDABWN">DSTDEVP calculates the standard deviation of a population based on all cells of a data range which match the search criteria.</ahelp> The records from the example are treated as the whole population.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3145307" role="heading" level="3" l10n="U"
+ oldref="155">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149484" role="code" l10n="U" oldref="156">DSTDEVP(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3153322" role="heading" level="3" l10n="U"
+ oldref="157">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155431" role="paragraph" l10n="U" oldref="158">To find the standard deviation of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148411" role="paragraph" l10n="U" oldref="159">
+<item type="input">=DSTDEVP(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143271" role="paragraph" l10n="U" oldref="160">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The result is the standard deviation of the weight for all same-aged children whose weight was checked.</paragraph>
+ </section>
+ <section id="Section10">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154794"><bookmark_value>DSUM function</bookmark_value>
+ <bookmark_value>calculating;sums in Calc databases</bookmark_value>
+ <bookmark_value>sums;cells in Calc databases</bookmark_value>
+</bookmark><comment>mw added "calculating;" and "sums;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSUMME" id="bm_id3148687" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154794" role="heading" level="2" l10n="U"
+ oldref="161">DSUM</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149591" role="paragraph" l10n="U" oldref="162"><ahelp hid="HID_FUNC_DBSUMME">DSUM returns the total of all cells in a database field in all rows (records) that match the specified search criteria.</ahelp></paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3146128" role="heading" level="3" l10n="U"
+ oldref="163">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150989" role="code" l10n="U" oldref="164">DSUM(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3159079" role="heading" level="3" l10n="U"
+ oldref="165">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152766" role="paragraph" l10n="U" oldref="166">To find the length of the combined distance to school of all children at Joe's birthday party (scroll up, please) who are in second grade, enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151312" role="paragraph" l10n="U" oldref="167">
+<item type="input">=DSUM(A1:E10;"Distance to School";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150596" role="paragraph" l10n="U" oldref="168">Enter <item type="input">2</item> in row 14 under Grade. The sum (1950) of the distances to school of all the children who are in second grade is displayed.</paragraph>
+ </section>
+ <section id="Section11">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155614"><bookmark_value>DVAR function</bookmark_value>
+ <bookmark_value>variances;based on samples</bookmark_value>
+</bookmark><comment>mw added "variances;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBVARIANZ" id="bm_id3159391" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155614" role="heading" level="2" l10n="U"
+ oldref="170">DVAR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154418" role="paragraph" l10n="U" oldref="171"><ahelp hid="HID_FUNC_DBVARIANZ">DVAR returns the variance of all cells of a database field in all records that match the specified search criteria.</ahelp> The records from the example are treated as a sample of data. A representative result cannot be obtained from a sample population of less than one thousand.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3154825" role="heading" level="3" l10n="U"
+ oldref="172">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156138" role="code" l10n="U" oldref="173">DVAR(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3151257" role="heading" level="3" l10n="U"
+ oldref="174">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153701" role="paragraph" l10n="U" oldref="175">To find the variance of the weight of all children of the same age of the above example (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153676" role="paragraph" l10n="U" oldref="176">
+<item type="input">=DVAR(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153798" role="paragraph" l10n="U" oldref="177">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. You will see as a result the variance of the weight values for all children of this age.</paragraph>
+ </section>
+ <section id="Section12">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153880"><bookmark_value>DVARP function</bookmark_value>
+ <bookmark_value>variances;based on populations</bookmark_value>
+</bookmark><comment>mw added "variances;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBVARIANZEN" id="bm_id3153891" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153880" role="heading" level="2" l10n="U"
+ oldref="178">DVARP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155119" role="paragraph" l10n="U" oldref="179"><ahelp hid="HID_FUNC_DBVARIANZEN">DVARP calculates the variance of all cell values in a database field in all records that match the specified search criteria.</ahelp> The records are from the example are treated as an entire population.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3145774" role="heading" level="3" l10n="U"
+ oldref="180">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153776" role="code" l10n="U" oldref="181">DVARP(Database; DatabaseField; SearchCriteria)</paragraph>
+ <embed href="text/scalc/01/04060101.xhp#quotes"/>
+ <paragraph xml-lang="en-US" id="hd_id3151110" role="heading" level="3" l10n="U"
+ oldref="182">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147099" role="paragraph" l10n="U" oldref="183">To find the variance of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147322" role="paragraph" l10n="U" oldref="184">
+<item type="input">=DVARP(A1:E10;"Weight";A13:E14)</item>
+</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146902" role="paragraph" l10n="U" oldref="185">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The variance of the weight values for all children of this age attending Joe's birthday party appears.</paragraph>
+ </section>
+</sort>
+<section id="relatedtopics">
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060102.xhp b/source/text/scalc/01/04060102.xhp
new file mode 100644
index 0000000000..8d4912fba1
--- /dev/null
+++ b/source/text/scalc/01/04060102.xhp
@@ -0,0 +1,224 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060102xml" indexer="include">
+<title id="tit" xml-lang="en-US">Date &amp; Time Functions</title>
+<filename>/text/scalc/01/04060102.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154536"><bookmark_value>date and time functions</bookmark_value>
+<bookmark_value>functions; date &amp; time</bookmark_value>
+<bookmark_value>Function Wizard; date &amp; time</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154536" xml-lang="en-US" level="1" l10n="U" oldref="1">Date &amp; Time Functions</paragraph>
+<paragraph role="paragraph" id="par_id3153973" xml-lang="en-US" l10n="U" oldref="2"><variable id="datumzeittext">These spreadsheet functions are used for inserting and editing dates and times.
+</variable></paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eikadaze"/>
+</section>
+<section id="ADD_note">
+<paragraph role="note" id="par_idN10600" xml-lang="en-US" l10n="NEW">The functions whose names end with _ADD return the same results as the corresponding Microsoft Excel functions. Use the functions without _ADD to get results based on international standards. For example, the WEEKNUM function calculates the week number of a given date based on international standard ISO 8601, while WEEKNUM_ADD returns the same week number as Microsoft Excel.<comment>UFI: see #33784#</comment></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3150437" xml-lang="en-US" l10n="U" oldref="170">$[officename] internally handles a date/time value as a numerical value. If you assign the numbering format "Number" to a date or time value, it is converted to a number. For example, 01/01/2000 12:00 PM, converts to 36526.5. The value preceding the decimal point corresponds to the date; the value following the decimal point corresponds to the time. If you do not want to see this type of numerical date or time representation, change the number format (date or time) accordingly. To do this, select the cell containing the date or time value, call its context menu and select <emph>Format Cells</emph>. The <emph>Numbers</emph> tab page contains the functions for defining the number format.</paragraph>
+<paragraph role="heading" id="hd_id2408825" xml-lang="en-US" level="2" l10n="NEW">Date base for day zero</paragraph>
+<paragraph role="paragraph" id="par_id9988402" xml-lang="en-US" l10n="NEW">Dates are calculated as offsets from a starting day zero. You can set the day zero to be one of the following:</paragraph>
+<table id="tbl_id1661427">
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_id6401257" xml-lang="en-US" l10n="NEW">Date base</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id5841242" xml-lang="en-US" l10n="NEW">Use</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id6794030" xml-lang="en-US" l10n="CHG">'12/30/1899'</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id7096774" xml-lang="en-US" l10n="NEW">(default)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id5699942" xml-lang="en-US" l10n="CHG">'01/01/1900'</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id6420484" xml-lang="en-US" l10n="NEW">(used in former StarCalc 1.0)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id6986602" xml-lang="en-US" l10n="CHG">'01/01/1904'</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id616779" xml-lang="en-US" l10n="NEW">(used in Apple software)</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id791039" xml-lang="en-US" l10n="NEW">Choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc - Calculate</emph> to select the date base.</paragraph>
+<paragraph role="warning" id="par_id1953489" xml-lang="en-US" l10n="NEW">When you copy and paste cells containing date values between different spreadsheets, both spreadsheet documents must be set to the same date base. If date bases differ, the displayed date values will change!</paragraph>
+<paragraph role="heading" id="hd_id757469" xml-lang="en-US" level="2" l10n="NEW">Two digits years</paragraph>
+<paragraph role="paragraph" id="par_id3149720" xml-lang="en-US" l10n="U" oldref="183">In <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - $[officename] - General</emph> you find the area <emph>Year (two digits)</emph>. This sets the period for which two-digit information applies. Note that changes made here have an effect on some of the following functions.</paragraph>
+<paragraph role="note" id="par_id3150654" xml-lang="en-US" l10n="U" oldref="185">When entering dates, slashes or dashes used as date separators may be interpreted as arithmetic operators. Therefore, dates entered in this format are not always recognized as dates and result in erroneous calculations. To keep dates from being interpreted as parts of formulas, place them in quotation marks, for example, "07/20/54".</paragraph>
+<paragraph role="heading" id="par_idN1067A" xml-lang="en-US" level="2" l10n="NEW">Functions</paragraph>
+<sort order="asc">
+<section id="workday">
+<paragraph role="paragraph" id="par_idN10683" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_workday.xhp#workday"/>
+</paragraph>
+</section>
+<section id="yearfrac">
+<paragraph role="paragraph" id="par_id5189062" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_yearfrac.xhp#yearfrac"/>
+</paragraph>
+</section>
+<section id="date">
+<paragraph role="paragraph" id="par_id6854457" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_date.xhp#date"/>
+</paragraph>
+</section>
+<section id="datedif">
+<paragraph role="paragraph" id="par_id6354457" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_datedif.xhp#datedif"/>
+</paragraph>
+</section>
+<section id="datevalue">
+<paragraph role="paragraph" id="par_id3372295" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_datevalue.xhp#datevalue"/>
+</paragraph>
+</section>
+<section id="edate">
+<paragraph role="paragraph" id="par_id5684377" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_edate.xhp#edate"/>
+</paragraph>
+</section>
+<section id="today">
+<paragraph role="paragraph" id="par_id7576525" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_today.xhp#today"/>
+</paragraph>
+</section>
+<section id="year">
+<paragraph role="paragraph" id="par_id641193" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_year.xhp#year"/>
+</paragraph>
+</section>
+<section id="now">
+<paragraph role="paragraph" id="par_id6501968" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_now.xhp#now"/>
+</paragraph>
+</section>
+<section id="weeknum">
+<paragraph role="paragraph" id="par_id3886532" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_weeknum.xhp#weeknum"/>
+</paragraph>
+</section>
+<section id="weeknumadd">
+<paragraph role="paragraph" id="par_id614947" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_weeknumadd.xhp#weeknumadd"/>
+</paragraph>
+</section>
+<section id="minute">
+<paragraph role="paragraph" id="par_id3953062" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_minute.xhp#minute"/>
+</paragraph>
+</section>
+<section id="month">
+<paragraph role="paragraph" id="par_id2579729" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_month.xhp#month"/>
+</paragraph>
+</section>
+<section id="eomonth">
+<paragraph role="paragraph" id="par_id1346781" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_eomonth.xhp#eomonth"/>
+</paragraph>
+</section>
+<section id="networkdays">
+<paragraph role="paragraph" id="par_id8951384" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_networkdays.xhp#networkdays"/>
+</paragraph>
+</section>
+<section id="eastersunday">
+<paragraph role="paragraph" id="par_id1074251" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_eastersunday.xhp#eastersunday"/>
+</paragraph>
+</section>
+<section id="second">
+<paragraph role="paragraph" id="par_id372325" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_second.xhp#second"/>
+</paragraph>
+</section>
+<section id="hour">
+<paragraph role="paragraph" id="par_id224005" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_hour.xhp#hour"/>
+</paragraph>
+</section>
+<section id="day">
+<paragraph role="paragraph" id="par_id5375835" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_day.xhp#day"/>
+</paragraph>
+</section>
+<section id="days">
+<paragraph role="paragraph" id="par_id1208838" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_days.xhp#days"/>
+</paragraph>
+</section>
+<section id="days360">
+<paragraph role="paragraph" id="par_id7679982" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_days360.xhp#days360"/>
+</paragraph>
+</section>
+<section id="weekday">
+<paragraph role="paragraph" id="par_id9172643" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_weekday.xhp#weekday"/>
+</paragraph>
+</section>
+<section id="time">
+<paragraph role="paragraph" id="par_id2354503" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_time.xhp#time"/>
+</paragraph>
+</section>
+<section id="timevalue">
+<paragraph role="paragraph" id="par_id7765434" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/01/func_timevalue.xhp#timevalue"/>
+</paragraph>
+</section>
+</sort>
+<section id="relatedtopics">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060103.xhp b/source/text/scalc/01/04060103.xhp
new file mode 100644
index 0000000000..28573f43ae
--- /dev/null
+++ b/source/text/scalc/01/04060103.xhp
@@ -0,0 +1,779 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060103xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Financial Functions Part One</title>
+ <filename>/text/scalc/01/04060103.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143284"><bookmark_value>financial functions</bookmark_value>
+ <bookmark_value>functions; financial functions</bookmark_value>
+ <bookmark_value>Function Wizard; financial</bookmark_value>
+ <bookmark_value>amortizations, see also depreciations</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<paragraph xml-lang="en-US" id="hd_id3143284" role="heading" level="1" l10n="U" oldref="1">Financial Functions Part One</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149095" role="paragraph" l10n="CHG" oldref="2"><variable id="finanztext">This category contains the mathematical finance functions of <item type="productname">%PRODUCTNAME</item> Calc.
+</variable></paragraph>
+<sort order="asc">
+<section id="amordegrc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153366"><bookmark_value>AMORDEGRC function</bookmark_value>
+ <bookmark_value>depreciations;degressive amortizations</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_AMORDEGRC" id="bm_id3152578" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153366" role="heading" level="2" l10n="U"
+ oldref="359">AMORDEGRC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147434" role="paragraph" l10n="U" oldref="360"><ahelp hid="HID_AAI_FUNC_AMORDEGRC">Calculates the amount of depreciation for a settlement period as degressive amortization.</ahelp> Unlike AMORLINC, a depreciation coefficient that is independent of the depreciable life is used here.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155855" role="heading" level="3" l10n="U"
+ oldref="361">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147427" role="code" l10n="U" oldref="362">AMORDEGRC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147125" role="paragraph" l10n="U" oldref="363">
+ <emph>Cost</emph> is the acquisition costs.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151074" role="paragraph" l10n="U" oldref="364">
+ <emph>DatePurchased</emph> is the date of acquisition.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144765" role="paragraph" l10n="U" oldref="365">
+ <emph>FirstPeriod </emph>is the end date of the first settlement period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156286" role="paragraph" l10n="U" oldref="366">
+ <emph>Salvage</emph> is the salvage value of the capital asset at the end of the depreciable life.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153415" role="paragraph" l10n="U" oldref="367">
+ <emph>Period</emph> is the settlement period to be considered.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155064" role="paragraph" l10n="U" oldref="368">
+ <emph>Rate</emph> is the rate of depreciation.</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ </section>
+ <section id="amorlinc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153765"><bookmark_value>AMORLINC function</bookmark_value>
+ <bookmark_value>depreciations;linear amortizations</bookmark_value>
+</bookmark><comment>mw added "depreciations;..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_AMORLINC" id="bm_id3153711" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153765" role="heading" level="2" l10n="U"
+ oldref="369">AMORLINC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159264" role="paragraph" l10n="U" oldref="370"><ahelp hid="HID_AAI_FUNC_AMORLINC">Calculates the amount of depreciation for a settlement period as linear amortization. If the capital asset is purchased during the settlement period, the proportional amount of depreciation is considered.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150044" role="heading" level="3" l10n="U"
+ oldref="371">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147363" role="code" l10n="U" oldref="372">AMORLINC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146920" role="paragraph" l10n="U" oldref="373">
+ <emph>Cost</emph> means the acquisition costs.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3163807" role="paragraph" l10n="U" oldref="374">
+ <emph>DatePurchased</emph> is the date of acquisition.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148488" role="paragraph" l10n="U" oldref="375">
+ <emph>FirstPeriod </emph>is the end date of the first settlement period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149530" role="paragraph" l10n="U" oldref="376">
+ <emph>Salvage</emph> is the salvage value of the capital asset at the end of the depreciable life.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148633" role="paragraph" l10n="U" oldref="377">
+ <emph>Period</emph> is the settlement period to be considered.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150982" role="paragraph" l10n="U" oldref="378">
+ <emph>Rate</emph> is the rate of depreciation.</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ </section>
+ <section id="accrint">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145257"><bookmark_value>ACCRINT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ACCRINT" id="bm_id3149815" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145257" role="heading" level="2" l10n="U"
+ oldref="335">ACCRINT</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151276"><bookmark_value>accrued interests;periodic payments</bookmark_value>
+</bookmark><comment>mw changed "accrued interests"</comment>
+<paragraph xml-lang="en-US" id="par_id3151276" role="paragraph" l10n="U" oldref="336"><ahelp hid="HID_AAI_FUNC_ACCRINT">Calculates the accrued interest of a security in the case of periodic payments.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152581" role="heading" level="3" l10n="U"
+ oldref="337">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159092" role="code" l10n="U" oldref="338">ACCRINT(Issue; FirstInterest; Settlement; Rate; Par; Frequency; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150519" role="paragraph" l10n="U" oldref="339">
+ <emph>Issue</emph> is the issue date of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155376" role="paragraph" l10n="U" oldref="340">
+ <emph>FirstInterest</emph> is the first interest date of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166431" role="paragraph" l10n="U" oldref="341">
+ <emph>Settlement</emph> is the date at which the interest accrued up until then is to be calculated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154486" role="paragraph" l10n="U" oldref="342">
+ <emph>Rate</emph> is the annual nominal rate of interest (coupon interest rate)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156445" role="paragraph" l10n="U" oldref="343">
+ <emph>Par</emph> is the par value of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149406" role="paragraph" l10n="U" oldref="344">
+ <emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ <paragraph xml-lang="en-US" id="hd_id3148699" role="heading" level="3" l10n="U"
+ oldref="345">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148599" role="paragraph" l10n="CHG" oldref="346">A security is issued on 2001-02-28. First interest is set for 2001-08-31. The settlement date is 2001-05-01. The Rate is 0.1 or 10% and Par is 1000 currency units. Interest is paid half-yearly (frequency is 2). The basis is the US method (0). How much interest has accrued?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148840" role="paragraph" l10n="CHG" oldref="347">
+ <item type="input">=ACCRINT("2001-02-28";"2001-08-31";"2001-05-01";0.1;1000;2;0)</item> returns 16.94444.</paragraph>
+ </section>
+ <section id="accrintm">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151240"><bookmark_value>ACCRINTM function</bookmark_value>
+ <bookmark_value>accrued interests;one-off payments</bookmark_value>
+</bookmark><comment>mw added one index entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ACCRINTM" id="bm_id3148866" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151240" role="heading" level="2" l10n="U"
+ oldref="348">ACCRINTM</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157981" role="paragraph" l10n="U" oldref="349"><ahelp hid="HID_AAI_FUNC_ACCRINTM">Calculates the accrued interest of a security in the case of one-off payment at the settlement date.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159097" role="heading" level="3" l10n="U"
+ oldref="350">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147074" role="code" l10n="U" oldref="351">ACCRINTM(Issue; Settlement; Rate; Par; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144773" role="paragraph" l10n="U" oldref="352">
+ <emph>Issue</emph> is the issue date of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154956" role="paragraph" l10n="CHG" oldref="353">
+ <emph>Settlement</emph> is the date at which the interest accrued up until then is to be calculated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153972" role="paragraph" l10n="U" oldref="354">
+ <emph>Rate</emph> is the annual nominal rate of interest (coupon interest rate).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159204" role="paragraph" l10n="U" oldref="355">
+ <emph>Par</emph> is the par value of the security.</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ <paragraph xml-lang="en-US" id="hd_id3155384" role="heading" level="3" l10n="U"
+ oldref="356">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154541" role="paragraph" l10n="CHG" oldref="357">A security is issued on 2001-04-01. The maturity date is set for 2001-06-15. The Rate is 0.1 or 10% and Par is 1000 currency units. The basis of the daily/annual calculation is the daily balance (3). How much interest has accrued?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149128" role="paragraph" l10n="CHG" oldref="358">
+ <item type="input">=ACCRINTM("2001-04-01";"2001-06-15";0.1;1000;3)</item> returns 20.54795.</paragraph>
+ </section>
+ <section id="received">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145753"><bookmark_value>RECEIVED function</bookmark_value>
+ <bookmark_value>amount received for fixed-interest securities</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_RECEIVED" id="bm_id3143218" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145753" role="heading" level="2" l10n="U"
+ oldref="390">RECEIVED</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150051" role="paragraph" l10n="U" oldref="391"><ahelp hid="HID_AAI_FUNC_RECEIVED">Calculates the amount received that is paid for a fixed-interest security at a given point in time.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149385" role="heading" level="3" l10n="U"
+ oldref="392">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145362" role="code" l10n="U" oldref="393">RECEIVED("Settlement"; "Maturity"; Investment; Discount; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154654" role="paragraph" l10n="U" oldref="394">
+ <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153011" role="paragraph" l10n="U" oldref="395">
+ <emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155525" role="paragraph" l10n="U" oldref="396">
+ <emph>Investment</emph> is the purchase sum.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155760" role="paragraph" l10n="U" oldref="397">
+ <emph>Discount</emph> is the percentage discount on acquisition of the security.</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ <paragraph xml-lang="en-US" id="hd_id3154710" role="heading" level="3" l10n="U"
+ oldref="398">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154735" role="paragraph" l10n="U" oldref="399">Settlement date: February 15 1999, maturity date: May 15 1999, investment sum: 1000 currency units, discount: 5.75 per cent, basis: Daily balance/360 = 2.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146108" role="paragraph" l10n="U" oldref="400">The amount received on the maturity date is calculated as follows:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147246" role="paragraph" l10n="CHG" oldref="401">
+ <item type="input">=RECEIVED("1999-02-15";"1999-05-15";1000;0.0575;2)</item> returns 1014.420266.</paragraph>
+ </section>
+ <section id="pv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147556"><bookmark_value>PV function</bookmark_value>
+ <bookmark_value>present values</bookmark_value>
+ <bookmark_value>calculating; present values</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BW" id="bm_id3153072" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147556" role="heading" level="2" l10n="U" oldref="3">PV</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153301" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_FUNC_BW">Returns the present value of an investment resulting from a series of regular payments.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146099" role="paragraph" l10n="U" oldref="5">Use this function to calculate the amount of money needed to be invested at a fixed rate today, to receive a specific amount, an annuity, over a specified number of periods. You can also determine how much money is to remain after the elapse of the period. Specify as well if the amount is to be paid out at the beginning or at the end of each period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153334" role="paragraph" l10n="U" oldref="6">Enter these values either as numbers, expressions or references. If, for example, interest is paid annually at 8%, but you want to use month as your period, enter 8%/12 under <emph>Rate</emph> and <item type="productname">%PRODUCTNAME</item> Calc with automatically calculate the correct factor.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147407" role="heading" level="3" l10n="U" oldref="7">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150395" role="code" l10n="U" oldref="8">PV(Rate; NPer; Pmt; FV; Type)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151341" role="paragraph" l10n="U" oldref="9">
+ <emph>Rate</emph> defines the interest rate per period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153023" role="paragraph" l10n="U" oldref="10">
+ <emph>NPer</emph> is the total number of periods (payment period).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146323" role="paragraph" l10n="U" oldref="11">
+ <emph>Pmt</emph> is the regular payment made per period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150536" role="paragraph" l10n="U" oldref="12">
+ <emph>FV</emph> (optional) defines the future value remaining after the final installment has been made.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146883" role="paragraph" l10n="U" oldref="13">
+ <emph>Type</emph> (optional) denotes due date for payments. Type = 1 means due at the beginning of a period and Type = 0 (default) means due at the end of the period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN10B13" role="paragraph" l10n="NEW">
+ <embedvar href="text/scalc/00/00000004.xhp#optional"/>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150037" role="heading" level="3" l10n="U"
+ oldref="14">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145225" role="paragraph" l10n="U" oldref="15">What is the present value of an investment, if 500 currency units are paid out monthly and the annual interest rate is 8%? The payment period is 48 months and 20,000 currency units are to remain at the end of the payment period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155907" role="paragraph" l10n="U" oldref="16">
+ <item type="input">=PV(8%/12;48;500;20000)</item> = -35,019.37 currency units. Under the named conditions, you must deposit 35,019.37 currency units today, if you want to receive 500 currency units per month for 48 months and have 20,000 currency units left over at the end. Cross-checking shows that 48 x 500 currency units + 20,000 currency units = 44,000 currency units. The difference between this amount and the 35,000 currency units deposited represents the interest paid.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149150" role="paragraph" l10n="U" oldref="17">If you enter references instead of these values into the formula, you can calculate any number of "If-then" scenarios. Please note: references to constants must be defined as absolute references. Examples of this type of application are found under the depreciation functions.</paragraph>
+ </section>
+ <section id="syd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152978"><bookmark_value>calculating; depreciations</bookmark_value>
+ <bookmark_value>SYD function</bookmark_value>
+ <bookmark_value>depreciations; arithmetic declining</bookmark_value>
+ <bookmark_value>arithmetic declining depreciations</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DIA" id="bm_id3157905" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152978" role="heading" level="2" l10n="U"
+ oldref="19">SYD</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148732" role="paragraph" l10n="U" oldref="20"><ahelp hid="HID_FUNC_DIA">Returns the arithmetic-declining depreciation rate.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149886" role="paragraph" l10n="U" oldref="21">Use this function to calculate the depreciation amount for one period of the total depreciation span of an object. Arithmetic declining depreciation reduces the depreciation amount from period to period by a fixed sum.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149431" role="heading" level="3" l10n="U"
+ oldref="22">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150483" role="code" l10n="U" oldref="23">SYD(Cost; Salvage; Life; Period)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146879" role="paragraph" l10n="U" oldref="24">
+ <emph>Cost</emph> is the initial cost of an asset.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147423" role="paragraph" l10n="U" oldref="25">
+ <emph>Salvage</emph> is the value of an asset after depreciation.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151229" role="paragraph" l10n="U" oldref="26">
+ <emph>Life</emph> is the period fixing the time span over which an asset is depreciated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147473" role="paragraph" l10n="U" oldref="27">
+ <emph>Period</emph> defines the period for which the depreciation is to be calculated.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148434" role="heading" level="3" l10n="U"
+ oldref="28">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149688" role="paragraph" l10n="U" oldref="29">A video system initially costing 50,000 currency units is to be depreciated annually for the next 5 years. The salvage value is to be 10,000 currency units. You want to calculate depreciation for the first year.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150900" role="paragraph" l10n="U" oldref="30">
+ <item type="input">=SYD(50000;10000;5;1)</item>=13,333.33 currency units. The depreciation amount for the first year is 13,333.33 currency units.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146142" role="paragraph" l10n="U" oldref="31">To have an overview of depreciation rates per period, it is best to define a depreciation table. By entering the different depreciation formulas available in <item type="productname">%PRODUCTNAME</item> Calc next to each other, you can see which depreciation form is the most appropriate. Enter the table as follows:</paragraph>
+ <table id="tbl_id3149189">
+ <tablerow>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155258" role="tablehead" l10n="U" oldref="32">
+ <emph>A</emph>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154558" role="tablehead" l10n="U" oldref="33">
+ <emph>B</emph>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152372" role="tablehead" l10n="U" oldref="34">
+ <emph>C</emph>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149949" role="tablehead" l10n="U" oldref="35">
+ <emph>D</emph>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145123" role="tablehead" l10n="U" oldref="36">
+ <emph>E</emph>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149504" role="tablecontent" l10n="U" oldref="37">1</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153778" role="tablecontent" l10n="U" oldref="38">
+ <item type="input">Initial Cost</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159083" role="tablecontent" l10n="U" oldref="39">
+ <item type="input">Salvage Value</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150002" role="tablecontent" l10n="U" oldref="40">
+ <item type="input">Useful Life</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153006" role="tablecontent" l10n="U" oldref="41">
+ <item type="input">Time Period</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154505" role="tablecontent" l10n="U" oldref="42">
+ <item type="input">Deprec. SYD</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150336" role="tablecontent" l10n="U" oldref="43">2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155926" role="tablecontent" l10n="U" oldref="44">
+ <item type="input">50,000 currency units</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153736" role="tablecontent" l10n="U" oldref="45">
+ <item type="input">10,000 currency units</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150131" role="tablecontent" l10n="U" oldref="46">
+ <item type="input">5</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148766" role="tablecontent" l10n="U" oldref="47">
+ <item type="input">1</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159136" role="tablecontent" l10n="U" oldref="48">
+ <item type="input">13,333.33 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151018" role="tablecontent" l10n="U" oldref="49">3</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148397" role="tablecontent" l10n="U" oldref="50">
+ <item type="input">2</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146907" role="tablecontent" l10n="U" oldref="51">
+ <item type="input">10,666.67 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147356" role="tablecontent" l10n="U" oldref="52">4</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150267" role="tablecontent" l10n="U" oldref="53">
+ <item type="input">3</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145628" role="tablecontent" l10n="U" oldref="54">
+ <item type="input">8,000.00 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149004" role="tablecontent" l10n="U" oldref="55">5</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153545" role="tablecontent" l10n="U" oldref="56">
+ <item type="input">4</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154634" role="tablecontent" l10n="U" oldref="57">
+ <item type="input">5,333.33 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147537" role="tablecontent" l10n="U" oldref="58">6</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155085" role="tablecontent" l10n="U" oldref="59">
+ <item type="input">5</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3158413" role="tablecontent" l10n="U" oldref="60">
+ <item type="input">2,666.67 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154866" role="tablecontent" l10n="U" oldref="61">7</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155404" role="tablecontent" l10n="U" oldref="62">
+ <item type="input">6</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148431" role="tablecontent" l10n="U" oldref="63">
+ <item type="input">0.00 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156261" role="tablecontent" l10n="U" oldref="64">8</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3083286" role="tablecontent" l10n="U" oldref="65">
+ <item type="input">7</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3083443" role="tablecontent" l10n="U" oldref="67">9</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154815" role="tablecontent" l10n="U" oldref="68">
+ <item type="input">8</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145082" role="tablecontent" l10n="U" oldref="70">10</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156307" role="tablecontent" l10n="U" oldref="71">
+ <item type="input">9</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147564" role="tablecontent" l10n="U" oldref="73">11</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146856" role="tablecontent" l10n="U" oldref="74">
+ <item type="input">10</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150880" role="tablecontent" l10n="U" oldref="76">12</paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145208" role="tablecontent" l10n="U" oldref="77">13</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3156113" role="tablecontent" l10n="U" oldref="78">
+ <item type="input">&gt;0</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+</tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153625" role="tablecontent" l10n="U" oldref="79">
+ <item type="input">Total</item>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151297" role="tablecontent" l10n="U" oldref="80">
+ <item type="input">40,000.00 currency units</item>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="par_id3149979" role="paragraph" l10n="U" oldref="81">The formula in E2 is as follows:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155849" role="paragraph" l10n="U" oldref="82">
+ <item type="input">=SYD($A$2;$B$2;$C$2;D2)</item>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156124" role="paragraph" l10n="U" oldref="83">This formula is duplicated in column E down to E11 (select E2, then drag down the lower right corner with the mouse).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147270" role="paragraph" l10n="U" oldref="84">Cell E13 contains the formula used to check the total of the depreciation amounts. It uses the SUMIF function as the negative values in E8:E11 must not be considered. The condition &gt;0 is contained in cell A13. The formula in E13 is as follows:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152811" role="paragraph" l10n="U" oldref="85">
+ <item type="input">=SUMIF(E2:E11;A13)</item>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155998" role="paragraph" l10n="U" oldref="86">Now view the depreciation for a 10 year period, or at a salvage value of 1 currency unit, or enter a different initial cost, and so on.</paragraph>
+ </section>
+ <section id="disc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155104"><bookmark_value>DISC function</bookmark_value>
+ <bookmark_value>allowances</bookmark_value>
+ <bookmark_value>discounts</bookmark_value>
+</bookmark><comment>mw added "discounts" and "allowances"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DISC" id="bm_id3149290" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155104" role="heading" level="2" l10n="U"
+ oldref="379">DISC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153891" role="paragraph" l10n="U" oldref="380"><ahelp hid="HID_AAI_FUNC_DISC">Calculates the allowance (discount) of a security as a percentage.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153982" role="heading" level="3" l10n="U"
+ oldref="381">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149756" role="code" l10n="U" oldref="382">DISC("Settlement"; "Maturity"; Price; Redemption; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156014" role="paragraph" l10n="U" oldref="383">
+ <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154304" role="paragraph" l10n="U" oldref="384">
+ <emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159180" role="paragraph" l10n="U" oldref="385">
+ <emph>Price</emph> is the price of the security per 100 currency units of par value.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147253" role="paragraph" l10n="U" oldref="386">
+ <emph>Redemption</emph> is the redemption value of the security per 100 currency units of par value.</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ <paragraph xml-lang="en-US" id="hd_id3151174" role="heading" level="3" l10n="U"
+ oldref="387">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155902" role="paragraph" l10n="CHG" oldref="388">A security is purchased on 2001-01-25; the maturity date is 2001-11-15. The price (purchase price) is 97, the redemption value is 100. Using daily balance calculation (basis 3) how high is the settlement (discount)?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152797" role="paragraph" l10n="CHG" oldref="389">
+ <item type="input">=DISC("2001-01-25";"2001-11-15";97;100;3)</item> returns about 0.0372 or 3.72 per cent.</paragraph>
+ </section>
+ <section id="duration_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154695"><bookmark_value>DURATION_ADD function</bookmark_value>
+ <bookmark_value>Microsoft Excel functions</bookmark_value>
+ <bookmark_value>durations;fixed interest securities</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DURATION" id="bm_id3159344" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154695" role="heading" level="2" l10n="U"
+ oldref="402">DURATION_ADD</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145768" role="paragraph" l10n="U" oldref="403"><ahelp hid="HID_AAI_FUNC_DURATION">Calculates the duration of a fixed interest security in years.</ahelp></paragraph>
+ <embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+ <paragraph xml-lang="en-US" id="hd_id3153904" role="heading" level="3" l10n="U"
+ oldref="404">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153373" role="code" l10n="U" oldref="405">DURATION_ADD("Settlement"; "Maturity"; Coupon; Yield; Frequency; Basis)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155397" role="paragraph" l10n="U" oldref="406">
+ <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148558" role="paragraph" l10n="U" oldref="407">
+ <emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153096" role="paragraph" l10n="U" oldref="408">
+ <emph>Coupon</emph> is the annual coupon interest rate (nominal rate of interest)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154594" role="paragraph" l10n="U" oldref="409">
+ <emph>Yield</emph> is the annual yield of the security.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149906" role="paragraph" l10n="U" oldref="410">
+ <emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+ <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+ <paragraph xml-lang="en-US" id="hd_id3146995" role="heading" level="3" l10n="U"
+ oldref="411">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148834" role="paragraph" l10n="CHG" oldref="412">A security is purchased on 2001-01-01; the maturity date is 2006-01-01. The Coupon rate of interest is 8%. The yield is 9.0%. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how long is the duration?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154902" role="paragraph" l10n="CHG" oldref="413">
+ <item type="input">=DURATION_ADD("2001-01-01";"2006-01-01";0.08;0.09;2;3)</item>
+ </paragraph>
+ </section>
+ <section id="effective">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159147"><bookmark_value>annual net interest rates</bookmark_value>
+ <bookmark_value>calculating; annual net interest rates</bookmark_value>
+ <bookmark_value>net annual interest rates</bookmark_value>
+ <bookmark_value>EFFECTIVE function</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EFFEKTIV" id="bm_id3154290" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159147" role="heading" level="2" l10n="U"
+ oldref="88">EFFECTIVE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154204" role="paragraph" l10n="U" oldref="89"><ahelp hid="HID_FUNC_EFFEKTIV">Returns the net annual interest rate for a nominal interest rate.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145417" role="paragraph" l10n="U" oldref="90">Nominal interest refers to the amount of interest due at the end of a calculation period. Effective interest increases with the number of payments made. In other words, interest is often paid in installments (for example, monthly or quarterly) before the end of the calculation period.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150510" role="heading" level="3" l10n="U"
+ oldref="91">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148805" role="code" l10n="U" oldref="92">EFFECTIVE(Nom; P)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149768" role="paragraph" l10n="U" oldref="93">
+ <emph>Nom</emph> is the nominal interest.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149334" role="paragraph" l10n="U" oldref="94">
+ <emph>P</emph> is the number of interest payment periods per year.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154223" role="heading" level="3" l10n="U"
+ oldref="95">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144499" role="paragraph" l10n="U" oldref="96">If the annual nominal interest rate is 9.75% and four interest calculation periods are defined, what is the actual interest rate (effective rate)?</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150772" role="paragraph" l10n="U" oldref="97">
+ <item type="input">=EFFECTIVE(9.75%;4)</item> = 10.11% The annual effective rate is therefore 10.11%.</paragraph>
+ </section>
+ <section id="effect_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147241"><bookmark_value>effective interest rates</bookmark_value>
+ <bookmark_value>EFFECT_ADD function</bookmark_value>
+</bookmark><comment>mw changed "effective rates"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_EFFECT" id="bm_id3147515" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147241" role="heading" level="2" l10n="U"
+ oldref="414">EFFECT_ADD</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147524" role="paragraph" l10n="U" oldref="415"><ahelp hid="HID_AAI_FUNC_EFFECT">Calculates the effective annual rate of interest on the basis of the nominal interest rate and the number of interest payments per annum.</ahelp></paragraph>
+ <embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+ <paragraph xml-lang="en-US" id="hd_id3155364" role="heading" level="3" l10n="U"
+ oldref="416">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155118" role="code" l10n="U" oldref="417">EFFECT_ADD(NominalRate; NPerY)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148907" role="paragraph" l10n="U" oldref="418">
+ <emph>NominalRate</emph> is the annual nominal rate of interest.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154274" role="paragraph" l10n="U" oldref="419">
+ <emph>NPerY </emph>is the number of interest payments per year.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149156" role="heading" level="3" l10n="U"
+ oldref="420">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158426" role="paragraph" l10n="U" oldref="421">What is the effective annual rate of interest for a 5.25% nominal rate and quarterly payment.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148927" role="paragraph" l10n="U" oldref="422">
+ <item type="input">=EFFECT_ADD(0.0525;4)</item> returns 0.053543 or 5.3543%.</paragraph>
+ </section>
+ <section id="ddb">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149998"><bookmark_value>calculating; arithmetic-degressive depreciations</bookmark_value>
+ <bookmark_value>arithmetic-degressive depreciations</bookmark_value>
+ <bookmark_value>depreciations;arithmetic-degressive</bookmark_value>
+ <bookmark_value>DDB function</bookmark_value>
+</bookmark><comment>mw corrected two typos and added "depreciations;..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GDA" id="bm_id3149176" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149998" role="heading" level="2" l10n="U"
+ oldref="99">DDB</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159190" role="paragraph" l10n="U" oldref="100"><ahelp hid="HID_FUNC_GDA">Returns the depreciation of an asset for a specified period using the arithmetic-declining method.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152361" role="paragraph" l10n="U" oldref="101">Use this form of depreciation if you require a higher initial depreciation value as opposed to linear depreciation. The depreciation value gets less with each period and is usually used for assets whose value loss is higher shortly after purchase (for example, vehicles, computers). Please note that the book value will never reach zero under this calculation type.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156038" role="heading" level="3" l10n="U"
+ oldref="102">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166452" role="code" l10n="U" oldref="103">DDB(Cost; Salvage; Life; Period; Factor)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153237" role="paragraph" l10n="U" oldref="104">
+ <emph>Cost</emph> fixes the initial cost of an asset.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149787" role="paragraph" l10n="U" oldref="105">
+ <emph>Salvage</emph> fixes the value of an asset at the end of its life.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152945" role="paragraph" l10n="U" oldref="106">
+ <emph>Life</emph> is the number of periods (for example, years or months) defining how long the asset is to be used.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149736" role="paragraph" l10n="U" oldref="107">
+ <emph>Period</emph> states the period for which the value is to be calculated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150243" role="paragraph" l10n="U" oldref="108">
+ <emph>Factor</emph> (optional) is the factor by which depreciation decreases. If a value is not entered, the default is factor 2.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159274" role="heading" level="3" l10n="U"
+ oldref="109">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152882" role="paragraph" l10n="U" oldref="110">A computer system with an initial cost of 75,000 currency units is to be depreciated monthly over 5 years. The value at the end of the depreciation is to be 1 currency unit. The factor is 2.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154106" role="paragraph" l10n="U" oldref="111">
+ <item type="input">=DDB(75000;1;60;12;2) </item>= 1,721.81 currency units. Therefore, the double-declining depreciation in the twelfth month after purchase is 1,721.81 currency units.</paragraph>
+ </section>
+ <section id="db">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149962"><bookmark_value>calculating; geometric-degressive depreciations</bookmark_value>
+ <bookmark_value>geometric-degressive depreciations</bookmark_value>
+ <bookmark_value>depreciations;geometric-degressive</bookmark_value>
+ <bookmark_value>DB function</bookmark_value>
+</bookmark><comment>mw added "depreciations;.."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GDA2" id="bm_id3149973" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149962" role="heading" level="2" l10n="U"
+ oldref="113">DB</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148989" role="paragraph" l10n="U" oldref="114"><ahelp hid="HID_FUNC_GDA2">Returns the depreciation of an asset for a specified period using the double-declining balance method.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156213" role="paragraph" l10n="U" oldref="115">This form of depreciation is used if you want to get a higher depreciation value at the beginning of the depreciation (as opposed to linear depreciation). The depreciation value is reduced with every depreciation period by the depreciation already deducted from the initial cost.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149807" role="heading" level="3" l10n="U"
+ oldref="116">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153349" role="code" l10n="U" oldref="117">DB(Cost; Salvage; Life; Period; Month)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148462" role="paragraph" l10n="U" oldref="118">
+ <emph>Cost</emph> is the initial cost of an asset.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148658" role="paragraph" l10n="U" oldref="119">
+ <emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145371" role="paragraph" l10n="U" oldref="120">
+ <emph>Life</emph> defines the period over which an asset is depreciated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154608" role="paragraph" l10n="U" oldref="121">
+ <emph>Period</emph> is the length of each period. The length must be entered in the same date unit as the depreciation period.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150829" role="paragraph" l10n="U" oldref="122">
+ <emph>Month</emph> (optional) denotes the number of months for the first year of depreciation. If an entry is not defined, 12 is used as the default.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3151130" role="heading" level="3" l10n="U"
+ oldref="123">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156147" role="paragraph" l10n="U" oldref="124">A computer system with an initial cost of 25,000 currency units is to be depreciated over a three year period. The salvage value is to be 1,000 currency units. One period is 30 days.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149513" role="paragraph" l10n="U" oldref="125">
+ <item type="input">=DB(25000;1000;36;1;6)</item> = 1,075.00 currency units</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159242" role="paragraph" l10n="U" oldref="126">The fixed-declining depreciation of the computer system is 1,075.00 currency units.</paragraph>
+ </section>
+ <section id="irr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153948"><bookmark_value>IRR function</bookmark_value>
+ <bookmark_value>calculating;internal rates of return, regular payments</bookmark_value>
+ <bookmark_value>internal rates of return;regular payments</bookmark_value>
+</bookmark><comment>mw changed "calculating;..." and "internal rates"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_IKV" id="bm_id3148419" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153948" role="heading" level="2" l10n="U"
+ oldref="128">IRR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143282" role="paragraph" l10n="U" oldref="129"><ahelp hid="HID_FUNC_IKV">Calculates the internal rate of return for an investment.</ahelp> The values represent cash flow values at regular intervals, at least one value must be negative (payments), and at least one value must be positive (income).</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150599" role="heading" level="3" l10n="U"
+ oldref="130">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155427" role="code" l10n="U" oldref="131">IRR(Values; Guess)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144758" role="paragraph" l10n="U" oldref="132">
+ <emph>Values</emph> represents an array containing the values.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149233" role="paragraph" l10n="U" oldref="133">
+ <emph>Guess</emph> (optional) is the estimated value. An iterative method is used to calculate the internal rate of return. If you can provide only few values, you should provide an initial guess to enable the iteration.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3151258" role="heading" level="3" l10n="U"
+ oldref="134">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150630" role="paragraph" l10n="U" oldref="135">Under the assumption that cell contents are A1=<item type="input">-10000</item>, A2=<item type="input">3500</item>, A3=<item type="input">7600</item> and A4=<item type="input">1000</item>, the formula <item type="input">=IRR(A1:A4)</item> gives a result of 11,33%.</paragraph>
+ </section>
+ <section id="ispmt">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151012"><bookmark_value>calculating; interests for unchanged amortization installments</bookmark_value>
+ <bookmark_value>interests for unchanged amortization installments</bookmark_value>
+ <bookmark_value>ISPMT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISPMT" id="bm_id3149491" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151012" role="heading" level="2" l10n="U"
+ oldref="314">ISPMT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148693" role="paragraph" l10n="U" oldref="315"><ahelp hid="HID_FUNC_ISPMT">Calculates the level of interest for unchanged amortization installments.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154661" role="heading" level="3" l10n="U"
+ oldref="316">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146070" role="code" l10n="U" oldref="317">ISPMT(Rate; Period; TotalPeriods; Invest)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148672" role="paragraph" l10n="U" oldref="318">
+ <emph>Rate</emph> sets the periodic interest rate.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145777" role="paragraph" l10n="U" oldref="319">
+ <emph>Period</emph> is the number of installments for calculation of interest.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153678" role="paragraph" l10n="U" oldref="320">
+ <emph>TotalPeriods</emph> is the total number of installment periods.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159390" role="paragraph" l10n="U" oldref="321">
+ <emph>Invest</emph> is the amount of the investment.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156162" role="heading" level="3" l10n="U"
+ oldref="322">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149558" role="paragraph" l10n="U" oldref="323">For a credit amount of 120,000 currency units with a two-year term and monthly installments, at a yearly interest rate of 12% the level of interest after 1.5 years is required.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150949" role="paragraph" l10n="U" oldref="324">
+ <item type="input">=ISPMT(1%;18;24;120000)</item> = -300 currency units. The monthly interest after 1.5 years amounts to 300 currency units.</paragraph>
+ </section>
+</sort>
+<paragraph xml-lang="en-US" id="par_id3146812" role="paragraph" l10n="U" oldref="426"><link href="text/scalc/01/04060119.xhp" name="Forward to Financial Functions Part Two">Financial Functions Part Two</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154411" role="paragraph" l10n="U" oldref="427"><link href="text/scalc/01/04060118.xhp" name="Forward to Financial Functions Part Three">Financial Functions Part Three</link></paragraph>
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060104.xhp b/source/text/scalc/01/04060104.xhp
new file mode 100644
index 0000000000..66ed847c34
--- /dev/null
+++ b/source/text/scalc/01/04060104.xhp
@@ -0,0 +1,764 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060104xml" indexer="include">
+<title id="tit" xml-lang="en-US">Information Functions</title>
+<filename>/text/scalc/01/04060104.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147247"><bookmark_value>information functions</bookmark_value>
+<bookmark_value>Function Wizard; information</bookmark_value>
+<bookmark_value>functions; information functions</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147247" xml-lang="en-US" level="1" l10n="U" oldref="1">Information Functions</paragraph>
+<paragraph role="paragraph" id="par_id3147499" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="informationtext">This category contains the <emph>Information</emph> functions.
+</variable></paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eikain"/>
+</section>
+<paragraph role="paragraph" id="par_id3159128" xml-lang="en-US" l10n="U" oldref="3">The data in the following table serves as the basis for some of the examples in the function descriptions:</paragraph>
+<table id="tbl_id3157876">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id3146885" xml-lang="en-US" l10n="U" oldref="4">C</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id3149944" xml-lang="en-US" l10n="U" oldref="5">D</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150457" xml-lang="en-US" l10n="U" oldref="6">
+<emph>2</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150024" xml-lang="en-US" l10n="U" oldref="7">x <item type="input">value</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148725" xml-lang="en-US" l10n="U" oldref="8">y <item type="input">value</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150480" xml-lang="en-US" l10n="U" oldref="9">
+<emph>3</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148440" xml-lang="en-US" l10n="U" oldref="10">
+<item type="input">-5</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148888" xml-lang="en-US" l10n="U" oldref="11">
+<item type="input">-3</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153034" xml-lang="en-US" l10n="U" oldref="12">
+<emph>4</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150139" xml-lang="en-US" l10n="U" oldref="13">
+<item type="input">-2</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149542" xml-lang="en-US" l10n="U" oldref="14">
+<item type="input">0</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149188" xml-lang="en-US" l10n="U" oldref="15">
+<emph>5</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153329" xml-lang="en-US" l10n="U" oldref="16">
+<item type="input">-1</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3155257" xml-lang="en-US" l10n="U" oldref="17">
+<item type="input">1</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145142" xml-lang="en-US" l10n="U" oldref="18">
+<emph>6</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149956" xml-lang="en-US" l10n="U" oldref="19">
+<item type="input">0</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145594" xml-lang="en-US" l10n="U" oldref="20">
+<item type="input">3</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153113" xml-lang="en-US" l10n="U" oldref="21">
+<emph>7</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148573" xml-lang="en-US" l10n="U" oldref="22">
+<item type="input">2</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145166" xml-lang="en-US" l10n="U" oldref="23">
+<item type="input">4</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3157998" xml-lang="en-US" l10n="U" oldref="24">
+<emph>8</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150018" xml-lang="en-US" l10n="U" oldref="25">
+<item type="input">4</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150129" xml-lang="en-US" l10n="U" oldref="26">
+<item type="input">6</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145245" xml-lang="en-US" l10n="U" oldref="27">
+<emph>9</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148389" xml-lang="en-US" l10n="U" oldref="28">
+<item type="input">6</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156068" xml-lang="en-US" l10n="U" oldref="29">
+<item type="input">8</item>
+</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<sort order="asc">
+<section id="info">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3691824"><bookmark_value>INFO function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INFO" id="bm_id5369426" localize="false"/>
+<paragraph role="heading" id="hd_id5787224" xml-lang="en-US" level="2" l10n="NEW">INFO</paragraph>
+<paragraph role="paragraph" id="par_id1507309" xml-lang="en-US" l10n="NEW">Returns specific information about the current working environment. The function receives a single text argument and returns data depending on that parameter.</paragraph>
+<paragraph role="heading" id="hd_id7693411" xml-lang="en-US" level="3" l10n="NEW">Syntax</paragraph>
+<paragraph role="code" id="par_id3928952" xml-lang="en-US" l10n="NEW">INFO("Type")</paragraph>
+<paragraph role="paragraph" id="par_id5206762" xml-lang="en-US" l10n="NEW">The following table lists the values for the text parameter <item type="literal">Type</item> and the return values of the INFO function.</paragraph>
+<table id="tbl_id1342204">
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_id5735953" xml-lang="en-US" l10n="NEW">Value for "Type"<comment>Do not translate the text values in this column below</comment></paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id8360850" xml-lang="en-US" l10n="NEW">Return value</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id9648731" xml-lang="en-US" l10n="NEW">"osversion"</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id908841" xml-lang="en-US" l10n="NEW">Always "Windows (32-bit) NT 5.01", for compatibility reasons</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id8193914" xml-lang="en-US" l10n="NEW">"system"</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id9841608" xml-lang="en-US" l10n="NEW">The type of the operating system. <br/>"WNT" for Microsoft Windows <br/>"LINUX" for Linux <br/>"SOLARIS" for Solaris</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id2701803" xml-lang="en-US" l10n="NEW">"release"</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id2136295" xml-lang="en-US" l10n="NEW">The product release identifier, for example "300m25(Build:9876)"</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id9200109" xml-lang="en-US" l10n="NEW">"numfile"</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id4186223" xml-lang="en-US" l10n="NEW">Always 1, for compatibility reasons</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id5766472" xml-lang="en-US" l10n="NEW">"recalc"</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id1491134" xml-lang="en-US" l10n="NEW">Current formula recalculation mode, either "Automatic" or "Manual" (localized into %PRODUCTNAME language)</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="note" id="par_id1161534" xml-lang="en-US" l10n="NEW">Other spreadsheet applications may accept localized values for the <item type="literal">Type</item> parameter, but %PRODUCTNAME Calc will only accept the English values.</paragraph>
+<paragraph role="heading" id="hd_id5459456" xml-lang="en-US" level="3" l10n="NEW">Example</paragraph>
+<paragraph role="paragraph" id="par_id3994567" xml-lang="en-US" l10n="NEW">
+<item type="input">=INFO("release")</item> returns the product release number of the %PRODUCTNAME in use.<comment>Do not translate "release"</comment></paragraph>
+<paragraph role="paragraph" id="par_id2873622" xml-lang="en-US" l10n="NEW">
+<item type="input">=INFO(D5)</item> with cell <item type="literal">D5</item> containing a text string <item type="literal">system</item> returns the operation system type.<comment>Do not translate the hlp_literal system</comment></paragraph>
+</section>
+<section id="current">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155625"><bookmark_value>CURRENT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_AKTUELL" id="bm_id3145295" localize="false"/>
+<paragraph role="heading" id="hd_id3155625" xml-lang="en-US" level="2" l10n="U" oldref="30">CURRENT</paragraph>
+<paragraph role="paragraph" id="par_id3157975" xml-lang="en-US" l10n="CHG" oldref="31"><ahelp hid="HID_FUNC_AKTUELL">This function returns the result to date of evaluating the formula of which it is a part (in other words the result as far as that evaluation has got). Its main use is together with the STYLE() function to apply selected styles to a cell depending on the cell contents.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148880" xml-lang="en-US" level="3" l10n="U" oldref="32">Syntax</paragraph>
+<paragraph role="code" id="par_id3150930" xml-lang="en-US" l10n="U" oldref="33">CURRENT()</paragraph>
+<paragraph role="heading" id="hd_id3145629" xml-lang="en-US" level="3" l10n="U" oldref="34">Example</paragraph>
+<paragraph role="paragraph" id="par_id5919064" xml-lang="en-US" l10n="NEW">
+<item type="input">=1+2+CURRENT()</item>
+</paragraph>
+<paragraph role="paragraph" id="par_id8751792" xml-lang="en-US" l10n="NEW">The example returns 6. The formula is calculated from left to right as: 1 + 2 equals 3, giving the result to date when CURRENT() is encountered; CURRENT() therefore yields 3, which is added to the original 3 to give 6.</paragraph>
+<paragraph role="paragraph" id="par_id5863826" xml-lang="en-US" l10n="NEW">
+<item type="input">=A2+B2+STYLE(IF(CURRENT()&gt;10;”Red”;”Default”))</item>
+</paragraph>
+<paragraph role="paragraph" id="par_id7463911" xml-lang="en-US" l10n="NEW">The example returns A2 + B2 (STYLE returns 0 here). If this sum is greater than 10, the style Red is applied to the cell. See the <emph>STYLE</emph> function for more explanation.</paragraph>
+<paragraph role="paragraph" id="par_id7318643" xml-lang="en-US" l10n="NEW">
+<item type="input">="choo"&amp;CURRENT()</item>
+</paragraph>
+<paragraph role="paragraph" id="par_id6019165" xml-lang="en-US" l10n="NEW">The example returns choochoo.</paragraph>
+</section>
+<section id="formula">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150688"><bookmark_value>FORMULA function</bookmark_value>
+<bookmark_value>formula cells;displaying formulas in other cells</bookmark_value>
+<bookmark_value>displaying;formulas at any position</bookmark_value>
+</bookmark><comment>mw added "formula cells;" and "displaying;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FORMEL" id="bm_id3155373" localize="false"/>
+<paragraph role="heading" id="hd_id3150688" xml-lang="en-US" level="2" l10n="U" oldref="147">FORMULA</paragraph>
+<paragraph role="paragraph" id="par_id3158417" xml-lang="en-US" l10n="CHG" oldref="148"><ahelp hid="HID_FUNC_FORMEL">Displays the formula of a formula cell as a text string.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154954" xml-lang="en-US" level="3" l10n="U" oldref="149">Syntax</paragraph>
+<paragraph role="code" id="par_id3147535" xml-lang="en-US" l10n="CHG" oldref="150">FORMULA(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3014313" xml-lang="en-US" l10n="NEW">
+<emph>Reference</emph> is a reference to a cell containing a formula.</paragraph>
+<paragraph role="paragraph" id="par_id8857081" xml-lang="en-US" l10n="NEW">An invalid reference or a reference to a cell with no formula results in the error value #N/A.</paragraph>
+<paragraph role="heading" id="hd_id3152820" xml-lang="en-US" level="3" l10n="U" oldref="151">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153179" xml-lang="en-US" l10n="CHG" oldref="152">If cell A8 contains the formula <item type="input">=SUM(1;2;3)</item> then</paragraph>
+<paragraph role="paragraph" id="par_id3153923" xml-lang="en-US" l10n="CHG" oldref="153">
+<item type="input">=FORMULA(A8)</item> returns the text =SUM(1;2;3).</paragraph>
+</section>
+<section id="isref">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155409"><bookmark_value>ISREF function</bookmark_value>
+<bookmark_value>references;testing cell contents</bookmark_value>
+<bookmark_value>cell contents;testing for references</bookmark_value>
+</bookmark><comment>mw added "references;" and "cell contents;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTBEZUG" id="bm_id3149774" localize="false"/>
+<paragraph role="heading" id="hd_id3155409" xml-lang="en-US" level="2" l10n="U" oldref="37">ISREF</paragraph>
+<paragraph role="paragraph" id="par_id3153723" xml-lang="en-US" l10n="CHG" oldref="38"><ahelp hid="HID_FUNC_ISTBEZUG">Tests if the argument is a reference.</ahelp> Returns TRUE if the argument is a reference, returns FALSE otherwise. When given a reference this function does not examine the value being referenced.<comment>i82565</comment></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3147175" xml-lang="en-US" level="3" l10n="U" oldref="39">Syntax</paragraph>
+<paragraph role="code" id="par_id3149821" xml-lang="en-US" l10n="U" oldref="40">ISREF(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3146152" xml-lang="en-US" l10n="U" oldref="41">
+<emph>Value</emph> is the value to be tested, to determine whether it is a reference.</paragraph>
+<paragraph role="heading" id="hd_id3083448" xml-lang="en-US" level="3" l10n="U" oldref="42">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="CHG" oldref="43">
+<item type="input">=ISREF(C5)</item> returns the result TRUE because C5 is a valid reference.</paragraph>
+<paragraph role="paragraph" id="par_id9728072" xml-lang="en-US" l10n="CHG">
+<item type="input">=ISREF("abcdef")</item> returns always FALSE because a text can never be a reference.</paragraph>
+<paragraph role="paragraph" id="par_id2131544" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISREF(4)</item> returns FALSE.</paragraph>
+<paragraph role="paragraph" id="par_id4295480" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISREF(INDIRECT("A6"))</item> returns TRUE, because INDIRECT is a function that returns a reference.</paragraph>
+<paragraph role="paragraph" id="par_id3626819" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISREF(ADDRESS(1; 1; 2;"Sheet2"))</item> returns FALSE, because ADDRESS is a function that returns a text, although it looks like a reference.</paragraph>
+</section>
+<section id="iserr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154812"><bookmark_value>ISERR function</bookmark_value>
+<bookmark_value>error codes;controlling</bookmark_value>
+</bookmark><comment>mw added "error codes,"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFEHL" id="bm_id3145081" localize="false"/>
+<paragraph role="heading" id="hd_id3154812" xml-lang="en-US" level="2" l10n="U" oldref="45">ISERR</paragraph>
+<paragraph role="paragraph" id="par_id3149282" xml-lang="en-US" l10n="CHG" oldref="46"><ahelp hid="HID_FUNC_ISTFEHL">Tests for error conditions, except the #N/A error value, and returns TRUE or FALSE.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3149450" xml-lang="en-US" level="3" l10n="U" oldref="47">Syntax</paragraph>
+<paragraph role="code" id="par_id3156312" xml-lang="en-US" l10n="U" oldref="48">ISERR(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3146857" xml-lang="en-US" l10n="CHG" oldref="49">
+<emph>Value</emph> is any value or expression which is tested to see whether an error value other than #N/A is present.</paragraph>
+<paragraph role="heading" id="hd_id3153212" xml-lang="en-US" level="3" l10n="U" oldref="50">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153276" xml-lang="en-US" l10n="CHG" oldref="51">
+<item type="input">=ISERR(C8)</item> where cell C8 contains <item type="input">=1/0</item> returns TRUE, because 1/0 is an error.</paragraph>
+<paragraph role="paragraph" id="par_id8456984" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISERR(C9)</item> where cell C9 contains <item type="input">=NA()</item> returns FALSE, because ISERR() ignores the #N/A error.</paragraph>
+</section>
+<section id="iserror">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147081"><bookmark_value>ISERROR function</bookmark_value>
+<bookmark_value>recognizing;general errors</bookmark_value>
+</bookmark><comment>mw added "recognizing;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFEHLER" id="bm_id3145206" localize="false"/>
+<paragraph role="heading" id="hd_id3147081" xml-lang="en-US" level="2" l10n="U" oldref="53">ISERROR</paragraph>
+<paragraph role="paragraph" id="par_id3156316" xml-lang="en-US" l10n="CHG" oldref="54"><ahelp hid="HID_FUNC_ISTFEHLER">Tests for error conditions, including the #N/A error value, and returns TRUE or FALSE.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3147569" xml-lang="en-US" level="3" l10n="U" oldref="55">Syntax</paragraph>
+<paragraph role="code" id="par_id3153155" xml-lang="en-US" l10n="U" oldref="56">ISERROR(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3154047" xml-lang="en-US" l10n="CHG" oldref="57">
+<emph>Value</emph> is or refers to the value to be tested. ISERROR() returns TRUE if there is an error and FALSE if not.</paragraph>
+<paragraph role="heading" id="hd_id3155994" xml-lang="en-US" level="3" l10n="U" oldref="58">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150256" xml-lang="en-US" l10n="CHG" oldref="59">
+<item type="input">=ISERROR(C8)</item> where cell C8 contains <item type="input">=1/0</item> returns TRUE, because 1/0 is an error.</paragraph>
+<paragraph role="paragraph" id="par_id1889095" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISERROR(C9)</item> where cell C9 contains <item type="input">=NA()</item> returns TRUE.</paragraph>
+</section>
+<section id="isformula">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153618"><bookmark_value>ISFORMULA function</bookmark_value>
+<bookmark_value>recognizing formula cells</bookmark_value>
+<bookmark_value>formula cells;recognizing</bookmark_value>
+</bookmark><comment>mw inserted "recognizing..." and "formula cells;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFORMEL" id="bm_id3154740" localize="false"/>
+<paragraph role="heading" id="hd_id3153618" xml-lang="en-US" level="2" l10n="U" oldref="61">ISFORMULA</paragraph>
+<paragraph role="paragraph" id="par_id3149138" xml-lang="en-US" l10n="U" oldref="62"><ahelp hid="HID_FUNC_ISTFORMEL">Returns TRUE if a cell is a formula cell.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3155100" xml-lang="en-US" level="3" l10n="U" oldref="63">Syntax</paragraph>
+<paragraph role="code" id="par_id3143230" xml-lang="en-US" l10n="U" oldref="64">ISFORMULA(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3150150" xml-lang="en-US" l10n="U" oldref="65">
+<emph>Reference</emph> indicates the reference to a cell in which a test will be performed to determine if it contains a formula.</paragraph>
+<paragraph role="heading" id="hd_id3147491" xml-lang="en-US" level="3" l10n="U" oldref="66">Example</paragraph>
+<paragraph role="paragraph" id="par_id3159182" xml-lang="en-US" l10n="CHG" oldref="67">
+<item type="input">=ISFORMULA(C4)</item> returns FALSE if the cell C4 contains the number <item type="input">5</item>.</paragraph>
+</section>
+<section id="iseven_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149760"><bookmark_value>ISEVEN_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ISEVEN" id="bm_id3146094" localize="false"/>
+<paragraph role="heading" id="hd_id3149760" xml-lang="en-US" level="2" oldref="229">ISEVEN_ADD</paragraph>
+<paragraph role="paragraph" id="par_id3147253" xml-lang="en-US" l10n="CHG" oldref="230"><ahelp hid="HID_AAI_FUNC_ISEVEN">Tests for even numbers. Returns 1 if the number divided by 2 returns a whole number.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph role="heading" id="hd_id3152799" xml-lang="en-US" level="3" l10n="U" oldref="231">Syntax</paragraph>
+<paragraph role="code" id="par_id3149202" xml-lang="en-US" l10n="U" oldref="232">ISEVEN_ADD(Number)</paragraph>
+<paragraph role="paragraph" id="par_id3151168" xml-lang="en-US" l10n="CHG" oldref="233">
+<emph>Number</emph> is the number to be tested.</paragraph>
+<paragraph role="heading" id="hd_id3150115" xml-lang="en-US" level="3" l10n="U" oldref="234">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153904" xml-lang="en-US" l10n="U" oldref="235">
+<item type="input">=ISEVEN_ADD(5)</item> returns 0.</paragraph>
+<paragraph role="paragraph" id="par_id6238308" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISEVEN_ADD(A1)</item> returns 1 if cell A1 contains the number <item type="input">2</item>.</paragraph>
+</section>
+<section id="isnontext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154692"><bookmark_value>ISNONTEXT function</bookmark_value>
+<bookmark_value>cell contents;no text</bookmark_value>
+</bookmark><comment>mw added "cell contents;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTKTEXT" id="bm_id3159342" localize="false"/>
+<paragraph role="heading" id="hd_id3154692" xml-lang="en-US" level="2" l10n="U" oldref="68">ISNONTEXT</paragraph>
+<paragraph role="paragraph" id="par_id3155330" xml-lang="en-US" l10n="U" oldref="69"><ahelp hid="HID_FUNC_ISTKTEXT">Tests if the cell contents are text or numbers, and returns FALSE if the contents are text.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id5719779" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns TRUE.</paragraph>
+<paragraph role="heading" id="hd_id3154931" xml-lang="en-US" level="3" l10n="U" oldref="70">Syntax</paragraph>
+<paragraph role="code" id="par_id3148829" xml-lang="en-US" l10n="U" oldref="71">ISNONTEXT(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3146992" xml-lang="en-US" l10n="U" oldref="72">
+<emph>Value</emph> is any value or expression where a test is performed to determine whether it is a text or numbers or a Boolean value.</paragraph>
+<paragraph role="heading" id="hd_id3150525" xml-lang="en-US" level="3" l10n="U" oldref="73">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149906" xml-lang="en-US" l10n="CHG" oldref="74">
+<item type="input">=ISNONTEXT(D2)</item> returns FALSE if cell D2 contains the text <item type="input">abcdef</item>.</paragraph>
+<paragraph role="paragraph" id="par_id3150777" xml-lang="en-US" l10n="CHG" oldref="75">
+<item type="input">=ISNONTEXT(D9)</item> returns TRUE if cell D9 contains the number <item type="input">8</item>.</paragraph>
+</section>
+<section id="isblank">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159148"><bookmark_value>ISBLANK function</bookmark_value>
+<bookmark_value>blank cell contents</bookmark_value>
+<bookmark_value>empty cells; recognizing</bookmark_value>
+</bookmark><comment>mw added "blank..." and "empty cells;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTLEER" id="bm_id3148940" localize="false"/>
+<paragraph role="heading" id="hd_id3159148" xml-lang="en-US" level="2" l10n="U" oldref="77">ISBLANK</paragraph>
+<paragraph role="paragraph" id="par_id3148800" xml-lang="en-US" l10n="U" oldref="78"><ahelp hid="HID_FUNC_ISTLEER">Returns TRUE if the reference to a cell is blank.</ahelp> This function is used to determine if the content of a cell is empty. A cell with a formula inside is not empty. </paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3159162" xml-lang="en-US" level="3" l10n="U" oldref="79">Syntax</paragraph>
+<paragraph role="code" id="par_id3158406" xml-lang="en-US" l10n="U" oldref="80">ISBLANK(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3154212" xml-lang="en-US" l10n="U" oldref="81">
+<emph>Value</emph> is the content to be tested.</paragraph>
+<paragraph role="heading" id="hd_id3147508" xml-lang="en-US" level="3" l10n="U" oldref="82">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147234" xml-lang="en-US" l10n="U" oldref="83">
+<item type="input">=ISBLANK(D2)</item> returns FALSE as a result.</paragraph>
+</section>
+<section id="islogical">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155356"><bookmark_value>ISLOGICAL function</bookmark_value>
+<bookmark_value>number formats;logical</bookmark_value>
+<bookmark_value>logical number formats</bookmark_value>
+</bookmark><comment>mw added "number formats;" and "logical..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTLOG" id="bm_id3158424" localize="false"/>
+<paragraph role="heading" id="hd_id3155356" xml-lang="en-US" level="2" l10n="U" oldref="85">ISLOGICAL</paragraph>
+<paragraph role="paragraph" id="par_id3148926" xml-lang="en-US" l10n="CHG" oldref="86"><ahelp hid="HID_FUNC_ISTLOG">Tests for a logical value (TRUE or FALSE).</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3541062" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph>
+<paragraph role="heading" id="hd_id3149162" xml-lang="en-US" level="3" l10n="U" oldref="87">Syntax</paragraph>
+<paragraph role="code" id="par_id3148918" xml-lang="en-US" l10n="U" oldref="88">ISLOGICAL(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3146946" xml-lang="en-US" l10n="CHG" oldref="89">Returns TRUE if <emph>Value</emph> is a logical value (TRUE or FALSE), and returns FALSE otherwise.</paragraph>
+<paragraph role="heading" id="hd_id3150709" xml-lang="en-US" level="3" l10n="U" oldref="90">Example</paragraph>
+<paragraph role="paragraph" id="par_id3166442" xml-lang="en-US" l10n="CHG" oldref="91">
+<item type="input">=ISLOGICAL(99)</item> returns FALSE, because 99 is a number, not a logical value.</paragraph>
+<paragraph role="paragraph" id="par_id3556016" xml-lang="en-US" l10n="NEW">
+<item type="input">=ISLOGICAL(ISNA(D4))</item> returns TRUE whatever the contents of cell D4, because ISNA() returns a logical value.</paragraph>
+</section>
+<section id="isna">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153685"><bookmark_value>ISNA function</bookmark_value>
+<bookmark_value>#N/A error;recognizing</bookmark_value>
+</bookmark><comment>mw added "#N/A ..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTNV" id="bm_id3159273" localize="false"/>
+<paragraph role="heading" id="hd_id3153685" xml-lang="en-US" level="2" l10n="U" oldref="93">ISNA</paragraph>
+<paragraph role="paragraph" id="par_id3149105" xml-lang="en-US" l10n="U" oldref="94"><ahelp hid="HID_FUNC_ISTNV">Returns TRUE if a cell contains the #N/A (value not available) error value.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id6018860" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph>
+<paragraph role="heading" id="hd_id3152947" xml-lang="en-US" level="3" l10n="U" oldref="95">Syntax</paragraph>
+<paragraph role="code" id="par_id3153748" xml-lang="en-US" l10n="U" oldref="96">ISNA(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3152884" xml-lang="en-US" l10n="U" oldref="97">
+<emph>Value</emph> is the value or expression to be tested.</paragraph>
+<paragraph role="heading" id="hd_id3149964" xml-lang="en-US" level="3" l10n="U" oldref="98">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154852" xml-lang="en-US" l10n="U" oldref="99">
+<item type="input">=ISNA(D3)</item> returns FALSE as a result.</paragraph>
+</section>
+<section id="istext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149426"><bookmark_value>ISTEXT function</bookmark_value>
+<bookmark_value>cell contents;text</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTTEXT" id="bm_id3148468" localize="false"/>
+<paragraph role="heading" id="hd_id3149426" xml-lang="en-US" level="2" l10n="U" oldref="101">ISTEXT</paragraph>
+<paragraph role="paragraph" id="par_id3145368" xml-lang="en-US" l10n="U" oldref="102"><ahelp hid="HID_FUNC_ISTTEXT">Returns TRUE if the cell contents refer to text.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id6779686" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph>
+<paragraph role="heading" id="hd_id3154332" xml-lang="en-US" level="3" l10n="U" oldref="103">Syntax</paragraph>
+<paragraph role="code" id="par_id3148649" xml-lang="en-US" l10n="U" oldref="104">ISTEXT(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3150417" xml-lang="en-US" l10n="U" oldref="105">
+<emph>Value</emph> is a value, number, Boolean value, or an error value to be tested.</paragraph>
+<paragraph role="heading" id="hd_id3149239" xml-lang="en-US" level="3" l10n="U" oldref="106">Example</paragraph>
+<paragraph role="paragraph" id="par_id3144756" xml-lang="en-US" l10n="CHG" oldref="107">
+<item type="input">=ISTEXT(D9)</item> returns TRUE if cell D9 contains the text <item type="input">abcdef</item>.</paragraph>
+<paragraph role="paragraph" id="par_id3148416" xml-lang="en-US" l10n="CHG" oldref="108">
+<item type="input">=ISTEXT(C3)</item> returns FALSE if cell C3 contains the number <item type="input">3</item>.</paragraph>
+</section>
+<section id="isodd_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153939"><bookmark_value>ISODD_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ISODD" id="bm_id3149927" localize="false"/>
+<paragraph role="heading" id="hd_id3153939" xml-lang="en-US" level="2" oldref="236">ISODD_ADD</paragraph>
+<paragraph role="paragraph" id="par_id3153538" xml-lang="en-US" l10n="U" oldref="237"><ahelp hid="HID_AAI_FUNC_ISODD">Returns TRUE (1) if the number does not return a whole number when divided by 2.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph role="heading" id="hd_id3145601" xml-lang="en-US" level="3" l10n="U" oldref="238">Syntax</paragraph>
+<paragraph role="code" id="par_id3149485" xml-lang="en-US" l10n="U" oldref="239">ISODD_ADD(Number)</paragraph>
+<paragraph role="paragraph" id="par_id3153315" xml-lang="en-US" l10n="U" oldref="240">
+<emph>Number</emph> is the number to be tested.</paragraph>
+<paragraph role="heading" id="hd_id3143274" xml-lang="en-US" level="3" l10n="U" oldref="241">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154793" xml-lang="en-US" l10n="U" oldref="242">
+<item type="input">=ISODD_ADD(5)</item> returns 1.</paragraph>
+</section>
+<section id="isnumber">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148688"><bookmark_value>ISNUMBER function</bookmark_value>
+<bookmark_value>cell contents;numbers</bookmark_value>
+</bookmark><comment>mw added "cell contents;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTZAHL" id="bm_id3149587" localize="false"/>
+<paragraph role="heading" id="hd_id3148688" xml-lang="en-US" level="2" l10n="U" oldref="110">ISNUMBER</paragraph>
+<paragraph role="paragraph" id="par_id3154618" xml-lang="en-US" l10n="U" oldref="111"><ahelp hid="HID_FUNC_ISTZAHL">Returns TRUE if the value refers to a number.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3152769" xml-lang="en-US" level="3" l10n="U" oldref="112">Syntax</paragraph>
+<paragraph role="code" id="par_id3150595" xml-lang="en-US" l10n="U" oldref="113">ISNUMBER(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3150351" xml-lang="en-US" l10n="U" oldref="114">
+<emph>Value</emph> is any expression to be tested to determine whether it is a number or text.</paragraph>
+<paragraph role="heading" id="hd_id3146793" xml-lang="en-US" level="3" l10n="U" oldref="115">Example</paragraph>
+<paragraph role="paragraph" id="par_id3155614" xml-lang="en-US" l10n="CHG" oldref="116">
+<item type="input">=ISNUMBER(C3)</item> returns TRUE if the cell C3 contains the number <item type="input">4</item>.</paragraph>
+<paragraph role="paragraph" id="par_id3154417" xml-lang="en-US" l10n="CHG" oldref="117">
+<item type="input">=ISNUMBER(C2)</item> returns FALSE if the cell C2 contains the text <item type="input">abcdef</item>.</paragraph>
+</section>
+<section id="n">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153694"><bookmark_value>N function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_N" id="bm_id3153786" localize="false"/>
+<paragraph role="heading" id="hd_id3153694" xml-lang="en-US" level="2" l10n="U" oldref="119">N</paragraph>
+<paragraph role="paragraph" id="par_id3150405" xml-lang="en-US" l10n="CHG" oldref="120"><ahelp hid="HID_FUNC_N">Returns the numeric value of the given parameter. Returns 0 if parameter is text or FALSE.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id9115573" xml-lang="en-US" l10n="NEW">If an error occurs the function returns the error value.</paragraph>
+<paragraph role="heading" id="hd_id3145774" xml-lang="en-US" level="3" l10n="U" oldref="121">Syntax</paragraph>
+<paragraph role="code" id="par_id3153883" xml-lang="en-US" l10n="U" oldref="122">N(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3151101" xml-lang="en-US" l10n="CHG" oldref="123">
+<emph>Value</emph> is the parameter to be converted into a number. N() returns the numeric value if it can. It returns the logical values TRUE and FALSE as 1 and 0 respectively. It returns text as 0.</paragraph>
+<paragraph role="heading" id="hd_id3147097" xml-lang="en-US" level="3" l10n="U" oldref="124">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154117" xml-lang="en-US" l10n="CHG" oldref="125">
+<item type="input">=N(123)</item> returns 123</paragraph>
+<paragraph role="paragraph" id="par_id2337717" xml-lang="en-US" l10n="NEW">
+<item type="input">=N(TRUE)</item> returns 1</paragraph>
+<paragraph role="paragraph" id="par_id3153781" xml-lang="en-US" l10n="U" oldref="126">
+<item type="input">=N(FALSE)</item> returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3154670" xml-lang="en-US" l10n="U" oldref="243">
+<item type="input">=N("abc")</item> returns 0</paragraph>
+<paragraph role="paragraph" id="par_id3519089" xml-lang="en-US" l10n="NEW">=N(1/0) returns #DIV/0!</paragraph>
+</section>
+<section id="na">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156275"><bookmark_value>NA function</bookmark_value>
+<bookmark_value>#N/A error;assigning to a cell</bookmark_value>
+</bookmark><comment>mw added "#N/A error;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NV" id="bm_id3154569" localize="false"/>
+<paragraph role="heading" id="hd_id3156275" xml-lang="en-US" level="2" l10n="U" oldref="129">NA</paragraph>
+<paragraph role="paragraph" id="par_id3156161" xml-lang="en-US" l10n="U" oldref="130"><ahelp hid="HID_FUNC_NV">Returns the error value #N/A.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3147532" xml-lang="en-US" level="3" l10n="U" oldref="131">Syntax</paragraph>
+<paragraph role="code" id="par_id3149563" xml-lang="en-US" l10n="U" oldref="132">NA()</paragraph>
+<paragraph role="heading" id="hd_id3155128" xml-lang="en-US" level="3" l10n="U" oldref="133">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154481" xml-lang="en-US" l10n="U" oldref="134">
+<item type="input">=NA()</item> converts the contents of the cell into #N/A.</paragraph>
+</section>
+<section id="type">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151255"><bookmark_value>TYPE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TYP" id="bm_id3146127" localize="false"/>
+<paragraph role="heading" id="hd_id3151255" xml-lang="en-US" level="2" l10n="U" oldref="136">TYPE</paragraph>
+<paragraph role="paragraph" id="par_id3155900" xml-lang="en-US" l10n="U" oldref="137"><ahelp hid="HID_FUNC_TYP">Returns the type of value.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#wahr"/>
+<paragraph role="heading" id="hd_id3149992" xml-lang="en-US" level="3" l10n="U" oldref="138">Syntax</paragraph>
+<paragraph role="code" id="par_id3148400" xml-lang="en-US" l10n="U" oldref="139">TYPE(Value)</paragraph>
+<paragraph role="paragraph" id="par_id3150830" xml-lang="en-US" l10n="U" oldref="140">
+<emph>Value</emph> is a specific value for which the data type is determined. Value 1 = number, value 2 = text, value 4 = Boolean value, value 8 = formula, value 16 = error value.</paragraph>
+<paragraph role="heading" id="hd_id3154363" xml-lang="en-US" level="3" l10n="U" oldref="141">Example (see example table above)</paragraph>
+<paragraph role="paragraph" id="par_id3153357" xml-lang="en-US" l10n="U" oldref="142">
+<item type="input">=TYPE(C2)</item> returns 2 as a result.</paragraph>
+<paragraph role="paragraph" id="par_id3148980" xml-lang="en-US" l10n="U" oldref="143">
+<item type="input">=TYPE(D9)</item> returns 1 as a result.</paragraph>
+</section>
+<section id="cell">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155509"><bookmark_value>CELL function</bookmark_value>
+<bookmark_value>cell information</bookmark_value>
+<bookmark_value>information on cells</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZELLE" id="bm_id3159412" localize="false"/>
+<paragraph role="heading" id="hd_id3155509" xml-lang="en-US" level="2" l10n="U" oldref="154">CELL</paragraph>
+<paragraph role="paragraph" id="par_id3153196" xml-lang="en-US" l10n="U" oldref="155"><ahelp hid="HID_FUNC_ZELLE">Returns information on address, formatting or contents of a cell.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149323" xml-lang="en-US" level="3" l10n="U" oldref="156">Syntax</paragraph>
+<paragraph role="code" id="par_id3147355" xml-lang="en-US" l10n="U" oldref="157">CELL("InfoType"; Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3154716" xml-lang="en-US" l10n="U" oldref="158">
+<emph>InfoType</emph> is the character string that specifies the type of information. The character string is always in English. Upper or lower case is optional.</paragraph>
+<table id="tbl_id3152470">
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_id3150636" xml-lang="en-US" l10n="U" oldref="165">InfoType</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id3149344" xml-lang="en-US" l10n="U" oldref="166">Meaning</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3153266" xml-lang="en-US" l10n="U" oldref="167">COL</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156204" xml-lang="en-US" l10n="U" oldref="168">Returns the number of the referenced column.</paragraph>
+<paragraph role="tablecontent" id="par_id3150094" xml-lang="en-US" l10n="U" oldref="162">
+<item type="input">=CELL("COL";D2)</item> returns 4.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3151276" xml-lang="en-US" l10n="U" oldref="169">ROW</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3147583" xml-lang="en-US" l10n="U" oldref="170">Returns the number of the referenced row.</paragraph>
+<paragraph role="tablecontent" id="par_id3151222" xml-lang="en-US" l10n="U" oldref="163">
+<item type="input">=CELL("ROW";D2)</item> returns 2.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3159217" xml-lang="en-US" l10n="U" oldref="171">SHEET</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3151201" xml-lang="en-US" l10n="U" oldref="172">Returns the number of the referenced sheet.</paragraph>
+<paragraph role="tablecontent" id="par_id3149169" xml-lang="en-US" l10n="U" oldref="164">
+<item type="input">=CELL("Sheet";Sheet3.D2)</item> returns 3.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3149431" xml-lang="en-US" l10n="U" oldref="173">ADDRESS</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156054" xml-lang="en-US" l10n="U" oldref="174">Returns the absolute address of the referenced cell.</paragraph>
+<paragraph role="tablecontent" id="par_id3154136" xml-lang="en-US" l10n="U" oldref="175">
+<item type="input">=CELL("ADDRESS";D2)</item> returns $D$2.</paragraph>
+<paragraph role="tablecontent" id="par_id3159198" xml-lang="en-US" l10n="U" oldref="176">
+<item type="input">=CELL("ADDRESS";Sheet3.D2)</item> returns $Sheet3.$D$2.</paragraph>
+<paragraph role="tablecontent" id="par_id3150245" xml-lang="en-US" l10n="U" oldref="177">
+<item type="input">=CELL("ADDRESS";'X:\dr\test.sxc'#$Sheet1.D2)</item> returns 'file:///X:/dr/test.sxc'#$Sheet1.$D$2.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3146811" xml-lang="en-US" l10n="U" oldref="178">FILENAME</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3151328" xml-lang="en-US" l10n="U" oldref="179">Returns the file name and the sheet number of the referenced cell.</paragraph>
+<paragraph role="tablecontent" id="par_id3148896" xml-lang="en-US" l10n="U" oldref="180">
+<item type="input">=CELL("FILENAME";D2)</item> returns 'file:///X:/dr/own.sxc'#$Sheet1, if the formula in the current document X:\dr\own.sxc is located in Sheet1.</paragraph>
+<paragraph role="tablecontent" id="par_id3155144" xml-lang="en-US" l10n="U" oldref="181">
+<item type="input">=CELL("FILENAME";'X:\dr\test.sxc'#$Sheet1.D2)</item> returns 'file:///X:/dr/test.sxc'#$Sheet1.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="182">COORD</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3151004" xml-lang="en-US" l10n="U" oldref="183">Returns the complete cell address in Lotus(TM) notation.</paragraph>
+<paragraph role="tablecontent" id="par_id3159104" xml-lang="en-US" l10n="U" oldref="184">
+<item type="input">=CELL("COORD"; D2)</item> returns $A:$D$2.</paragraph>
+<paragraph role="tablecontent" id="par_id3163720" xml-lang="en-US" l10n="U" oldref="185">
+<item type="input">=CELL("COORD"; Sheet3.D2)</item> returns $C:$D$2.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3155910" xml-lang="en-US" l10n="U" oldref="186">CONTENTS</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156041" xml-lang="en-US" l10n="U" oldref="187">Returns the contents of the referenced cell, without any formatting.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3151069" xml-lang="en-US" l10n="U" oldref="188">TYPE</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3155344" xml-lang="en-US" l10n="U" oldref="189">Returns the type of cell contents.</paragraph>
+<paragraph role="tablecontent" id="par_id3145217" xml-lang="en-US" l10n="U" oldref="190">b = blank. empty cell</paragraph>
+<paragraph role="tablecontent" id="par_id3155176" xml-lang="en-US" l10n="U" oldref="191">l = label. Text, result of a formula as text</paragraph>
+<paragraph role="tablecontent" id="par_id3147280" xml-lang="en-US" l10n="U" oldref="192">v = value. Value, result of a formula as a number</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3156348" xml-lang="en-US" l10n="U" oldref="193">WIDTH</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3154920" xml-lang="en-US" l10n="U" oldref="194">Returns the width of the referenced column. The unit is the number of zeros (0) that fit into the column in the default text and the default size.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3152355" xml-lang="en-US" l10n="U" oldref="195">PREFIX</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3154230" xml-lang="en-US" l10n="U" oldref="196">Returns the alignment of the referenced cell.</paragraph>
+<paragraph role="tablecontent" id="par_id3155946" xml-lang="en-US" l10n="U" oldref="197">' = align left or left-justified</paragraph>
+<paragraph role="tablecontent" id="par_id3147220" xml-lang="en-US" l10n="U" oldref="198">" = align right</paragraph>
+<paragraph role="tablecontent" id="par_id3149038" xml-lang="en-US" l10n="U" oldref="199">^ = centered</paragraph>
+<paragraph role="tablecontent" id="par_id3153129" xml-lang="en-US" l10n="U" oldref="200">\ = repeating (currently inactive)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3154406" xml-lang="en-US" l10n="U" oldref="201">PROTECT</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145127" xml-lang="en-US" l10n="U" oldref="202">Returns the status of the cell protection for the cell.</paragraph>
+<paragraph role="tablecontent" id="par_id3155794" xml-lang="en-US" l10n="U" oldref="203">1 = cell is protected</paragraph>
+<paragraph role="tablecontent" id="par_id3155072" xml-lang="en-US" l10n="U" oldref="204">0 = cell is not protected</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3156178" xml-lang="en-US" l10n="U" oldref="205">FORMAT</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150220" xml-lang="en-US" l10n="U" oldref="206">Returns a character string that indicates the number format.</paragraph>
+<paragraph role="tablecontent" id="par_id3153824" xml-lang="en-US" l10n="U" oldref="207">, = number with thousands separator</paragraph>
+<paragraph role="tablecontent" id="par_id3153837" xml-lang="en-US" l10n="U" oldref="208">F = number without thousands separator</paragraph>
+<paragraph role="tablecontent" id="par_id3150318" xml-lang="en-US" l10n="U" oldref="209">C = currency format</paragraph>
+<paragraph role="tablecontent" id="par_id3153168" xml-lang="en-US" l10n="U" oldref="210">S = exponential representation, for example, 1.234+E56</paragraph>
+<paragraph role="tablecontent" id="par_id3153515" xml-lang="en-US" l10n="U" oldref="211">P = percentage</paragraph>
+<paragraph role="tablecontent" id="par_id3154375" xml-lang="en-US" l10n="U" oldref="212">In the above formats, the number of decimal places after the decimal separator is given as a number. Example: the number format #,##0.0 returns ,1 and the number format 00.000% returns P3</paragraph>
+<paragraph role="tablecontent" id="par_id3150575" xml-lang="en-US" l10n="U" oldref="213">D1 = MMM-D-YY, MM-D-YY and similar formats</paragraph>
+<paragraph role="tablecontent" id="par_id3150589" xml-lang="en-US" l10n="U" oldref="214">D2 = DD-MM</paragraph>
+<paragraph role="tablecontent" id="par_id3151034" xml-lang="en-US" l10n="U" oldref="215">D3 = MM-YY</paragraph>
+<paragraph role="tablecontent" id="par_id3156371" xml-lang="en-US" l10n="U" oldref="216">D4 = DD-MM-YYYY HH:MM:SS</paragraph>
+<paragraph role="tablecontent" id="par_id3157881" xml-lang="en-US" l10n="U" oldref="217">D5 = MM-DD</paragraph>
+<paragraph role="tablecontent" id="par_id3157894" xml-lang="en-US" l10n="U" oldref="218">D6 = HH:MM:SS AM/PM</paragraph>
+<paragraph role="tablecontent" id="par_id3154068" xml-lang="en-US" l10n="U" oldref="219">D7 = HH:MM AM/PM</paragraph>
+<paragraph role="tablecontent" id="par_id3150286" xml-lang="en-US" l10n="U" oldref="220">D8 = HH:MM:SS</paragraph>
+<paragraph role="tablecontent" id="par_id3145756" xml-lang="en-US" l10n="U" oldref="221">D9 = HH:MM</paragraph>
+<paragraph role="tablecontent" id="par_id3145768" xml-lang="en-US" l10n="U" oldref="222">G = All other formats</paragraph>
+<paragraph role="tablecontent" id="par_id3153375" xml-lang="en-US" l10n="U" oldref="223">- (Minus) at the end = negative numbers are formatted in color</paragraph>
+<paragraph role="tablecontent" id="par_id3155545" xml-lang="en-US" l10n="U" oldref="224">() (brackets) at the end = there is an opening bracket in the format code</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3154594" xml-lang="en-US" l10n="U" oldref="225">COLOR</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3152922" xml-lang="en-US" l10n="U" oldref="226">Returns 1, if negative values have been formatted in color, otherwise 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="code" id="par_id3145563" xml-lang="en-US" l10n="U" oldref="227">PARENTHESES</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156072" xml-lang="en-US" l10n="U" oldref="228">Returns 1 if the format code contains an opening bracket (, otherwise 0.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3156090" xml-lang="en-US" l10n="U" oldref="159">
+<emph>Reference</emph> (list of options) is the position of the cell to be examined. If <emph>Reference</emph> is a range, the cell moves to the top left of the range. If <emph>Reference</emph> is missing, $[officename] Calc uses the position of the cell in which this formula is located. Microsoft Excel uses the reference of the cell in which the cursor is positioned.</paragraph>
+</section>
+</sort>
+<section id="relatedtopics">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060105.xhp b/source/text/scalc/01/04060105.xhp
new file mode 100644
index 0000000000..339556b1e9
--- /dev/null
+++ b/source/text/scalc/01/04060105.xhp
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060105xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Logical Functions</title>
+ <filename>/text/scalc/01/04060105.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153484"><bookmark_value>logical functions</bookmark_value>
+ <bookmark_value>Function Wizard; logical</bookmark_value>
+ <bookmark_value>functions; logical functions</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3153484" role="heading" level="1" l10n="U" oldref="1">Logical Functions</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149312" role="paragraph" l10n="U" oldref="2"><variable id="logischtext">This category contains the <emph>Logical</emph> functions.
+</variable></paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eikalo"/>
+ </section>
+<sort order="asc">
+<section id="Section6">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147505"><bookmark_value>AND function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UND" id="bm_id3145320" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147505" role="heading" level="2" l10n="U"
+ oldref="29">AND</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153959" role="paragraph" l10n="U" oldref="65"><ahelp hid="HID_FUNC_UND">Returns TRUE if all arguments are TRUE.</ahelp> If one of the elements is FALSE, this function returns the FALSE value.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146100" role="paragraph" l10n="U" oldref="66">The arguments are either logical expressions themselves (TRUE, 1&lt;5, 2+3=7, B8&lt;10) that return logical values, or arrays (A1:C3) containing logical values.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150538" role="note" l10n="CHG" oldref="67">When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.<comment>UFI: fixed #i18547#</comment></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149128" role="note" l10n="CHG" oldref="68">If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150374" role="heading" level="3" l10n="U"
+ oldref="31">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159123" role="code" l10n="U" oldref="32">AND(LogicalValue1; LogicalValue2 ...LogicalValue30)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150038" role="paragraph" l10n="CHG" oldref="33">
+ <emph>LogicalValue1; LogicalValue2 ...LogicalValue30</emph> are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row. The result is TRUE if the logical value in all cells within the cell range is TRUE.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149143" role="heading" level="3" l10n="U"
+ oldref="34">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153123" role="paragraph" l10n="U" oldref="35">The logical values of entries 12&lt;13; 14&gt;12, and 7&lt;6 are to be checked:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145632" role="paragraph" l10n="U" oldref="36">
+ <item type="input">=AND(12&lt;13;14&gt;12;7&lt;6)</item> returns FALSE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149946" role="paragraph" l10n="U" oldref="60">
+ <item type="input">=AND (FALSE;TRUE)</item> returns FALSE.</paragraph>
+ </section>
+ <section id="Section5">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149015"><bookmark_value>FALSE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FALSCH" id="bm_id3154678" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149015" role="heading" level="2" l10n="U" oldref="3">FALSE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149890" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_FUNC_FALSCH">Returns the logical value FALSE.</ahelp> The FALSE() function does not require any arguments, and always returns the logical value FALSE.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146939" role="heading" level="3" l10n="U" oldref="5">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150030" role="code" l10n="U" oldref="6">FALSE()</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150697" role="heading" level="3" l10n="U" oldref="7">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154842" role="paragraph" l10n="CHG" oldref="8">
+ <item type="input">=FALSE()</item> returns FALSE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147468" role="paragraph" l10n="CHG" oldref="9">
+ <item type="input">=NOT(FALSE())</item> returns TRUE</paragraph>
+ </section>
+ <section id="Section4">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150141"><bookmark_value>IF function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WENN" id="bm_id3152789" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150141" role="heading" level="2" l10n="U"
+ oldref="48">IF</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148740" role="paragraph" l10n="U" oldref="49"><ahelp hid="HID_FUNC_WENN">Specifies a logical test to be performed.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153325" role="heading" level="3" l10n="U"
+ oldref="50">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154558" role="code" l10n="CHG" oldref="51">IF(Test; ThenValue; OtherwiseValue)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149727" role="paragraph" l10n="U" oldref="52">
+ <emph>Test</emph> is any value or expression that can be TRUE or FALSE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155828" role="paragraph" l10n="U" oldref="53">
+ <emph>ThenValue</emph> (optional) is the value that is returned if the logical test is TRUE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154811" role="paragraph" l10n="U" oldref="54">
+ <emph>OtherwiseValue</emph> (optional) is the value that is returned if the logical test is FALSE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN107FA" role="paragraph" l10n="NEW">
+ <embedvar href="text/scalc/00/00000004.xhp#optional"/>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149507" role="heading" level="3" l10n="U"
+ oldref="55">Examples</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150867" role="paragraph" l10n="U" oldref="57">
+ <item type="input">=IF(A1&gt;5;100;"too small")</item> If the value in A1 is higher than 5, the value 100 is entered in the current cell; otherwise, the text “too small” (without quotes) is entered.</paragraph>
+ </section>
+ <section id="Section3">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155954"><bookmark_value>NOT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NICHT" id="bm_id3145168" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155954" role="heading" level="2" l10n="U"
+ oldref="12">NOT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153570" role="paragraph" l10n="CHG" oldref="13"><ahelp hid="HID_FUNC_NICHT">Complements (inverts) a logical value.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147372" role="heading" level="3" l10n="U"
+ oldref="14">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157996" role="code" l10n="U" oldref="15">NOT(LogicalValue)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148766" role="paragraph" l10n="CHG" oldref="16">
+ <emph>LogicalValue</emph> is any value to be complemented.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149884" role="heading" level="3" l10n="U"
+ oldref="17">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150132" role="paragraph" l10n="CHG" oldref="18">
+ <item type="input">=NOT(A)</item>. If A=TRUE then NOT(A) will evaluate FALSE.</paragraph>
+ </section>
+ <section id="Section2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148394"><bookmark_value>OR function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ODER" id="bm_id3155620" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148394" role="heading" level="2" l10n="U"
+ oldref="20">OR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156060" role="paragraph" l10n="U" oldref="61"><ahelp hid="HID_FUNC_ODER">Returns TRUE if at least one argument is TRUE.</ahelp> This function returns the value FALSE, if all the arguments have the logical value FALSE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148771" role="paragraph" l10n="U" oldref="62">The arguments are either logical expressions themselves (TRUE, 1&lt;5, 2+3=7, B8&lt;10) that return logical values, or arrays (A1:C3) containing logical values.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153546" role="note" l10n="CHG" oldref="63">When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149027" role="note" l10n="CHG" oldref="64">If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155517" role="heading" level="3" l10n="U"
+ oldref="22">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150468" role="code" l10n="U" oldref="23">OR(LogicalValue1; LogicalValue2 ...LogicalValue30)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155819" role="paragraph" l10n="CHG" oldref="24">
+ <emph>LogicalValue1; LogicalValue2 ...LogicalValue30</emph> are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row.<comment>UFI: first try to fix bugtraq 4905779</comment></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153228" role="heading" level="3" l10n="U"
+ oldref="25">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154870" role="paragraph" l10n="U" oldref="26">The logical values of entries 12&lt;11; 13&gt;22, and 45=45 are to be checked.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155371" role="paragraph" l10n="U" oldref="27">
+ <item type="input">=OR(12&lt;11;13&gt;22;45=45)</item> returns TRUE.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158412" role="paragraph" l10n="U" oldref="59">
+ <item type="input">=OR(FALSE;TRUE)</item> returns TRUE.</paragraph>
+ </section>
+ <section id="Section1">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156256"><bookmark_value>TRUE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WAHR" id="bm_id3148426" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156256" role="heading" level="2" l10n="U"
+ oldref="38">TRUE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155985" role="paragraph" l10n="U" oldref="39"><ahelp hid="HID_FUNC_WAHR">The logical value is set to TRUE.</ahelp> The TRUE() function does not require any arguments, and always returns the logical value TRUE.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153717" role="heading" level="3" l10n="U"
+ oldref="40">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152590" role="code" l10n="U" oldref="41">TRUE()</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147175" role="heading" level="3" l10n="U"
+ oldref="42">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146148" role="paragraph" l10n="U" oldref="43">If A=TRUE and B=FALSE the following examples appear:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3083285" role="paragraph" l10n="U" oldref="44">
+ <item type="input">=AND(A;B)</item> returns FALSE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3083444" role="paragraph" l10n="U" oldref="45">
+ <item type="input">=OR(A;B)</item> returns TRUE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154314" role="paragraph" l10n="U" oldref="46">
+ <item type="input">=NOT(AND(A;B))</item> returns TRUE</paragraph>
+ </section>
+</sort>
+<section id="relatedtopics">
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060106.xhp b/source/text/scalc/01/04060106.xhp
new file mode 100644
index 0000000000..e80b11f26a
--- /dev/null
+++ b/source/text/scalc/01/04060106.xhp
@@ -0,0 +1,1497 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+*
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+************************************************************************
+-->
+
+<meta>
+<topic id="textscalc0104060106xml" indexer="include">
+<title xml-lang="en-US" id="tit">Mathematical Functions</title>
+<filename>/text/scalc/01/04060106.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147124"><bookmark_value>mathematical functions</bookmark_value>
+<bookmark_value>Function Wizard; mathematical</bookmark_value>
+<bookmark_value>functions; mathematical functions</bookmark_value>
+<bookmark_value>trigonometric functions</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3147124" role="heading" level="1" l10n="U" oldref="1">Mathematical Functions</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154943" role="paragraph" l10n="CHG" oldref="2"><variable id="mathematiktext">This category contains the <emph>Mathematical</emph> functions for Calc.
+</variable> To open the <emph>Function Wizard</emph>, choose <link href="text/scalc/01/04060000.xhp" name="Insert - Function"><emph>Insert - Function</emph></link>.</paragraph>
+<sort>
+<section id="Section1">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146944"><bookmark_value>ABS function</bookmark_value>
+<bookmark_value>absolute values</bookmark_value>
+<bookmark_value>values;absolute</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ABS" id="bm_id3150695" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3146944" role="heading" level="2" l10n="U"
+oldref="33">ABS</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154546" role="paragraph" l10n="U" oldref="34"><ahelp hid="HID_FUNC_ABS">Returns the absolute value of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154843" role="heading" level="3" l10n="U"
+oldref="35">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147475" role="code" l10n="U" oldref="36">ABS(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148438" role="paragraph" l10n="CHG" oldref="37"><emph>Number</emph> is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155823" role="heading" level="3" l10n="U"
+oldref="38">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152787" role="paragraph" l10n="CHG" oldref="39">
+<item type="input">=ABS(-56)</item> returns 56.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148752" role="paragraph" l10n="CHG" oldref="40">
+<item type="input">=ABS(12)</item> returns 12.</paragraph>
+<paragraph xml-lang="en-US" id="par_id320139" role="paragraph" l10n="NEW">
+<item type="input">=ABS(0)</item> returns 0.<comment>see also SIGN</comment></paragraph>
+</section>
+<section id="Section62">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150896"><bookmark_value>COUNTBLANK function</bookmark_value>
+<bookmark_value>counting;empty cells</bookmark_value>
+<bookmark_value>empty cells;counting</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ANZAHLLEEREZELLEN" id="bm_id3149730" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150896" role="heading" level="2" l10n="U"
+oldref="42">COUNTBLANK</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155260" role="paragraph" l10n="CHG" oldref="43"><ahelp hid="HID_FUNC_ANZAHLLEEREZELLEN">Returns the number of empty cells.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145144" role="heading" level="3" l10n="U"
+oldref="44">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153931" role="code" l10n="U" oldref="45">COUNTBLANK(Range)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149512" role="paragraph" l10n="CHG" oldref="46"> Returns the number of empty cells in the cell range <emph>Range</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146139" role="heading" level="3" l10n="U"
+oldref="47">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148586" role="paragraph" l10n="CHG" oldref="48">
+<item type="input">=COUNTBLANK(A1:B2)</item> returns 4 if cells A1, A2, B1, and B2 are all empty.</paragraph><comment>see also COUNTIF</comment>
+</section>
+<section id="Section61">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153114"><bookmark_value>ACOS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCCOS" id="bm_id3155952" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153114" role="heading" level="2" l10n="U"
+oldref="50">ACOS</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145163" role="paragraph" l10n="CHG" oldref="51"><ahelp hid="HID_FUNC_ARCCOS">Returns the inverse trigonometric cosine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153565" role="heading" level="3" l10n="U"
+oldref="52">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150020" role="code" l10n="U" oldref="53">ACOS(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159134" role="paragraph" l10n="CHG" oldref="54"> This function returns the inverse trigonometric cosine of <emph>Number</emph>, that is the angle (in radians) whose cosine is Number. The angle returned is between 0 and PI.</paragraph>
+<paragraph xml-lang="en-US" id="par_id679647" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149882" role="heading" level="3" l10n="U"
+oldref="55">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150128" role="paragraph" l10n="CHG" oldref="56">
+<item type="input">=ACOS(-1)</item> returns 3.14159265358979 (PI radians)</paragraph>
+<paragraph xml-lang="en-US" id="par_id8792382" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(ACOS(0.5))</item> returns 60. The cosine of 60 degrees is 0.5.</paragraph><comment>see also COS, SIN, TAN, COT, ASIN, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section60">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145355"><bookmark_value>ACOSH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCOSHYP" id="bm_id3148386" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145355" role="heading" level="2" l10n="U"
+oldref="60">ACOSH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157993" role="paragraph" l10n="U" oldref="61"><ahelp hid="HID_FUNC_ARCOSHYP">Returns the inverse hyperbolic cosine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145295" role="heading" level="3" l10n="U"
+oldref="62">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151017" role="code" l10n="U" oldref="63">ACOSH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149000" role="paragraph" l10n="CHG" oldref="64"> This function returns the inverse hyperbolic cosine of <emph>Number</emph>, that is the number whose hyperbolic cosine is Number. </paragraph>
+<paragraph xml-lang="en-US" id="par_id6393932" role="paragraph" l10n="NEW"> Number must be greater than or equal to 1.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150566" role="heading" level="3" l10n="U"
+oldref="65">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145629" role="paragraph" l10n="CHG" oldref="66">
+<item type="input">=ACOSH(1)</item> returns 0.</paragraph>
+<paragraph xml-lang="en-US" id="par_id951567" role="paragraph" l10n="NEW">
+<item type="input">=ACOSH(COSH(4))</item> returns 4.</paragraph><comment>see also ASINH, ATANH, ACOTH, COSH, SINH, TANH, COTH</comment>
+</section>
+<section id="Section59">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149027"><bookmark_value>ACOT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCCOT" id="bm_id3154634" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149027" role="heading" level="2" l10n="U"
+oldref="70">ACOT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155818" role="paragraph" l10n="CHG" oldref="71"><ahelp hid="HID_FUNC_ARCCOT">Returns the inverse cotangent (the arccotangent) of the given number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153225" role="heading" level="3" l10n="U"
+oldref="72">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158419" role="code" l10n="U" oldref="73">ACOT(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154948" role="paragraph" l10n="CHG" oldref="74"> This function returns the inverse trigonometric cotangent of <emph>Number</emph>, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5834528" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3147538" role="heading" level="3" l10n="U"
+oldref="75">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155375" role="paragraph" l10n="CHG" oldref="76">
+<item type="input">=ACOT(1)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
+<paragraph xml-lang="en-US" id="par_id8589434" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(ACOT(1))</item> returns 45. The tangent of 45 degrees is 1. </paragraph><comment>see also COS, SIN, TAN, COT, ACOS, ASIN, ATAN, ATAN2 </comment>
+</section>
+<section id="Section58">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148426"><bookmark_value>ACOTH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCOTHYP" id="bm_id3149777" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148426" role="heading" level="2" l10n="U"
+oldref="80">ACOTH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147478" role="paragraph" l10n="U" oldref="81"><ahelp hid="HID_FUNC_ARCOTHYP">Returns the inverse hyperbolic cotangent of the given number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152585" role="heading" level="3" l10n="U"
+oldref="82">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147172" role="code" l10n="U" oldref="83">ACOTH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146155" role="paragraph" l10n="CHG" oldref="84"> This function returns the inverse hyperbolic cotangent of <emph>Number</emph>, that is the number whose hyperbolic cotangent is Number.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5818659" role="paragraph" l10n="NEW">An error results if Number is between -1 and 1 inclusive.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3083452" role="heading" level="3" l10n="U"
+oldref="85">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150608" role="paragraph" l10n="CHG" oldref="86">
+<item type="input">=ACOTH(1.1)</item> returns inverse hyperbolic cotangent of 1.1, approximately 1.52226.</paragraph><comment>see also ACOSH, ASINH, ATANH, COSH, SINH, TANH, COTH</comment>
+</section>
+<section id="Section57">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145084"><bookmark_value>ASIN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCSIN" id="bm_id3149280" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145084" role="heading" level="2" l10n="U"
+oldref="90">ASIN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156296" role="paragraph" l10n="CHG" oldref="91"><ahelp hid="HID_FUNC_ARCSIN">Returns the inverse trigonometric sine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149716" role="heading" level="3" l10n="U"
+oldref="92">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156305" role="code" l10n="U" oldref="93">ASIN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150964" role="paragraph" l10n="CHG" oldref="94"> This function returns the inverse trigonometric sine of <emph>Number</emph>, that is the angle (in radians) whose sine is Number. The angle returned is between -PI/2 and +PI/2.</paragraph>
+<paragraph xml-lang="en-US" id="par_id203863" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149448" role="heading" level="3" l10n="U"
+oldref="95">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156100" role="paragraph" l10n="CHG" oldref="96">
+<item type="input">=ASIN(0)</item> returns 0.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6853846" role="paragraph" l10n="NEW">
+<item type="input">=ASIN(1)</item> returns 1.5707963267949 (PI/2 radians). </paragraph>
+<paragraph xml-lang="en-US" id="par_id8772240" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(ASIN(0.5))</item> returns 30. The sine of 30 degrees is 0.5.</paragraph><comment>see also COS, SIN, TAN, COT, ACOS, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section56">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151266"><bookmark_value>ASINH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARSINHYP" id="bm_id3145206" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151266" role="heading" level="2" l10n="U"
+oldref="100">ASINH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147077" role="paragraph" l10n="U" oldref="101"><ahelp hid="HID_FUNC_ARSINHYP">Returns the inverse hyperbolic sine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150763" role="heading" level="3" l10n="U"
+oldref="102">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150882" role="code" l10n="U" oldref="103">ASINH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147621" role="paragraph" l10n="CHG" oldref="104"> This function returns the inverse hyperbolic sine of <emph>Number</emph>, that is the number whose hyperbolic sine is Number. </paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153212" role="heading" level="3" l10n="U"
+oldref="105">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156120" role="paragraph" l10n="CHG" oldref="106">
+<item type="input">=ASINH(-90)</item> returns approximately -5.1929877.</paragraph>
+<paragraph xml-lang="en-US" id="par_id4808496" role="paragraph" l10n="NEW">
+<item type="input">=ASINH(SINH(4))</item> returns 4.</paragraph><comment>see also ACOSH, ATANH, ACOTH,
+COSH, SINH, TANH, COTH</comment>
+</section>
+<section id="Section55">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155996"><bookmark_value>ATAN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCTAN" id="bm_id3154743" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155996" role="heading" level="2" l10n="U"
+oldref="110">ATAN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149985" role="paragraph" l10n="CHG" oldref="111"><ahelp hid="HID_FUNC_ARCTAN">Returns the inverse trigonometric tangent of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3151294" role="heading" level="3" l10n="U"
+oldref="112">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150261" role="code" l10n="U" oldref="113">ATAN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147267" role="paragraph" l10n="CHG" oldref="114"> This function returns the inverse trigonometric tangent of <emph>Number</emph>, that is the angle (in radians) whose tangent is Number. The angle returned is between -PI/2 and PI/2.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6293527" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154054" role="heading" level="3" l10n="U"
+oldref="115">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143229" role="paragraph" l10n="CHG" oldref="116">
+<item type="input">=ATAN(1)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
+<paragraph xml-lang="en-US" id="par_id8746299" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(ATAN(1))</item> returns 45. The tangent of 45 degrees is 1.</paragraph><comment>see also COS, SIN, TAN, COT,
+ACOS, ASIN, ATAN2, ACOT </comment>
+</section>
+<section id="Section54">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153983"><bookmark_value>ATAN2 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCTAN2" id="bm_id3159180" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153983" role="heading" level="2" l10n="U"
+oldref="120">ATAN2</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154297" role="paragraph" l10n="CHG" oldref="121"><ahelp hid="HID_FUNC_ARCTAN2">Returns the inverse trigonometric tangent of the specified x and y coordinates.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149758" role="heading" level="3" l10n="U"
+oldref="122">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156013" role="code" l10n="CHG" oldref="123">ATAN2(NumberX; NumberY)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151168" role="paragraph" l10n="CHG" oldref="124"><emph>NumberX</emph> is the value of the x coordinate.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152798" role="paragraph" l10n="CHG" oldref="125"><emph>NumberY</emph> is the value of the y coordinate.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5036164" role="paragraph" l10n="NEW">ATAN2 returns the inverse trigonometric tangent, that is, the angle (in radians) between the x-axis and a line from point NumberX, NumberY to the origin. The angle returned is between -PI and PI.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3001800" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145663" role="heading" level="3" l10n="U"
+oldref="126">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154692" role="paragraph" l10n="CHG" oldref="127">
+<item type="input">=ATAN2(20;20)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
+<paragraph xml-lang="en-US" id="par_id1477095" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(ATAN2(12.3;12.3))</item> returns 45. The tangent of 45 degrees is 1.</paragraph><comment>see also COS, SIN, TAN, COT,
+ACOS, ASIN, ATAN, ACOT </comment>
+</section>
+<section id="Section53">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155398"><bookmark_value>ATANH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARTANHYP" id="bm_id3154939" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155398" role="heading" level="2" l10n="U"
+oldref="130">ATANH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148829" role="paragraph" l10n="U" oldref="131"><ahelp hid="HID_FUNC_ARTANHYP">Returns the inverse hyperbolic tangent of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146997" role="heading" level="3" l10n="U"
+oldref="132">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149912" role="code" l10n="U" oldref="133">ATANH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150521" role="paragraph" l10n="CHG" oldref="134"> This function returns the inverse hyperbolic tangent of <emph>Number</emph>, that is the number whose hyperbolic tangent is Number. </paragraph>
+<paragraph xml-lang="en-US" id="par_id9357280" role="paragraph" l10n="NEW"> Number must obey the condition -1 &lt; number &lt; 1.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148450" role="heading" level="3" l10n="U"
+oldref="135">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145419" role="paragraph" l10n="CHG" oldref="136">
+<item type="input">=ATANH(0)</item> returns 0.</paragraph><comment>see also ACOSH, ASINH, ACOTH,
+COSH, SINH, TANH, COTH</comment>
+</section>
+<section id="Section52">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153062"><bookmark_value>COS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COS" id="bm_id3158408" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153062" role="heading" level="2" l10n="U"
+oldref="149">COS</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148803" role="paragraph" l10n="CHG" oldref="150"><ahelp hid="HID_FUNC_COS">Returns the cosine of the given angle (in radians).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150779" role="heading" level="3" l10n="U"
+oldref="151">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154213" role="code" l10n="U" oldref="152">COS(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154285" role="paragraph" l10n="CHG" oldref="153"> Returns the (trigonometric) cosine of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id831019" role="paragraph" l10n="NEW">To return the cosine of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153579" role="heading" level="3" l10n="U"
+oldref="154">Examples</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147240" role="paragraph" l10n="U" oldref="155">
+<item type="input">=COS(PI()/2)</item> returns 0, the cosine of PI/2 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147516" role="paragraph" l10n="U" oldref="156">
+<item type="input">=COS(RADIANS(60))</item> returns 0.5, the cosine of 60 degrees.</paragraph><comment>see also SIN, TAN, COT,
+ACOS, ASIN, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section51">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154277"><bookmark_value>COSH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COSHYP" id="bm_id3149158" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154277" role="heading" level="2" l10n="U"
+oldref="159">COSH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146946" role="paragraph" l10n="U" oldref="160"><ahelp hid="HID_FUNC_COSHYP">Returns the hyperbolic cosine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149792" role="heading" level="3" l10n="U"
+oldref="161">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3166440" role="code" l10n="U" oldref="162">COSH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150710" role="paragraph" l10n="CHG" oldref="163">Returns the hyperbolic cosine of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153234" role="heading" level="3" l10n="U"
+oldref="164">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154099" role="paragraph" l10n="CHG" oldref="165">
+<item type="input">=COSH(0)</item> returns 1, the hyperbolic cosine of 0.</paragraph><comment>see also SINH, TANH, COTH,
+ACOSH, ASINH, ATANH, ACOTH, </comment>
+</section>
+<section id="Section50">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152888"><bookmark_value>COT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COT" id="bm_id3153392" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152888" role="heading" level="2" l10n="U"
+oldref="169">COT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153679" role="paragraph" l10n="CHG" oldref="170"><ahelp hid="HID_FUNC_COT">Returns the cotangent of the given angle (in radians).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152943" role="heading" level="3" l10n="U"
+oldref="171">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154856" role="code" l10n="U" oldref="172">COT(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149969" role="paragraph" l10n="CHG" oldref="173"> Returns the (trigonometric) cotangent of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3444624" role="paragraph" l10n="NEW">To return the cotangent of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6814477" role="paragraph" l10n="NEW">The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149800" role="heading" level="3" l10n="U"
+oldref="174">Examples:</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148616" role="paragraph" l10n="CHG" oldref="175">
+<item type="input">=COT(PI()/4)</item> returns 1, the cotangent of PI/4 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148986" role="paragraph" l10n="CHG" oldref="176">
+<item type="input">=COT(RADIANS(45))</item> returns 1, the cotangent of 45 degrees.</paragraph><comment>see also COS, SIN, TAN,
+ACOS, ASIN, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section49">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154337"><bookmark_value>COTH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COTHYP" id="bm_id3148650" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154337" role="heading" level="2" l10n="U"
+oldref="178">COTH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149419" role="paragraph" l10n="U" oldref="179"><ahelp hid="HID_FUNC_COTHYP">Returns the hyperbolic cotangent of a given number (angle).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149242" role="heading" level="3" l10n="U"
+oldref="180">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143280" role="code" l10n="U" oldref="181">COTH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154799" role="paragraph" l10n="CHG" oldref="182"> Returns the hyperbolic cotangent of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155422" role="heading" level="3" l10n="U"
+oldref="183">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144754" role="paragraph" l10n="CHG" oldref="184">
+<item type="input">=COTH(1)</item> returns the hyperbolic cotangent of 1, approximately 1.3130.</paragraph><comment>see also COSH, SINH, TANH,
+ACOSH, ASINH, ATANH, ACOTH, </comment>
+</section>
+<section id="Section64">
+<bookmark xml-lang="en-US" branch="index" id="bm_id6110552"><bookmark_value>CSC function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COSECANT" id="bm_id5645316" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id9523234" role="heading" level="2" l10n="U"
+oldref="149">CSC</paragraph>
+<paragraph xml-lang="en-US" id="par_id4896433" role="paragraph" l10n="CHG" oldref="150"><ahelp hid="HID_FUNC_COSECANT">Returns the cosecant of the given angle (in radians). The cosecant of an angle is equivalent to 1 divided by the sine of that angle</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3534032" role="heading" level="3" l10n="U"
+oldref="151">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id4571344" role="code" l10n="U" oldref="152">CSC(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id9859164" role="paragraph" l10n="CHG" oldref="153"> Returns the (trigonometric) cosecant of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3428494" role="paragraph" l10n="NEW">To return the cosecant of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id2577161" role="heading" level="3" l10n="U"
+oldref="154">Examples</paragraph>
+<paragraph xml-lang="en-US" id="par_id3736803" role="paragraph" l10n="U" oldref="155">
+<item type="input">=CSC(PI()/4)</item> returns approximately 1.4142135624, the inverse of the sine of PI/4 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6016818" role="paragraph" l10n="U" oldref="156">
+<item type="input">=CSC(RADIANS(30))</item> returns 2, the cosecant of 30 degrees.</paragraph><comment>see also SIN, TAN, COT, SEC,
+ACOS, ASIN, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section66">
+<bookmark xml-lang="en-US" branch="index" id="bm_id9288877"><bookmark_value>CSCH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COSECANTHYP" id="bm_id9532490" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id4325650" role="heading" level="2" l10n="U"
+oldref="159">CSCH</paragraph>
+<paragraph xml-lang="en-US" id="par_id579916" role="paragraph" l10n="U" oldref="160"><ahelp hid="HID_FUNC_COSECANTHYP">Returns the hyperbolic cosecant of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id5336768" role="heading" level="3" l10n="U"
+oldref="161">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3108851" role="code" l10n="U" oldref="162">CSCH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id1394188" role="paragraph" l10n="CHG" oldref="163">Returns the hyperbolic cosecant of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id6037477" role="heading" level="3" l10n="U"
+oldref="164">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id5426085" role="paragraph" l10n="CHG" oldref="165">
+<item type="input">=CSCH(1)</item> returns approximately 0.8509181282, the hyperbolic cosecant of 1.</paragraph><comment>see also SINH, TANH, COTH, SECH,ACOSH, ASINH, ATANH, ACOTH, </comment>
+</section>
+<section id="Section48">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145314"><bookmark_value>DEGREES function</bookmark_value>
+<bookmark_value>converting;radians, into degrees</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DEG" id="bm_id3153946" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145314" role="heading" level="2" l10n="U"
+oldref="188">DEGREES</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149939" role="paragraph" l10n="U" oldref="189"><ahelp hid="HID_FUNC_DEG">Converts radians into degrees.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150623" role="heading" level="3" l10n="U"
+oldref="190">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145600" role="code" l10n="CHG" oldref="191">DEGREES(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149484" role="paragraph" l10n="CHG" oldref="192"><emph>Number</emph> is the angle in radians to be converted to degrees.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3669545" role="heading" level="3" l10n="NEW">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3459578" role="paragraph" l10n="NEW">
+<item type="input">=DEGREES(PI())</item> returns 180 degrees.</paragraph><comment>see also RADIANS</comment>
+</section>
+<section id="Section47">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148698"><bookmark_value>EXP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EXP" id="bm_id3154625" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148698" role="heading" level="2" l10n="U"
+oldref="198">EXP</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150592" role="paragraph" l10n="CHG" oldref="199"><ahelp hid="HID_FUNC_EXP">Returns e raised to the power of a number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150351" role="heading" level="3" l10n="U"
+oldref="200">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146786" role="code" l10n="U" oldref="201">EXP(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155608" role="paragraph" l10n="U" oldref="202"><emph>Number</emph> is the power to which e is to be raised.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154418" role="heading" level="3" l10n="U"
+oldref="203">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156340" role="paragraph" l10n="CHG" oldref="204">
+<item type="input">=EXP(1)</item> returns 2.71828182845904, the mathematical constant e to Calc's accuracy.</paragraph><comment>see also POWER, LN, </comment>
+</section>
+<section id="Section46">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145781"><bookmark_value>FACT function</bookmark_value>
+<bookmark_value>factorials;numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FAKULTAET" id="bm_id3153886" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145781" role="heading" level="2" l10n="U"
+oldref="208">FACT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151109" role="paragraph" l10n="CHG" oldref="209"><ahelp hid="HID_FUNC_FAKULTAET">Returns the factorial of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146902" role="heading" level="3" l10n="U"
+oldref="210">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154661" role="code" l10n="U" oldref="211">FACT(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152952" role="paragraph" l10n="CHG" oldref="212"> Returns Number!, the factorial of <emph>Number</emph>, calculated as 1*2*3*4* ... * Number.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3834650" role="paragraph" l10n="NEW">=FACT(0) returns 1 by definition. </paragraph>
+<paragraph xml-lang="en-US" id="par_id8429517" role="paragraph" l10n="NEW">The factorial of a negative number returns the "invalid argument" error.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154569" role="heading" level="3" l10n="U"
+oldref="213">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154476" role="paragraph" l10n="CHG" oldref="216">
+<item type="input">=FACT(3)</item> returns 6.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147525" role="paragraph" l10n="CHG" oldref="214">
+<item type="input">=FACT(0)</item> returns 1.</paragraph><comment>see also FACTDOUBLE, MULTINOMIAL, PRODUCT </comment>
+</section>
+<section id="Section45">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159084"><bookmark_value>INT function</bookmark_value>
+<bookmark_value>numbers;rounding down to next integer</bookmark_value>
+<bookmark_value>rounding;down to next integer</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GANZZAHL" id="bm_id3151311" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159084" role="heading" level="2" l10n="U"
+oldref="218">INT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158441" role="paragraph" l10n="U" oldref="219"><ahelp hid="HID_FUNC_GANZZAHL">Rounds a number down to the nearest integer.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146132" role="heading" level="3" l10n="U"
+oldref="220">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156146" role="code" l10n="U" oldref="221">INT(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154117" role="paragraph" l10n="CHG" oldref="222">Returns <emph>Number</emph> rounded down to the nearest integer.</paragraph>
+<paragraph xml-lang="en-US" id="par_id153508" role="paragraph" l10n="NEW">Negative numbers round down to the integer below.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155118" role="heading" level="3" l10n="U"
+oldref="223">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156267" role="paragraph" l10n="CHG" oldref="224">
+<item type="input">=INT(5.7)</item> returns 5.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147323" role="paragraph" l10n="CHG" oldref="225">
+<item type="input">=INT(-1.3)</item> returns -2.</paragraph><comment>see also TRUNC, ROUND, ROUNDDOWN, ROUNDUP,
+CEILING, FLOOR, EVEN, ODD, MROUND, </comment>
+</section>
+<section id="Section44">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150938"><bookmark_value>EVEN function</bookmark_value>
+<bookmark_value>numbers;rounding up/down to even integers</bookmark_value>
+<bookmark_value>rounding;up/down to even integers</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GERADE" id="bm_id3150949" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150938" role="heading" level="2" l10n="U"
+oldref="227">EVEN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149988" role="paragraph" l10n="CHG" oldref="228"><ahelp hid="HID_FUNC_GERADE">Rounds a positive number up to the next even integer and a negative number down to the next even integer.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148401" role="heading" level="3" l10n="U"
+oldref="229">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150830" role="code" l10n="U" oldref="230">EVEN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153350" role="paragraph" l10n="CHG" oldref="231"> Returns <emph>Number</emph> rounded to the next even integer up, away from zero. </paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155508" role="heading" level="3" l10n="U"
+oldref="232">Examples</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154361" role="paragraph" l10n="CHG" oldref="233">
+<item type="input">=EVEN(2.3)</item> returns 4.</paragraph>
+<paragraph xml-lang="en-US" id="par_id8477736" role="paragraph" l10n="NEW">
+<item type="input">=EVEN(2)</item> returns 2.</paragraph>
+<paragraph xml-lang="en-US" id="par_id159611" role="paragraph" l10n="NEW">
+<item type="input">=EVEN(0)</item> returns 0.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6097598" role="paragraph" l10n="NEW">
+<item type="input">=EVEN(-0.5)</item> returns -2.</paragraph><comment>see also CEILING, FLOOR, ODD, MROUND,
+INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
+</section>
+<section id="Section43">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147356"><bookmark_value>GCD function</bookmark_value>
+<bookmark_value>greatest common divisor</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GGT" id="bm_id3149737" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147356" role="heading" level="2" l10n="U"
+oldref="237">GCD</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152465" role="paragraph" l10n="U" oldref="238"><ahelp hid="HID_FUNC_GGT">Returns the greatest common divisor of two or more integers.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="par_id2769249" role="paragraph" l10n="NEW">The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150643" role="heading" level="3" l10n="U"
+oldref="239">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154524" role="code" l10n="U" oldref="240">GCD(Integer1; Integer2; ...; Integer30)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149340" role="paragraph" l10n="U" oldref="241"><emph>Integer1 To 30</emph> are up to 30 integers whose greatest common divisor is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3147317" role="heading" level="3" l10n="U"
+oldref="242">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151285" role="paragraph" l10n="CHG" oldref="243">
+<item type="input">=GCD(16;32;24) </item>gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1604663" role="paragraph" l10n="NEW">
+<item type="input">=GCD(B1:B3)</item> where cells B1, B2, B3 contain <item type="input">9</item>, <item type="input">12</item>, <item type="input">9</item> gives 3.</paragraph>
+</section>
+<section id="Section42">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151221"><bookmark_value>GCD_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_GCD" id="bm_id3147578" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151221" role="heading" level="2" l10n="E"
+oldref="677">GCD_ADD</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153257" role="paragraph" l10n="U" oldref="678"><ahelp hid="HID_AAI_FUNC_GCD"> The result is the greatest common divisor of a list of numbers.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph xml-lang="en-US" id="hd_id3147548" role="heading" level="3" l10n="U"
+oldref="679">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156205" role="code" l10n="U" oldref="680">GCD_ADD(Number(s))</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145150" role="paragraph" l10n="U" oldref="681"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150239" role="heading" level="3" l10n="U"
+oldref="682">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159192" role="paragraph" l10n="U" oldref="683">
+<item type="input">=GCD_ADD(5;15;25)</item> returns 5.</paragraph>
+</section>
+<section id="Section41">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156048"><bookmark_value>ISEVEN function</bookmark_value>
+<bookmark_value>even integers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTGERADE" id="bm_id3149430" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156048" role="heading" level="2" l10n="U"
+oldref="245">ISEVEN<comment>link from Information cat</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3149169" role="paragraph" l10n="U" oldref="246"><ahelp hid="HID_FUNC_ISTGERADE">Returns TRUE if the value is an even integer, or FALSE if the value is odd.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146928" role="heading" level="3" l10n="U"
+oldref="247">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151203" role="code" l10n="U" oldref="248">ISEVEN(Value)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150491" role="paragraph" l10n="U" oldref="249"><emph>Value</emph> is the value to be checked.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3445844" role="paragraph" l10n="NEW">If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154136" role="heading" level="3" l10n="U"
+oldref="250">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163813" role="paragraph" l10n="CHG" oldref="251">
+<item type="input">=ISEVEN(48)</item> returns TRUE</paragraph>
+<paragraph xml-lang="en-US" id="par_id8378856" role="paragraph" l10n="NEW">
+<item type="input">=ISEVEN(33)</item> returns FALSE</paragraph>
+<paragraph xml-lang="en-US" id="par_id7154759" role="paragraph" l10n="NEW">
+<item type="input">=ISEVEN(0)</item> returns TRUE</paragraph>
+<paragraph xml-lang="en-US" id="par_id1912289" role="paragraph" l10n="NEW">
+<item type="input">=ISEVEN(-2.1)</item> returns TRUE</paragraph>
+<paragraph xml-lang="en-US" id="par_id5627307" role="paragraph" l10n="NEW">
+<item type="input">=ISEVEN(3.999)</item> returns FALSE</paragraph><comment>see also ISODD </comment>
+</section>
+<section id="Section40">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156034"><bookmark_value>ISODD function</bookmark_value>
+<bookmark_value>odd integers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTUNGERADE" id="bm_id3149298" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156034" role="heading" level="2" l10n="U"
+oldref="255">ISODD<comment>link from Information cat</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3155910" role="paragraph" l10n="U" oldref="256"><ahelp hid="HID_FUNC_ISTUNGERADE">Returns TRUE if the value is odd, or FALSE if the number is even.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3151006" role="heading" level="3" l10n="U"
+oldref="257">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151375" role="code" l10n="U" oldref="258">ISODD(value)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155139" role="paragraph" l10n="U" oldref="259"><emph>Value</emph> is the value to be checked.</paragraph>
+<paragraph xml-lang="en-US" id="par_id9027680" role="paragraph" l10n="NEW">If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163723" role="heading" level="3" l10n="U"
+oldref="260">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155345" role="paragraph" l10n="CHG" oldref="261">
+<item type="input">=ISODD(33)</item> returns TRUE</paragraph>
+<paragraph xml-lang="en-US" id="par_id9392986" role="paragraph" l10n="NEW">
+<item type="input">=ISODD(48)</item> returns FALSE</paragraph>
+<paragraph xml-lang="en-US" id="par_id5971251" role="paragraph" l10n="NEW">
+<item type="input">=ISODD(3.999)</item> returns TRUE</paragraph>
+<paragraph xml-lang="en-US" id="par_id4136478" role="paragraph" l10n="NEW">
+<item type="input">=ISODD(-3.1)</item> returns TRUE</paragraph><comment>see also ISEVEN</comment>
+</section>
+<section id="Section39">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145213"><bookmark_value>LCM function</bookmark_value>
+<bookmark_value>least common multiples</bookmark_value>
+<bookmark_value>lowest common multiples</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KGV" id="bm_id3145225" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145213" role="heading" level="2" l10n="U"
+oldref="265">LCM</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146814" role="paragraph" l10n="U" oldref="266"><ahelp hid="HID_FUNC_KGV">Returns the least common multiple of one or more integers.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148632" role="heading" level="3" l10n="U"
+oldref="267">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147279" role="code" l10n="U" oldref="268">LCM(Integer1; Integer2; ...; Integer30)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3156348" role="paragraph" l10n="U" oldref="269"><emph>Integer1 to 30</emph> are up to 30 integers whose lowest common multiple is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3156431" role="heading" level="3" l10n="U"
+oldref="270">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154914" role="paragraph" l10n="U" oldref="271">If you enter the numbers <item type="input">512</item>;<item type="input">1024</item> and <item type="input">2000</item> in the Integer 1;2 and 3 text boxes, 128000 will be returned as the result.</paragraph>
+</section>
+<section id="Section38">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154230"><bookmark_value>LCM_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_LCM" id="bm_id3147222" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154230" role="heading" level="2" l10n="U"
+oldref="684">LCM_ADD</paragraph>
+<paragraph xml-lang="en-US" id="par_id3149036" role="paragraph" l10n="U" oldref="685"><ahelp hid="HID_AAI_FUNC_LCM"> The result is the lowest common multiple of a list of numbers.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph xml-lang="en-US" id="hd_id3153132" role="heading" level="3" l10n="U"
+oldref="686">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154395" role="code" l10n="U" oldref="687">LCM_ADD(Number(s))</paragraph>
+<paragraph xml-lang="en-US" id="par_id3147377" role="paragraph" l10n="U" oldref="688"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145122" role="heading" level="3" l10n="U"
+oldref="689">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145135" role="paragraph" l10n="U" oldref="690">
+<item type="input">=LCM_ADD(5;15;25)</item> returns 75.</paragraph>
+</section>
+<section id="Section37">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155802"><bookmark_value>COMBIN function</bookmark_value>
+<bookmark_value>number of combinations</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KOMBINATIONEN" id="bm_id3155077" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155802" role="heading" level="2" l10n="U"
+oldref="273">COMBIN<comment>should be statistical--&gt;add a link there</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3156172" role="paragraph" l10n="CHG" oldref="274"><ahelp hid="HID_FUNC_KOMBINATIONEN">Returns the number of combinations for elements without repetition.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3156193" role="heading" level="3" l10n="U"
+oldref="275">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150223" role="code" l10n="CHG" oldref="276">COMBIN(Count1; Count2)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150313" role="paragraph" l10n="CHG" oldref="277"><emph>Count1</emph> is the number of items in the set.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153830" role="paragraph" l10n="CHG" oldref="278"><emph>Count2</emph> is the number of items to choose from the set.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6807458" role="paragraph" l10n="CHG">COMBIN returns the number of ordered ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC.</paragraph>
+<paragraph xml-lang="en-US" id="par_id7414471" role="paragraph" l10n="NEW">COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153171" role="heading" level="3" l10n="U"
+oldref="279">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153517" role="paragraph" l10n="CHG" oldref="280">
+<item type="input">=COMBIN(3;2)</item> returns 3.</paragraph><comment>see also COMBINA </comment>
+</section>
+<section id="Section36">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150284"><bookmark_value>COMBINA function</bookmark_value>
+<bookmark_value>number of combinations with repetitions</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KOMBINATIONEN2" id="bm_id3150295" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150284" role="heading" level="2" l10n="U"
+oldref="282">COMBINA<comment>should be statistical--&gt;add a link there</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3157894" role="paragraph" l10n="CHG" oldref="283"><ahelp hid="HID_FUNC_KOMBINATIONEN2">Returns the number of combinations of a subset of items including repetitions.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145752" role="heading" level="3" l10n="U"
+oldref="284">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145765" role="code" l10n="CHG" oldref="285">COMBINA(Count1; Count2)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153372" role="paragraph" l10n="CHG" oldref="286"><emph>Count1</emph> is the number of items in the set.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155544" role="paragraph" l10n="CHG" oldref="287"><emph>Count2</emph> is the number of items to choose from the set.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1997131" role="paragraph" l10n="CHG">COMBINA returns the number of unique ways to choose these items, where the order of choosing is irrelevant, and repetition of items is allowed. For example if there are 3 items A, B and C in a set, you can choose 2 items in 6 different ways, namely AA, AB, AC, BB, BC and CC.</paragraph>
+<paragraph xml-lang="en-US" id="par_id2052064" role="paragraph" l10n="CHG">COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)<comment>i88052</comment></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154584" role="heading" level="3" l10n="U"
+oldref="288">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152904" role="paragraph" l10n="CHG" oldref="289">
+<item type="input">=COMBINA(3;2)</item> returns 6.</paragraph><comment>see also COMBIN</comment>
+</section>
+<section id="Section35">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156086"><bookmark_value>TRUNC function</bookmark_value>
+<bookmark_value>decimal places;cutting off</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KUERZEN" id="bm_id3157849" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156086" role="heading" level="2" l10n="U"
+oldref="291">TRUNC</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157866" role="paragraph" l10n="CHG" oldref="292"><ahelp hid="HID_FUNC_KUERZEN">Truncates a number by removing decimal places.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148499" role="heading" level="3" l10n="U"
+oldref="293">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148511" role="code" l10n="U" oldref="294">TRUNC(Number; Count)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150796" role="paragraph" l10n="CHG" oldref="295">Returns <emph>Number</emph> with at most <emph>Count</emph> decimal places. Excess decimal places are simply removed, irrespective of sign.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3150816" role="paragraph" l10n="CHG" oldref="296">
+<item type="literal">TRUNC(Number; 0)</item> behaves as <item type="literal">INT(Number)</item> for positive numbers, but effectively rounds towards zero for negative numbers.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3148548" role="warning" l10n="CHG" oldref="557">The <emph>visible</emph> decimal places of the result are specified in <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060500.xhp">%PRODUCTNAME Calc - Calculate</link>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152555" role="heading" level="3" l10n="U"
+oldref="297">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152569" role="paragraph" l10n="CHG" oldref="298">
+<item type="input">=TRUNC(1.239;2)</item> returns 1.23. The 9 is lost.</paragraph>
+<paragraph xml-lang="en-US" id="par_id7050080" role="paragraph" l10n="NEW">
+<item type="input">=TRUNC(-1.234999;3)</item> returns -1.234. All the 9s are lost.</paragraph><comment>see also INT, ROUND, ROUNDDOWN, ROUNDUP,
+CEILING, FLOOR, EVEN, ODD, MROUND</comment>
+</section>
+<section id="Section34">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153601"><bookmark_value>LN function</bookmark_value>
+<bookmark_value>natural logarithm</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LN" id="bm_id3153613" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153601" role="heading" level="2" l10n="U"
+oldref="301">LN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154974" role="paragraph" l10n="CHG" oldref="302"><ahelp hid="HID_FUNC_LN">Returns the natural logarithm based on the constant e of a number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154993" role="heading" level="3" l10n="U"
+oldref="303">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155284" role="code" l10n="U" oldref="304">LN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155297" role="paragraph" l10n="U" oldref="305"><emph>Number</emph> is the value whose natural logarithm is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153852" role="heading" level="3" l10n="U"
+oldref="306">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153866" role="paragraph" l10n="CHG" oldref="307">
+<item type="input">=LN(3)</item> returns the natural logarithm of 3 (approximately 1.0986).</paragraph>
+<paragraph xml-lang="en-US" id="par_id5747245" role="paragraph" l10n="NEW">
+<item type="input">=LN(EXP(321))</item> returns 321.</paragraph><comment>see also LOG, LOG10, EXP, </comment>
+</section>
+<section id="Section33">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3109813"><bookmark_value>LOG function</bookmark_value>
+<bookmark_value>logarithms</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LOG" id="bm_id3109824" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3109813" role="heading" level="2" l10n="U"
+oldref="311">LOG</paragraph>
+<paragraph xml-lang="en-US" id="par_id3109841" role="paragraph" l10n="U" oldref="312"><ahelp hid="HID_FUNC_LOG">Returns the logarithm of a number to the specified base.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144719" role="heading" level="3" l10n="U"
+oldref="313">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144732" role="code" l10n="U" oldref="314">LOG(Number; Base)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144746" role="paragraph" l10n="U" oldref="315"><emph>Number</emph> is the value whose logarithm is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152840" role="paragraph" l10n="CHG" oldref="316"><emph>Base</emph> (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152860" role="heading" level="3" l10n="U"
+oldref="317">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3154429" role="paragraph" l10n="CHG" oldref="318">
+<item type="input">=LOG(10;3)</item> returns the logarithm to base 3 of 10 (approximately 2.0959).</paragraph>
+<paragraph xml-lang="en-US" id="par_id5577562" role="paragraph" l10n="NEW">
+<item type="input">=LOG(7^4;7)</item> returns 4.</paragraph><comment>see also LOG10, LN, POWER, </comment>
+</section>
+<section id="Section32">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154187"><bookmark_value>LOG10 function</bookmark_value>
+<bookmark_value>base-10 logarithm</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LOG10" id="bm_id3155460" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154187" role="heading" level="2" l10n="U"
+oldref="322">LOG10</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155476" role="paragraph" l10n="U" oldref="323"><ahelp hid="HID_FUNC_LOG10">Returns the base-10 logarithm of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155494" role="heading" level="3" l10n="U"
+oldref="324">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159294" role="code" l10n="U" oldref="325">LOG10(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159308" role="paragraph" l10n="CHG" oldref="326">Returns the logarithm to base 10 of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3159328" role="heading" level="3" l10n="U"
+oldref="327">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157916" role="paragraph" l10n="CHG" oldref="328">
+<item type="input">=LOG10(5)</item> returns the base-10 logarithm of 5 (approximately 0.69897).</paragraph><comment>see also LOG, LN, POWER </comment>
+</section>
+<section id="Section31">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152518"><bookmark_value>CEILING function</bookmark_value>
+<bookmark_value>rounding;up to multiples of significance</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_OBERGRENZE" id="bm_id3152530" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152518" role="heading" level="2" l10n="U"
+oldref="332">CEILING</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153422" role="paragraph" l10n="CHG" oldref="558"><ahelp hid="HID_FUNC_OBERGRENZE">Rounds a number up to the nearest multiple of Significance.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153440" role="heading" level="3" l10n="U"
+oldref="334">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153454" role="code" l10n="CHG" oldref="335">CEILING(Number; Significance; Mode)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3153467" role="paragraph" l10n="U" oldref="336"><emph>Number</emph> is the number that is to be rounded up.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155000" role="paragraph" l10n="CHG" oldref="337"><emph>Significance</emph> is the number to whose multiple the value is to be rounded up.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155020" role="paragraph" l10n="CHG" oldref="559"><emph>Mode</emph> is an optional value. If the Mode value is given and not equal to zero, and if Number and Significance are negative, then rounding is done based on the absolute value of Number. This parameter is ignored when exporting to MS Excel as Excel does not know any third parameter.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163792" role="warning" l10n="CHG" oldref="629">If both parameters Number and Significance are negative and the Mode value is equal to zero or is not given, the results in $[officename] and Excel will differ after the import has been completed. If you export the spreadsheet to Excel, use Mode=1 to see the same results in Excel as in Calc.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145697" role="heading" level="3" l10n="U"
+oldref="338">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145710" role="paragraph" l10n="CHG" oldref="339">
+<item type="input">=CEILING(-11;-2)</item> returns -10</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145725" role="paragraph" l10n="CHG" oldref="340">
+<item type="input">=CEILING(-11;-2;0)</item> returns -10</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145740" role="paragraph" l10n="CHG" oldref="341">
+<item type="input">=CEILING(-11;-2;1)</item> returns -12</paragraph><comment>see also FLOOR, EVEN, ODD, MROUND,
+INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
+</section>
+<section id="Section30">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157762"><bookmark_value>PI function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PI" id="bm_id3157774" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3157762" role="heading" level="2" l10n="U"
+oldref="343">PI</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157790" role="paragraph" l10n="CHG" oldref="344"><ahelp hid="HID_FUNC_PI">Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3157809" role="heading" level="3" l10n="U"
+oldref="345">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157822" role="code" l10n="U" oldref="346">PI()</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3157836" role="heading" level="3" l10n="U"
+oldref="347">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152370" role="paragraph" l10n="CHG" oldref="348">
+<item type="input">=PI()</item> returns 3.14159265358979.</paragraph>
+</section>
+<section id="Section29">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152418"><bookmark_value>MULTINOMIAL function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_MULTINOMIAL" id="bm_id3152429" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152418" role="heading" level="2" l10n="U"
+oldref="635">MULTINOMIAL</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152454" role="paragraph" l10n="U" oldref="636"><ahelp hid="HID_AAI_FUNC_MULTINOMIAL"> Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155646" role="heading" level="3" l10n="U"
+oldref="637">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155660" role="code" l10n="U" oldref="638">MULTINOMIAL(Number(s))</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155673" role="paragraph" l10n="U" oldref="639"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3155687" role="heading" level="3" l10n="U"
+oldref="640">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3155701" role="paragraph" l10n="U" oldref="641">
+<item type="input">=MULTINOMIAL(F11:H11)</item> returns 1260, if F11 to H11 contain the values <item type="input">2</item>, <item type="input">3</item> and <item type="input">4</item>. This corresponds to the formula =(2+3+4)! / (2!*3!*4!)</paragraph>
+</section>
+<section id="Section28">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155717"><bookmark_value>POWER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_POTENZ" id="bm_id3155728" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155717" role="heading" level="2" l10n="U"
+oldref="350">POWER</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159495" role="paragraph" l10n="CHG" oldref="351"><ahelp hid="HID_FUNC_POTENZ">Returns a number raised to another number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3159513" role="heading" level="3" l10n="U"
+oldref="352">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159526" role="code" l10n="U" oldref="353">POWER(Base; Exponent)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159540" role="paragraph" l10n="CHG" oldref="354">Returns <emph>Base</emph> raised to the power of <emph>Exponent</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5081637" role="paragraph" l10n="NEW">The same result may be achieved by using the exponentiation operator ^:</paragraph>
+<paragraph xml-lang="en-US" id="par_id9759514" role="code" l10n="NEW">
+<item type="literal">Base^Exponent</item>
+</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3159580" role="heading" level="3" l10n="U"
+oldref="356">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3159594" role="paragraph" l10n="CHG" oldref="357">
+<item type="input">=POWER(4;3)</item> returns 64, which is 4 to the power of 3.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1614429" role="paragraph" l10n="NEW">=4^3 also returns 4 to the power of 3.</paragraph><comment>see also EXP, LOG, SQRT</comment>
+</section>
+<section id="Section27">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152651"><bookmark_value>SERIESSUM function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_SERIESSUM" id="bm_id3152662" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152651" role="heading" level="2" l10n="U"
+oldref="642">SERIESSUM</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152688" role="paragraph" l10n="CHG" oldref="643"><ahelp hid=".">Sums the first terms of a power series.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="par_id3152708" role="paragraph" l10n="U" oldref="644">SERIESSUM(x;n;m;coefficients) = coefficient_1*x^n + coefficient_2*x^(n+m) + coefficient_3*x^(n+2m) +...+ coefficient_i*x^(n+(i-1)m)</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152724" role="heading" level="3" l10n="U"
+oldref="645">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_idN11BD9" role="code" l10n="NEW">SERIESSUM(X; N; M; Coefficients)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152737" role="paragraph" l10n="CHG" oldref="646"><emph>X</emph> is the input value for the power series.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144344" role="paragraph" l10n="CHG" oldref="647"><emph>N</emph> is the initial power</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144357" role="paragraph" l10n="CHG" oldref="648"><emph>M</emph> is the increment to increase N</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144370" role="paragraph" l10n="U" oldref="649"><emph>Coefficients</emph> is a series of coefficients. For each coefficient the series sum is extended by one section.</paragraph>
+</section>
+<section id="Section26">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3144386"><bookmark_value>PRODUCT function</bookmark_value>
+<bookmark_value>numbers;multiplying</bookmark_value>
+<bookmark_value>multiplying;numbers</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PRODUKT" id="bm_id3144397" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3144386" role="heading" level="2" l10n="U"
+oldref="361">PRODUCT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144414" role="paragraph" l10n="U" oldref="362"><ahelp hid="HID_FUNC_PRODUKT">Multiplies all the numbers given as arguments and returns the product.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144433" role="heading" level="3" l10n="U"
+oldref="363">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144446" role="code" l10n="U" oldref="364">PRODUCT(Number1; Number2; ...; Number30)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144460" role="paragraph" l10n="U" oldref="365"><emph>Number1 to 30</emph> are up to 30 arguments whose product is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1589098" role="paragraph" l10n="NEW">PRODUCT returns number1 * number2 * number3 * ...</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144480" role="heading" level="3" l10n="U"
+oldref="366">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144494" role="paragraph" l10n="CHG" oldref="367">
+<item type="input">=PRODUCT(2;3;4)</item> returns 24.</paragraph><comment>see also FACT, SUM</comment>
+</section>
+<section id="Section25">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3160340"><bookmark_value>SUMSQ function</bookmark_value>
+<bookmark_value>square number additions</bookmark_value>
+<bookmark_value>sums;of square numbers</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_QUADRATESUMME" id="bm_id3160351" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3160340" role="heading" level="2" l10n="U"
+oldref="369">SUMSQ</paragraph>
+<paragraph xml-lang="en-US" id="par_id3160368" role="paragraph" l10n="U" oldref="370"><ahelp hid="HID_FUNC_QUADRATESUMME">If you want to calculate the sum of the squares of numbers (totaling up of the squares of the arguments), enter these into the text fields.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3160388" role="heading" level="3" l10n="U"
+oldref="371">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3160402" role="code" l10n="U" oldref="372">SUMSQ(Number1; Number2; ...; Number30)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3160415" role="paragraph" l10n="U" oldref="373"><emph>Number1 to 30</emph> are up to 30 arguments the sum of whose squares is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3160436" role="heading" level="3" l10n="U"
+oldref="374">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3160449" role="paragraph" l10n="U" oldref="375">If you enter the numbers <item type="input">2</item>; <item type="input">3</item> and <item type="input">4</item> in the Number 1; 2 and 3 text boxes, 29 is returned as the result.</paragraph>
+</section>
+<section id="Section24">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158247"><bookmark_value>MOD function</bookmark_value>
+<bookmark_value>remainders of divisions</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_REST" id="bm_id3158259" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3158247" role="heading" level="2" l10n="U"
+oldref="387">MOD</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158276" role="paragraph" l10n="CHG" oldref="388"><ahelp hid="HID_FUNC_REST">Returns the remainder when one integer is divided by another.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158294" role="heading" level="3" l10n="U"
+oldref="389">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158308" role="code" l10n="U" oldref="390">MOD(Dividend; Divisor)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158321" role="paragraph" l10n="CHG" oldref="391"> For integer arguments this function returns Dividend modulo Divisor, that is the remainder when <emph>Dividend</emph> is divided by <emph>Divisor</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158341" role="paragraph" l10n="CHG" oldref="392">This function is implemented as <item type="literal">Dividend - Divisor * INT(Dividend/Divisor)</item> , and this formula gives the result if the arguments are not integer.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158361" role="heading" level="3" l10n="U"
+oldref="393">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158374" role="paragraph" l10n="CHG" oldref="394">
+<item type="input">=MOD(22;3)</item> returns 1, the remainder when 22 is divided by 3.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1278420" role="paragraph" l10n="NEW">
+<item type="input">=MOD(11.25;2.5)</item> returns 1.25.</paragraph><comment>see also QUOTIENT, INT, </comment>
+</section>
+<section id="Section23">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3144592"><bookmark_value>QUOTIENT function</bookmark_value>
+<bookmark_value>divisions</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_QUOTIENT" id="bm_id3144603" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3144592" role="heading" level="2" l10n="E"
+oldref="652">QUOTIENT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144627" role="paragraph" l10n="CHG" oldref="653"><ahelp hid="HID_AAI_FUNC_QUOTIENT">Returns the integer part of a division operation.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144646" role="heading" level="3" l10n="U"
+oldref="654">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144659" role="code" l10n="U" oldref="655">QUOTIENT(Numerator; Denominator)</paragraph>
+<paragraph xml-lang="en-US" id="par_id9038972" role="paragraph" l10n="NEW">Returns the integer part of <emph>Numerator</emph> divided by <emph>Denominator</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="par_id7985168" role="paragraph" l10n="NEW">QUOTIENT is equivalent to <item type="literal">INT(numerator/denominator)</item>, except that it may report errors with different error codes.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144674" role="heading" level="3" l10n="U"
+oldref="656">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144687" role="paragraph" l10n="CHG" oldref="657">
+<item type="input">=QUOTIENT(11;3)</item> returns 3. The remainder of 2 is lost.</paragraph><comment>see also MOD, INT </comment>
+</section>
+<section id="Section22">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3144702"><bookmark_value>RADIANS function</bookmark_value>
+<bookmark_value>converting;degrees, into radians</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RAD" id="bm_id3158008" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3144702" role="heading" level="2" l10n="U"
+oldref="377">RADIANS</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158025" role="paragraph" l10n="U" oldref="378"><ahelp hid="HID_FUNC_RAD">Converts degrees to radians.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158042" role="heading" level="3" l10n="U"
+oldref="379">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158055" role="code" l10n="U" oldref="380">RADIANS(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158069" role="paragraph" l10n="CHG" oldref="381"><emph>Number</emph> is the angle in degrees to be converted to radians.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id876186" role="heading" level="3" l10n="NEW">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3939634" role="paragraph" l10n="NEW">
+<item type="input">=RADIANS(90)</item> returns 1.5707963267949, which is PI/2 to Calc's accuracy.</paragraph><comment>see also DEGREES </comment>
+</section>
+<section id="Section21">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158121"><bookmark_value>ROUND function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RUNDEN" id="bm_id3158133" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3158121" role="heading" level="2" l10n="U"
+oldref="398">ROUND</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158150" role="paragraph" l10n="CHG" oldref="399"><ahelp hid="HID_FUNC_RUNDEN">Rounds a number to a certain number of decimal places.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158169" role="heading" level="3" l10n="U"
+oldref="400">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158182" role="code" l10n="U" oldref="401">ROUND(Number; Count)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3158196" role="paragraph" l10n="U" oldref="402">Returns <emph>Number</emph> rounded to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds to the nearest integer. If Count is negative, the function rounds to the nearest 10, 100, 1000, etc.</paragraph>
+<paragraph xml-lang="en-US" id="par_id599688" role="paragraph" l10n="NEW">This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145863" role="heading" level="3" l10n="U"
+oldref="404">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145876" role="paragraph" l10n="CHG" oldref="405">
+<item type="input">=ROUND(2.348;2)</item> returns 2.35</paragraph>
+<paragraph xml-lang="en-US" id="par_id3145899" role="paragraph" l10n="CHG" oldref="406">
+<item type="input">=ROUND(-32.4834;3)</item> returns -32.483. Change the cell format to see all decimals.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1371501" role="paragraph" l10n="NEW">
+<item type="input">=ROUND(2.348;0)</item> returns 2.</paragraph>
+<paragraph xml-lang="en-US" id="par_id4661702" role="paragraph" l10n="NEW">
+<item type="input">=ROUND(2.5)</item> returns 3. </paragraph>
+<paragraph xml-lang="en-US" id="par_id7868892" role="paragraph" l10n="NEW">
+<item type="input">=ROUND(987.65;-2)</item> returns 1000.</paragraph><comment>see also INT, TRUNC, ROUNDDOWN, ROUNDUP,
+CEILING, FLOOR, EVEN, ODD, MROUND</comment>
+</section>
+<section id="Section20">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145991"><bookmark_value>ROUNDDOWN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ABRUNDEN" id="bm_id3146003" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145991" role="heading" level="2" l10n="U"
+oldref="24">ROUNDDOWN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146020" role="paragraph" l10n="CHG" oldref="25"><ahelp hid="HID_FUNC_ABRUNDEN">Rounds a number down, toward zero, to a certain precision.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3146037" role="heading" level="3" l10n="U"
+oldref="26">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146051" role="code" l10n="U" oldref="27">ROUNDDOWN(Number; Count)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3146064" role="paragraph" l10n="CHG" oldref="28">Returns <emph>Number</emph> rounded down (towards zero) to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds down to an integer. If Count is negative, the function rounds down to the next 10, 100, 1000, etc.</paragraph>
+<paragraph xml-lang="en-US" id="par_id2188787" role="paragraph" l10n="NEW">This function rounds towards zero. See ROUNDUP and ROUND for alternatives.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163164" role="heading" level="3" l10n="U"
+oldref="30">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163178" role="paragraph" l10n="CHG" oldref="31">
+<item type="input">=ROUNDDOWN(1.234;2)</item> returns 1.23.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5833307" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDDOWN(45.67;0)</item> returns 45.</paragraph>
+<paragraph xml-lang="en-US" id="par_id7726676" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDDOWN(-45.67)</item> returns -45.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3729361" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDDOWN(987.65;-2)</item> returns 900.</paragraph><comment>see also INT, TRUNC, ROUND, ROUNDUP,
+CEILING, FLOOR, EVEN, ODD, MROUND</comment>
+</section>
+<section id="Section19">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163268"><bookmark_value>ROUNDUP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_AUFRUNDEN" id="bm_id3163280" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3163268" role="heading" level="2" l10n="U"
+oldref="140">ROUNDUP</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163297" role="paragraph" l10n="CHG" oldref="141"><ahelp hid="HID_FUNC_AUFRUNDEN">Rounds a number up, away from zero, to a certain precision.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163315" role="heading" level="3" l10n="U"
+oldref="142">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163328" role="code" l10n="U" oldref="143">ROUNDUP(Number; Count)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163342" role="paragraph" l10n="CHG" oldref="144">Returns <emph>Number</emph> rounded up (away from zero) to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds up to an integer. If Count is negative, the function rounds up to the next 10, 100, 1000, etc.</paragraph>
+<paragraph xml-lang="en-US" id="par_id9573961" role="paragraph" l10n="NEW">This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163381" role="heading" level="3" l10n="U"
+oldref="146">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144786" role="paragraph" l10n="CHG" oldref="147">
+<item type="input">=ROUNDUP(1.1111;2)</item> returns 1.12.</paragraph>
+<paragraph xml-lang="en-US" id="par_id7700430" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDUP(1.2345;1)</item> returns 1.3.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1180455" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDUP(45.67;0)</item> returns 46.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3405560" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDUP(-45.67)</item> returns -46.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3409527" role="paragraph" l10n="NEW">
+<item type="input">=ROUNDUP(987.65;-2)</item> returns 1000.</paragraph><comment>see also INT, TRUNC, ROUND, ROUNDDOWN,
+CEILING, FLOOR, EVEN, ODD, MROUND</comment>
+</section>
+<section id="Section63">
+<bookmark xml-lang="en-US" branch="index" id="bm_id5256537"><bookmark_value>SEC function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SECANT" id="bm_id6577644" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id5187204" role="heading" level="2" l10n="U"
+oldref="149">SEC</paragraph>
+<paragraph xml-lang="en-US" id="par_id9954962" role="paragraph" l10n="CHG" oldref="150"><ahelp hid="HID_FUNC_SECANT">Returns the secant of the given angle (in radians). The secant of an angle is equivalent to 1 divided by the cosine of that angle</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id422243" role="heading" level="3" l10n="U"
+oldref="151">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id2055913" role="code" l10n="U" oldref="152">SEC(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id9568170" role="paragraph" l10n="CHG" oldref="153"> Returns the (trigonometric) secant of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id9047465" role="paragraph" l10n="NEW">To return the secant of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id9878918" role="heading" level="3" l10n="U"
+oldref="154">Examples</paragraph>
+<paragraph xml-lang="en-US" id="par_id6935513" role="paragraph" l10n="U" oldref="155">
+<item type="input">=SEC(PI()/4)</item> returns approximately 1.4142135624, the inverse of the cosine of PI/4 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3954287" role="paragraph" l10n="U" oldref="156">
+<item type="input">=SEC(RADIANS(60))</item> returns 2, the secant of 60 degrees.</paragraph><comment>see also SIN, TAN, COT, CSC,
+ACOS, ASIN, ATAN, ATAN2, ACOT</comment>
+</section>
+<section id="Section65">
+<bookmark xml-lang="en-US" branch="index" id="bm_id840005"><bookmark_value>SECH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SECANTHYP" id="bm_id6301347" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id8661934" role="heading" level="2" l10n="U"
+oldref="159">SECH</paragraph>
+<paragraph xml-lang="en-US" id="par_id408174" role="paragraph" l10n="U" oldref="160"><ahelp hid="HID_FUNC_SECANTHYP">Returns the hyperbolic secant of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id875988" role="heading" level="3" l10n="U"
+oldref="161">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id4985391" role="code" l10n="U" oldref="162">SECH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id1952124" role="paragraph" l10n="CHG" oldref="163">Returns the hyperbolic secant of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id9838764" role="heading" level="3" l10n="U"
+oldref="164">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id1187764" role="paragraph" l10n="CHG" oldref="165">
+<item type="input">=SECH(0)</item> returns 1, the hyperbolic secant of 0.</paragraph><comment>see also SINH, TANH, COTH, CSCH,
+ACOSH, ASINH, ATANH, ACOTH</comment>
+</section>
+<section id="Section18">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3144877"><bookmark_value>SIN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SIN" id="bm_id3144889" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3144877" role="heading" level="2" l10n="U"
+oldref="408">SIN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144906" role="paragraph" l10n="CHG" oldref="409"><ahelp hid="HID_FUNC_SIN">Returns the sine of the given angle (in radians).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144923" role="heading" level="3" l10n="U"
+oldref="410">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144937" role="code" l10n="U" oldref="411">SIN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144950" role="paragraph" l10n="CHG" oldref="412">Returns the (trigonometric) sine of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id8079470" role="paragraph" l10n="NEW">To return the sine of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3144969" role="heading" level="3" l10n="U"
+oldref="413">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3144983" role="paragraph" l10n="CHG" oldref="414">
+<item type="input">=SIN(PI()/2)</item> returns 1, the sine of PI/2 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3916440" role="paragraph" l10n="NEW">
+<item type="input">=SIN(RADIANS(30))</item> returns 0.5, the sine of 30 degrees.</paragraph><comment>see also COS, TAN, COT,
+ACOS, ASIN, ATAN, ATAN2, ACOT </comment>
+</section>
+<section id="Section17">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163397"><bookmark_value>SINH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SINHYP" id="bm_id3163409" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3163397" role="heading" level="2" l10n="U"
+oldref="418">SINH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163426" role="paragraph" l10n="U" oldref="419"><ahelp hid="HID_FUNC_SINHYP">Returns the hyperbolic sine of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163444" role="heading" level="3" l10n="U"
+oldref="420">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163457" role="code" l10n="U" oldref="421">SINH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163471" role="paragraph" l10n="CHG" oldref="422">Returns the hyperbolic sine of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163491" role="heading" level="3" l10n="U"
+oldref="423">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163504" role="paragraph" l10n="CHG" oldref="424">
+<item type="input">=SINH(0)</item> returns 0, the hyperbolic sine of 0.</paragraph><comment>see also COSH, TANH, COTH,
+ACOSH, ASINH, ATANH, ACOTH</comment>
+</section>
+<section id="Section16">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163596"><bookmark_value>SUM function</bookmark_value>
+<bookmark_value>adding;numbers in cell ranges</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMME" id="bm_id3163608" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3163596" role="heading" level="2" l10n="U"
+oldref="428">SUM</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163625" role="paragraph" l10n="U" oldref="429"><ahelp hid="HID_FUNC_SUMME">Adds all the numbers in a range of cells.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163643" role="heading" level="3" l10n="U"
+oldref="430">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163656" role="code" l10n="U" oldref="431">SUM(Number1; Number2; ...; Number30)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163671" role="paragraph" l10n="U" oldref="432"><emph>Number 1 to Number 30</emph> are up to 30 arguments whose sum is to be calculated.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163690" role="heading" level="3" l10n="U"
+oldref="433">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163704" role="paragraph" l10n="U" oldref="434">If you enter the numbers <item type="input">2</item>; <item type="input">3 </item>and <item type="input">4</item> in the Number 1; 2 and 3 text boxes, 9 will be returned as the result.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151740" role="paragraph" l10n="U" oldref="556">
+<item type="input">=SUM(A1;A3;B5)</item> calculates the sum of the three cells. <item type="input">=SUM (A1:E10)</item> calculates the sum of all cells in the A1 to E10 cell range.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151756" role="paragraph" l10n="U" oldref="619">Conditions linked by AND can be used with the function SUM() in the following manner:</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151774" role="paragraph" l10n="CHG" oldref="620">Example assumption: You have entered invoices into a table. Column A contains the date value of the invoice, column B the amounts. You want to find a formula that you can use to return the total of all amounts only for a specific month, e.g. only the amount for the period &gt;=2008-01-01 to &lt;2008-02-01. The range with the date values covers A1:A40, the range containing the amounts to be totaled is B1:B40. C1 contains the start date, 2008<item type="input">-01-01</item>, of the invoices to be included and C2 the date, 2008<item type="input">-02-01</item>, that is no longer included.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151799" role="paragraph" l10n="U" oldref="621">Enter the following formula as an array formula:</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151813" role="paragraph" l10n="U" oldref="622">
+<item type="input">=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)</item>
+</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151828" role="paragraph" l10n="U" oldref="623">In order to enter this as an array formula, you must press the Shift<switchinline select="sys"><caseinline select="MAC">+Command
+</caseinline><defaultinline>+ Ctrl</defaultinline></switchinline>+ Enter keys instead of simply pressing the Enter key to close the formula. The formula will then be shown in the <emph>Formula</emph> bar enclosed in braces.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151869" role="paragraph" l10n="U" oldref="624">{=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)}</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151884" role="paragraph" l10n="CHG" oldref="625">The formula is based on the fact that the result of a comparison is 1 if the criterion is met and 0 if it is not met. The individual comparison results will be treated as an array and used in matrix multiplication, and at the end the individual values will be totaled to give the result matrix.</paragraph>
+</section>
+<section id="Section15">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151957"><bookmark_value>SUMIF function</bookmark_value>
+<bookmark_value>adding;specified numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEWENN" id="bm_id3151969" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151957" role="heading" level="2" l10n="U"
+oldref="436">SUMIF</paragraph>
+<paragraph xml-lang="en-US" id="par_id3151986" role="paragraph" l10n="U" oldref="437"><ahelp hid="HID_FUNC_SUMMEWENN">Adds the cells specified by a given criteria.</ahelp> This function is used to browse a range when you search for a certain value.</paragraph>
+<embed href="text/shared/00/00000001.xhp#regulaer"/>
+<paragraph xml-lang="en-US" id="hd_id3152015" role="heading" level="3" l10n="U"
+oldref="438">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152028" role="code" l10n="U" oldref="439">SUMIF(Range; Criteria; SumRange)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152043" role="paragraph" l10n="U" oldref="440"><emph>Range</emph> is the range to which the criteria are to be applied.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152062" role="paragraph" l10n="CHG" oldref="441"><emph>Criteria</emph> is the cell in which the search criterion is shown, or the search criterion itself. If the criteria is written into the formula, it has to be surrounded by double quotes.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152083" role="paragraph" l10n="U" oldref="442"><emph>SumRange</emph> is the range from which values are summed. If this parameter has not been indicated, the values found in the Range are summed.</paragraph>
+<paragraph xml-lang="en-US" id="par_id8347422" role="note" l10n="NEW">SUMIF supports the reference concatenation operator (~) only in the Criteria parameter, and only if the optional SumRange parameter is not given.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152110" role="heading" level="3" l10n="U"
+oldref="443">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152148" role="paragraph" l10n="CHG" oldref="626">To sum up only negative numbers: <item type="input">=SUMIF(A1:A10;"&lt;0")</item>
+</paragraph>
+<paragraph xml-lang="en-US" id="par_id6670125" role="paragraph" l10n="NEW">
+<item type="input">=SUMIF(A1:A10;"&gt;0";B1:10)</item> - sums values from the range B1:B10 only if the corresponding values in the range A1:A10 are &gt;0.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6062196" role="paragraph" l10n="NEW">See COUNTIF() for some more syntax examples that can be used with SUMIF().</paragraph>
+</section>
+<section id="Section14">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152195"><bookmark_value>TAN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TAN" id="bm_id3152207" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152195" role="heading" level="2" l10n="U"
+oldref="446">TAN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152224" role="paragraph" l10n="CHG" oldref="447"><ahelp hid="HID_FUNC_TAN">Returns the tangent of the given angle (in radians).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152242" role="heading" level="3" l10n="U"
+oldref="448">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152255" role="code" l10n="U" oldref="449">TAN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152269" role="paragraph" l10n="CHG" oldref="450">Returns the (trigonometric) tangent of <emph>Number</emph>, the angle in radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5752128" role="paragraph" l10n="NEW">To return the tangent of an angle in degrees, use the RADIANS function.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3152287" role="heading" level="3" l10n="U"
+oldref="451">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3152301" role="paragraph" l10n="CHG" oldref="452">
+<item type="input">=TAN(PI()/4) </item>returns 1, the tangent of PI/4 radians.</paragraph>
+<paragraph xml-lang="en-US" id="par_id1804864" role="paragraph" l10n="NEW">
+<item type="input">=TAN(RADIANS(45))</item> returns 1, the tangent of 45 degrees.</paragraph><comment>see also COS, SIN, COT,
+ACOS, ASIN, ATAN, ATAN2, ACOT</comment>
+</section>
+<section id="Section13">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3165434"><bookmark_value>TANH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TANHYP" id="bm_id3165446" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3165434" role="heading" level="2" l10n="U"
+oldref="456">TANH</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165462" role="paragraph" l10n="U" oldref="457"><ahelp hid="HID_FUNC_TANHYP">Returns the hyperbolic tangent of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3165480" role="heading" level="3" l10n="U"
+oldref="458">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165494" role="code" l10n="U" oldref="459">TANH(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165508" role="paragraph" l10n="CHG" oldref="460">Returns the hyperbolic tangent of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3165527" role="heading" level="3" l10n="U"
+oldref="461">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165541" role="paragraph" l10n="CHG" oldref="462">
+<item type="input">=TANH(0)</item> returns 0, the hyperbolic tangent of 0.</paragraph><comment>see also COSH, SINH, COTH,
+ACOSH, ASINH, ATANH, ACOTH</comment>
+</section>
+<section id="Section12">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3165633"><bookmark_value>AutoFilter function; subtotals</bookmark_value>
+<bookmark_value>sums;of filtered data</bookmark_value>
+<bookmark_value>filtered data; sums</bookmark_value>
+<bookmark_value>SUBTOTAL function</bookmark_value>
+</bookmark><comment>mw made "sums..." a two level entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEILERGEBNIS" id="bm_id3165644" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3165633" role="heading" level="2" l10n="U"
+oldref="466">SUBTOTAL</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165682" role="paragraph" l10n="U" oldref="467"><ahelp hid="HID_FUNC_TEILERGEBNIS">Calculates subtotals.</ahelp> If a range already contains subtotals, these are not used for further calculations. Use this function with the AutoFilters to take only the filtered records into account.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3165704" role="heading" level="3" l10n="U"
+oldref="495">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165717" role="code" l10n="U" oldref="496">SUBTOTAL(Function; Range)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165731" role="paragraph" l10n="U" oldref="497"><emph>Function</emph> is a number that stands for one of the following functions:</paragraph>
+<table id="tbl_id3165752">
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165782" role="paragraph" l10n="U" oldref="469">Function index</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165806" role="paragraph" l10n="U" oldref="470">Function</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165833" role="paragraph" l10n="U" oldref="471">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165856" role="paragraph" l10n="U" oldref="472">AVERAGE</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165883" role="paragraph" l10n="U" oldref="473">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165906" role="paragraph" l10n="U" oldref="474">COUNT</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165933" role="paragraph" l10n="U" oldref="475">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165956" role="paragraph" l10n="U" oldref="476">COUNTA</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3165983" role="paragraph" l10n="U" oldref="477">4</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3166006" role="paragraph" l10n="U" oldref="478">MAX</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3166033" role="paragraph" l10n="U" oldref="479">5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3166056" role="paragraph" l10n="U" oldref="480">MIN</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143316" role="paragraph" l10n="U" oldref="481">6</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143339" role="paragraph" l10n="U" oldref="482">PRODUCT</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143366" role="paragraph" l10n="U" oldref="483">7</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143389" role="paragraph" l10n="U" oldref="484">STDEV</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143416" role="paragraph" l10n="U" oldref="485">8</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143439" role="paragraph" l10n="U" oldref="486">STDEVP</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143466" role="paragraph" l10n="U" oldref="487">9</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143489" role="paragraph" l10n="U" oldref="488">SUM</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143516" role="paragraph" l10n="U" oldref="489">10</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143539" role="paragraph" l10n="U" oldref="490">VAR</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143566" role="paragraph" l10n="U" oldref="491">11</paragraph>
+</tablecell>
+<tablecell>
+<paragraph xml-lang="en-US" id="par_id3143589" role="paragraph" l10n="U" oldref="492">VARP</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph xml-lang="en-US" id="par_id3143606" role="paragraph" l10n="U" oldref="498"><emph>Range</emph> is the range whose cells are included.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3143625" role="heading" level="3" l10n="U"
+oldref="499">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143638" role="paragraph" l10n="U" oldref="562">You have a table in the cell range A1:B5 containing cities in column A and accompanying figures in column B. You have used an AutoFilter so that you only see rows containing the city Hamburg. You want to see the sum of the figures that are displayed; that is, just the subtotal for the filtered rows. In this case the correct formula would be:</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143658" role="paragraph" l10n="U" oldref="563">
+<item type="input">=SUBTOTAL(9;B2:B5)</item>
+</paragraph>
+</section>
+<section id="Section11">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143672"><bookmark_value>Euro; converting</bookmark_value>
+<bookmark_value>EUROCONVERT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UMRECHNEN" id="bm_id3143684" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EUROCONVERT" id="bm_id0119200904282677" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3143672" role="heading" level="2" l10n="CHG"
+oldref="564">EUROCONVERT<comment>insert link in financial</comment></paragraph>
+<paragraph xml-lang="en-US" id="par_id3143708" role="paragraph" l10n="CHG" oldref="565"><ahelp hid="HID_FUNC_UMRECHNEN">Converts between old European national currency and to and from Euros.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="par_id3143731" role="heading" level="3" l10n="U"
+oldref="566"><emph>Syntax</emph>
+</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143748" role="code" l10n="CHG" oldref="567">EUROCONVERT(Value; "From_currency"; "To_currency", full_precision, triangulation_precision)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143763" role="paragraph" l10n="U" oldref="568"><emph>Value</emph> is the amount of the currency to be converted.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143782" role="paragraph" l10n="CHG" oldref="569"><emph>From_currency</emph> and <emph>To_currency</emph> are the currency units to convert from and to respectively. These must be text, the official abbreviation for the currency (for example, "EUR"). The rates (shown per Euro) were set by the European Commission.</paragraph>
+<paragraph xml-lang="en-US" id="par_id0119200904301810" role="paragraph" l10n="NEW"><emph>Full_precision</emph> is optional. If omitted or False, the result is rounded according to the decimals of the To currency. If Full_precision is True, the result is not rounded.</paragraph>
+<paragraph xml-lang="en-US" id="par_id0119200904301815" role="paragraph" l10n="NEW"><emph>Triangulation_precision</emph> is optional. If Triangulation_precision is given and &gt;=3, the intermediate result of a triangular conversion (currency1,EUR,currency2) is rounded to that precision. If Triangulation_precision is omitted, the intermediate result is not rounded. Also if To currency is "EUR", Triangulation_precision is used as if triangulation was needed and conversion from EUR to EUR was applied.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143819" role="heading" level="3" l10n="U"
+oldref="570"><emph>Examples</emph>
+</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143837" role="paragraph" l10n="U" oldref="571">
+<item type="input">=EUROCONVERT(100;"ATS";"EUR")</item> converts 100 Austrian Schillings into Euros.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3143853" role="paragraph" l10n="U" oldref="572">
+<item type="input">=EUROCONVERT(100;"EUR";"DEM")</item> converts 100 Euros into German Marks.</paragraph>
+</section>
+<section id="convert">
+<bookmark xml-lang="en-US" branch="index" id="bm_id0908200902090676"><bookmark_value>CONVERT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UMRECHNEN" id="bm_id0908200902093111" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id0908200902074836" role="heading" level="2" l10n="NEW">CONVERT</paragraph>
+<paragraph xml-lang="en-US" id="par_id0908200902131122" role="paragraph" l10n="NEW"><ahelp hid=".">Converts a value from one unit of measurement to another unit of measurement. The conversion factors are given in a list in the configuration.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="par_id0908200902475420" role="paragraph" l10n="NEW">At one time the list of conversion factors included the legacy European currencies and the Euro (see examples below). We suggest using the new function EUROCONVERT for converting these currencies.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id0908200902131071" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id0908200902131191" role="code" l10n="NEW">CONVERT(value;"text";"text")</paragraph>
+<paragraph xml-lang="en-US" id="hd_id0908200902131152" role="heading" level="3" l10n="NEW">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id090820090213112" role="paragraph" l10n="NEW">
+<item type="input">=CONVERT(100;"ATS";"EUR")</item> returns the Euro value of 100 Austrian Schillings.</paragraph>
+<paragraph xml-lang="en-US" id="par_id0908200902475431" role="paragraph" l10n="NEW">=CONVERT(100;"EUR";"DEM") converts 100 Euros into German Marks. </paragraph>
+</section>
+<section id="Section10">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157177"><bookmark_value>ODD function</bookmark_value>
+<bookmark_value>rounding;up/down to nearest odd integer</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNGERADE" id="bm_id3157188" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3157177" role="heading" level="2" l10n="U"
+oldref="502">ODD</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157205" role="paragraph" l10n="CHG" oldref="503"><ahelp hid="HID_FUNC_UNGERADE">Rounds a positive number up to the nearest odd integer and a negative number down to the nearest odd integer.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3157223" role="heading" level="3" l10n="U"
+oldref="504">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157237" role="code" l10n="U" oldref="505">ODD(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157250" role="paragraph" l10n="CHG" oldref="506"> Returns <emph>Number</emph> rounded to the next odd integer up, away from zero.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3157270" role="heading" level="3" l10n="U"
+oldref="507">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157283" role="paragraph" l10n="CHG" oldref="508">
+<item type="input">=ODD(1.2)</item> returns 3.</paragraph>
+<paragraph xml-lang="en-US" id="par_id8746910" role="paragraph" l10n="NEW">
+<item type="input">=ODD(1)</item> returns 1.</paragraph>
+<paragraph xml-lang="en-US" id="par_id9636524" role="paragraph" l10n="NEW">
+<item type="input">=ODD(0)</item> returns 1.</paragraph>
+<paragraph xml-lang="en-US" id="par_id5675527" role="paragraph" l10n="NEW">
+<item type="input">=ODD(-3.1)</item> returns -5.</paragraph><comment>see also CEILING, FLOOR, EVEN, MROUND,
+INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
+</section>
+<section id="Section9">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157404"><bookmark_value>FLOOR function</bookmark_value>
+<bookmark_value>rounding;down to nearest multiple of significance</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNTERGRENZE" id="bm_id3157415" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3157404" role="heading" level="2" l10n="U"
+oldref="512">FLOOR</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157432" role="paragraph" l10n="U" oldref="513"><ahelp hid="HID_FUNC_UNTERGRENZE">Rounds a number down to the nearest multiple of Significance.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3157451" role="heading" level="3" l10n="U"
+oldref="514">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157464" role="code" l10n="U" oldref="515">FLOOR(Number; Significance; Mode)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157478" role="paragraph" l10n="U" oldref="516"><emph>Number</emph> is the number that is to be rounded down.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157497" role="paragraph" l10n="U" oldref="517"><emph>Significance</emph> is the value to whose multiple the number is to be rounded down.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3157517" role="paragraph" l10n="CHG" oldref="561"><emph>Mode</emph> is an optional value. If the Mode value is given and not equal to zero, and if Number and Significance are negative, then rounding is done based on the absolute value of the number. This parameter is ignored when exporting to MS Excel as Excel does not know any third parameter.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163894" role="warning" l10n="CHG" oldref="630">If both parameters Number and Significance are negative, and if the Mode value is equal to zero or is not specified, then the results in $[officename] Calc and Excel will differ after exporting. If you export the spreadsheet to Excel, use Mode=1 to see the same results in Excel as in Calc.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3163932" role="heading" level="3" l10n="U"
+oldref="518">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163945" role="paragraph" l10n="CHG" oldref="519">
+<item type="input">=FLOOR( -11;-2)</item> returns -12</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163966" role="paragraph" l10n="CHG" oldref="520">
+<item type="input">=FLOOR( -11;-2;0)</item> returns -12</paragraph>
+<paragraph xml-lang="en-US" id="par_id3163988" role="paragraph" l10n="CHG" oldref="521">
+<item type="input">=FLOOR( -11;-2;1)</item> returns -10</paragraph><comment>see also CEILING, EVEN, ODD, MROUND,
+INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP, </comment>
+</section>
+<section id="Section8">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164086"><bookmark_value>SIGN function</bookmark_value>
+<bookmark_value>algebraic signs</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VORZEICHEN" id="bm_id3164098" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164086" role="heading" level="2" l10n="U"
+oldref="523">SIGN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164115" role="paragraph" l10n="CHG" oldref="524"><ahelp hid="HID_FUNC_VORZEICHEN">Returns the sign of a number. Returns 1 if the number is positive, -1 if negative and 0 if zero.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164136" role="heading" level="3" l10n="U"
+oldref="525">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164150" role="code" l10n="U" oldref="526">SIGN(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164164" role="paragraph" l10n="U" oldref="527"><emph>Number</emph> is the number whose sign is to be determined.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164183" role="heading" level="3" l10n="U"
+oldref="528">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164197" role="paragraph" l10n="CHG" oldref="529">
+<item type="input">=SIGN(3.4)</item> returns 1.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164212" role="paragraph" l10n="CHG" oldref="530">
+<item type="input">=SIGN(-4.5)</item> returns -1.</paragraph><comment>see also ABS</comment>
+</section>
+<section id="Section7">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164252"><bookmark_value>MROUND function</bookmark_value>
+<bookmark_value>nearest multiple</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_MROUND" id="bm_id3164264" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164252" role="heading" level="2" l10n="E"
+oldref="658">MROUND</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164288" role="paragraph" l10n="CHG" oldref="659"><ahelp hid="HID_AAI_FUNC_MROUND">Returns a number rounded to the nearest multiple of another number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164306" role="heading" level="3" l10n="U"
+oldref="660">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164320" role="code" l10n="U" oldref="661">MROUND(Number; Multiple)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3486434" role="paragraph" l10n="NEW">Returns <emph>Number</emph> rounded to the nearest multiple of <emph>Multiple</emph>. </paragraph>
+<paragraph xml-lang="en-US" id="par_id3068636" role="paragraph" l10n="NEW">An alternative implementation would be <item type="literal">Multiple * ROUND(Number/Multiple)</item>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164333" role="heading" level="3" l10n="U"
+oldref="662">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164347" role="paragraph" l10n="CHG" oldref="663">
+<item type="input">=MROUND(15.5;3)</item> returns 15, as 15.5 is closer to 15 (= 3*5) than to 18 (= 3*6).</paragraph>
+<paragraph xml-lang="en-US" id="par_idN14DD6" role="paragraph" l10n="CHG">
+<item type="input">=MROUND(1.4;0.5)</item> returns 1.5 (= 0.5*3).</paragraph><comment>see also CEILING, FLOOR, EVEN, ODD,
+INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
+</section>
+<section id="Section6">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164375"><bookmark_value>SQRT function</bookmark_value>
+<bookmark_value>square roots;positive numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WURZEL" id="bm_id3164387" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164375" role="heading" level="2" l10n="U"
+oldref="532">SQRT</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164404" role="paragraph" l10n="CHG" oldref="533"><ahelp hid="HID_FUNC_WURZEL">Returns the positive square root of a number.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164424" role="heading" level="3" l10n="U"
+oldref="534">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164437" role="code" l10n="U" oldref="535">SQRT(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164451" role="paragraph" l10n="CHG" oldref="536">Returns the positive square root of <emph>Number</emph>.</paragraph>
+<paragraph xml-lang="en-US" id="par_id6870021" role="paragraph" l10n="NEW"> Number must be positive.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164471" role="heading" level="3" l10n="U"
+oldref="537">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164484" role="paragraph" l10n="CHG" oldref="538">
+<item type="input">=SQRT(16)</item> returns 4.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3591723" role="paragraph" l10n="NEW">
+<item type="input">=SQRT(-16)</item> returns an <item type="literal">invalid argument</item> error.</paragraph><comment>see also SQRTPI, POWER </comment>
+</section>
+<section id="Section5">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164560"><bookmark_value>SQRTPI function</bookmark_value>
+<bookmark_value>square roots;products of Pi</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_SQRTPI" id="bm_id3164572" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164560" role="heading" level="2" l10n="E"
+oldref="665">SQRTPI</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164596" role="paragraph" l10n="CHG" oldref="666"><ahelp hid="HID_AAI_FUNC_SQRTPI">Returns the square root of (PI times a number).</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164614" role="heading" level="3" l10n="U"
+oldref="667">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164627" role="code" l10n="U" oldref="668">SQRTPI(Number)</paragraph>
+<paragraph xml-lang="en-US" id="par_id1501510" role="paragraph" l10n="NEW">Returns the positive square root of (PI multiplied by <emph>Number</emph>).</paragraph>
+<paragraph xml-lang="en-US" id="par_id9929197" role="paragraph" l10n="NEW">This is equivalent to <item type="literal">SQRT(PI()*Number)</item>.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164641" role="heading" level="3" l10n="U"
+oldref="669">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164654" role="paragraph" l10n="CHG" oldref="670">
+<item type="input">=SQRTPI(2)</item> returns the squareroot of (2PI), approximately 2.506628.</paragraph><comment>see also SQRT</comment>
+</section>
+<section id="Section4">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164669"><bookmark_value>random numbers; between limits</bookmark_value>
+<bookmark_value>RANDBETWEEN function</bookmark_value>
+</bookmark><comment>mw changed "random numbers;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_RANDBETWEEN" id="bm_id3164680" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164669" role="heading" level="2" l10n="E"
+oldref="671">RANDBETWEEN</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164711" role="paragraph" l10n="CHG" oldref="672"><ahelp hid="HID_AAI_FUNC_RANDBETWEEN">Returns an integer random number in a specified range.</ahelp></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164745" role="heading" level="3" l10n="U"
+oldref="673">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164758" role="code" l10n="U" oldref="674">RANDBETWEEN(Bottom; Top)</paragraph>
+<paragraph xml-lang="en-US" id="par_id7112338" role="paragraph" l10n="NEW">Returns an integer random number between integers <emph>Bottom</emph> and <emph>Top</emph> (both inclusive).</paragraph>
+<paragraph xml-lang="en-US" id="par_id2855616" role="paragraph" l10n="NEW">This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press Shift+<switchinline select="sys"><caseinline select="MAC">Command
+</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F9.</paragraph>
+<paragraph xml-lang="en-US" id="par_id2091433" role="paragraph" l10n="NEW">To generate random numbers which never recalculate, copy cells containing this function, and use <item type="menuitem">Edit - Paste Special</item> (with <item type="menuitem">Paste All</item> and <item type="menuitem">Formulas</item> not marked and <item type="menuitem">Numbers</item> marked).</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164772" role="heading" level="3" l10n="U"
+oldref="675">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164785" role="paragraph" l10n="U" oldref="676">
+<item type="input">=RANDBETWEEN(20;30)</item> returns an integer of between 20 and 30.</paragraph><comment>see also RAND</comment>
+</section>
+<section id="Section3">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164800"><bookmark_value>RAND function</bookmark_value>
+<bookmark_value>random numbers;between 0 and 1</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZUFALLSZAHL" id="bm_id3164812" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164800" role="heading" level="2" l10n="U"
+oldref="542">RAND</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164829" role="paragraph" l10n="CHG" oldref="543"><ahelp hid="HID_FUNC_ZUFALLSZAHL">Returns a random number between 0 and 1.</ahelp><comment>The value of 0 can be returned, the value of 1 not.</comment><comment>this is really true after issue 53642 will be fixed</comment></paragraph>
+<paragraph xml-lang="en-US" id="hd_id3164870" role="heading" level="3" l10n="U"
+oldref="545">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164884" role="code" l10n="U" oldref="546">RAND()</paragraph>
+<paragraph xml-lang="en-US" id="par_id5092318" role="paragraph" l10n="NEW">This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press Shift+<switchinline select="sys"><caseinline select="MAC">Command
+</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F9.</paragraph>
+<paragraph xml-lang="en-US" id="par_id9312417" role="paragraph" l10n="NEW">To generate random numbers which never recalculate, copy cells each containing =RAND(), and use <item type="menuitem">Edit - Paste Special</item> (with <item type="menuitem">Paste All</item> and <item type="menuitem">Formulas</item> not marked and <item type="menuitem">Numbers</item> marked).</paragraph>
+<paragraph xml-lang="en-US" id="hd_id9089022" role="heading" level="3" l10n="NEW">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id9569078" role="paragraph" l10n="NEW">
+<item type="input">=RAND()</item> returns a random number between 0 and 1.</paragraph><comment>see also RANDBETWEEN
+</comment>
+</section>
+<section id="Section2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3164897"><bookmark_value>COUNTIF function</bookmark_value>
+<bookmark_value>counting;specified cells</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZAEHLENWENN" id="bm_id3164909" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3164897" role="heading" level="2" l10n="U"
+oldref="547">COUNTIF</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164926" role="paragraph" l10n="CHG" oldref="548"><ahelp hid="HID_FUNC_ZAEHLENWENN">Returns the number of cells that meet with certain criteria within a cell range.</ahelp></paragraph>
+<embed href="text/shared/00/00000001.xhp#regulaer"/>
+<paragraph xml-lang="en-US" id="hd_id3164953" role="heading" level="3" l10n="U"
+oldref="549">Syntax</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164967" role="code" l10n="U" oldref="550">COUNTIF(Range; Criteria)</paragraph>
+<paragraph xml-lang="en-US" id="par_id3164980" role="paragraph" l10n="U" oldref="551"><emph>Range</emph> is the range to which the criteria are to be applied.</paragraph>
+<paragraph xml-lang="en-US" id="par_id3165000" role="paragraph" l10n="CHG" oldref="552"><emph>Criteria</emph> indicates the criteria in the form of a number, an expression or a character string. These criteria determine which cells are counted. You may also enter a search text in the form of a regular expression, e.g. b.* for all words that begin with b. You may also indicate a cell range that contains the search criterion. If you search for literal text, enclose the text in double quotes.</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3165037" role="heading" level="3" l10n="U"
+oldref="553">Example</paragraph>
+<paragraph xml-lang="en-US" id="par_id3166505" role="paragraph" l10n="CHG" oldref="627">A1:A10 is a cell range containing the numbers <item type="input">2000</item> to <item type="input">2009</item>. Cell B1 contains the number <item type="input">2006</item>. In cell B2, you enter a formula:</paragraph>
+<paragraph xml-lang="en-US" id="par_id3581652" role="paragraph" l10n="NEW">
+<item type="input">=COUNTIF(A1:A10;2006)</item> - this returns 1</paragraph>
+<paragraph xml-lang="en-US" id="par_id708639" role="paragraph" l10n="NEW">
+<item type="input">=COUNTIF(A1:A10;B1)</item> - this returns 1</paragraph>
+<paragraph xml-lang="en-US" id="par_id5169225" role="paragraph" l10n="NEW">
+<item type="input">=COUNTIF(A1:A10;"&gt;=2006") </item>- this returns 4</paragraph>
+<paragraph xml-lang="en-US" id="par_id2118594" role="paragraph" l10n="NEW">
+<item type="input">=COUNTIF(A1:A10;"&lt;"&amp;B1)</item> - when B1 contains <item type="input">2006</item>, this returns 6</paragraph>
+<paragraph xml-lang="en-US" id="par_id166020" role="paragraph" l10n="NEW">
+<item type="input">=COUNTIF(A1:A10;C2)</item> where cell C2 contains the text <item type="input">&gt;2006</item> counts the number of cells in the range A1:A10 which are &gt;2006 </paragraph>
+<paragraph xml-lang="en-US" id="par_id6386913" role="paragraph" l10n="NEW">To count only negative numbers: <item type="input">=COUNTIF(A1:A10;"&lt;0")</item>
+</paragraph>
+</section>
+</sort>
+<section id="relatedtopics">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060107.xhp b/source/text/scalc/01/04060107.xhp
new file mode 100644
index 0000000000..ab6a0cb261
--- /dev/null
+++ b/source/text/scalc/01/04060107.xhp
@@ -0,0 +1,1280 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060107xml" indexer="include">
+<title id="tit" xml-lang="en-US">Array Functions</title>
+<filename>/text/scalc/01/04060107.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147273"><bookmark_value>matrices; functions</bookmark_value>
+<bookmark_value>Function Wizard; arrays</bookmark_value>
+<bookmark_value>array formulas</bookmark_value>
+<bookmark_value>inline array constants</bookmark_value>
+<bookmark_value>formulas;arrays</bookmark_value>
+<bookmark_value>functions;array functions</bookmark_value>
+<bookmark_value>editing; array formulas</bookmark_value>
+<bookmark_value>copying; array formulas</bookmark_value>
+<bookmark_value>adjusting array ranges</bookmark_value>
+<bookmark_value>calculating;conditional calculations</bookmark_value>
+<bookmark_value>matrices; calculations</bookmark_value>
+<bookmark_value>conditional calculations with arrays</bookmark_value>
+<bookmark_value>implicit array handling</bookmark_value>
+<bookmark_value>forced array handling</bookmark_value>
+</bookmark><comment>mw deleted "creating;"</comment>
+<paragraph role="heading" id="hd_id3147273" xml-lang="en-US" level="1" l10n="U" oldref="1">Array Functions</paragraph>
+<paragraph role="paragraph" id="par_id3154744" xml-lang="en-US" l10n="U" oldref="2"><variable id="matrixtext">This category contains the array functions.
+</variable></paragraph>
+<paragraph role="heading" id="hd_id3146084" xml-lang="en-US" level="2" l10n="U" oldref="257">What is an Array?</paragraph>
+<paragraph role="paragraph" id="par_id3154298" xml-lang="en-US" l10n="U" oldref="258"><variable id="wasmatrix">An array is a linked range of cells on a spreadsheet containing values.
+</variable> A square range of 3 rows and 3 columns is a 3 x 3 array:</paragraph>
+<table id="tbl_id3151168">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154692" xml-lang="en-US" l10n="U" oldref="260">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150117" xml-lang="en-US" l10n="U" oldref="261">B</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155325" xml-lang="en-US" l10n="U" oldref="262">C</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153104" xml-lang="en-US" l10n="U" oldref="263">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3146996" xml-lang="en-US" l10n="U" oldref="264">
+<item type="input">7</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150529" xml-lang="en-US" l10n="U" oldref="265">
+<item type="input">31</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148831" xml-lang="en-US" l10n="U" oldref="266">
+<item type="input">33</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148943" xml-lang="en-US" l10n="U" oldref="267">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149771" xml-lang="en-US" l10n="U" oldref="268">
+<item type="input">95</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158407" xml-lang="en-US" l10n="U" oldref="269">
+<item type="input">17</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148806" xml-lang="en-US" l10n="U" oldref="270">
+<item type="input">2</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154904" xml-lang="en-US" l10n="U" oldref="271">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150779" xml-lang="en-US" l10n="U" oldref="272">
+<item type="input">5</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148449" xml-lang="en-US" l10n="U" oldref="273">
+<item type="input">10</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147238" xml-lang="en-US" l10n="U" oldref="274">
+<item type="input">50</item>
+</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3153583" xml-lang="en-US" l10n="U" oldref="277">The smallest possible array is a 1 x 2 or 2 x 1 array with two adjacent cells.</paragraph>
+<paragraph role="heading" id="hd_id3148474" xml-lang="en-US" level="2" l10n="U" oldref="275">What is an array formula?</paragraph>
+<paragraph role="paragraph" id="par_id3155355" xml-lang="en-US" l10n="U" oldref="276">A formula in which the individual values in a cell range are evaluated is referred to as an array formula. The difference between an array formula and other formulas is that the array formula deals with several values simultaneously instead of just one.</paragraph>
+<paragraph role="paragraph" id="par_id3151052" xml-lang="en-US" l10n="U" oldref="278">Not only can an array formula process several values, but it can also return several values. The results of an array formula is also an array.</paragraph>
+<paragraph role="paragraph" id="par_id3158432" xml-lang="en-US" l10n="U" oldref="279">To multiply the values in the individual cells by 10 in the above array, you do not need to apply a formula to each individual cell or value. Instead you just need to use a single array formula. Select a range of 3 x 3 cells on another part of the spreadsheet, enter the formula <item type="input">=10*A1:C3</item> and confirm this entry using the key combination <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Enter. The result is a 3 x 3 array in which the individual values in the cell range (A1:C3) are multiplied by a factor of 10.</paragraph>
+<paragraph role="paragraph" id="par_id3149156" xml-lang="en-US" l10n="U" oldref="280">In addition to multiplication, you can also use other operators on the reference range (an array). With $[officename] Calc, you can add (+), subtract (-), multiply (*), divide (/), use exponents (^), concatenation (&amp;) and comparisons (=, &lt;&gt;, &lt;, &gt;, &lt;=, &gt;=). The operators can be used on each individual value in the cell range and return the result as an array if the array formula was entered.</paragraph>
+<paragraph role="paragraph" id="par_id3166456" xml-lang="en-US" l10n="CHG" oldref="326">Comparison operators in an array formula treat empty cells in the same way as in a normal formula, that is, either as zero or as an empty string. For example, if cells A1 and A2 are empty the array formulas <item type="input">{=A1:A2=""}</item> and <item type="input">{=A1:A2=0}</item> will both return a 1 column 2 row array of cells containing TRUE.</paragraph>
+<paragraph role="heading" id="hd_id3150713" xml-lang="en-US" level="3" l10n="U" oldref="281">When do you use array formulas?</paragraph>
+<paragraph role="paragraph" id="par_id3149787" xml-lang="en-US" l10n="U" oldref="282">Use array formulas if you have to repeat calculations using different values. If you decide to change the calculation method later, you only have to update the array formula. To add an array formula, select the entire array range and then <link href="text/scalc/01/04060107.xhp" name="make the required change to the array formula">make the required change to the array formula</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3149798" xml-lang="en-US" l10n="U" oldref="283">Array formulas are also a space saving option when several values must be calculated, since they are not very memory-intensive. In addition, arrays are an essential tool for carrying out complex calculations, because you can have several cell ranges included in your calculations. $[officename] has different math functions for arrays, such as the MMULT function for multiplying two arrays or the SUMPRODUCT function for calculating the scalar products of two arrays.</paragraph>
+<paragraph role="heading" id="hd_id3155588" xml-lang="en-US" level="2" l10n="U" oldref="284">Using Array Formulas in $[officename] Calc</paragraph>
+<paragraph role="paragraph" id="par_id3152876" xml-lang="en-US" l10n="U" oldref="285">You can also create a "normal" formula in which the reference range, such as parameters, indicate an array formula. The result is obtained from the intersection of the reference range and the rows or columns in which the formula is found. If there is no intersection or if the range at the intersection covers several rows or columns, a #VALUE! error message appears. The following example illustrates this concept:</paragraph>
+<paragraph role="heading" id="hd_id3151271" xml-lang="en-US" level="3" l10n="U" oldref="313">Creating Array Formulas</paragraph>
+<section id="somatrixformel">
+<paragraph role="paragraph" id="par_id3149102" xml-lang="en-US" l10n="U" oldref="314">If you create an array formula using the <emph>Function Wizard</emph>, you must mark the <emph>Array</emph> check box each time so that the results are returned in an array. Otherwise, only the value in the upper-left cell of the array being calculated is returned.</paragraph>
+<paragraph role="paragraph" id="par_id3153392" xml-lang="en-US" l10n="U" oldref="4">If you enter the array formula directly into the cell, you must use the key combination Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter instead of the Enter key. Only then does the formula become an array formula.</paragraph>
+<paragraph role="note" id="par_id3151120" xml-lang="en-US" l10n="U" oldref="315">Array formulas appear in braces in $[officename] Calc. You cannot create array formulas by manually entering the braces.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154342" xml-lang="en-US" l10n="U" oldref="5">The cells in a results array are automatically protected against changes. However, you can edit or copy the array formula by selecting the entire array cell range.</paragraph>
+<paragraph role="heading" id="hd_id8834803" xml-lang="en-US" level="3" l10n="NEW">Using Inline Array Constants in Formulas</paragraph>
+<paragraph role="paragraph" id="par_id985747" xml-lang="en-US" l10n="NEW">Calc supports inline matrix/array constants in formulas. An inline array is surrounded by curly braces '{' and '}'. Elements can be each a number (including negatives), a logical constant (TRUE, FALSE), or a literal string. Non-constant expressions are not allowed. Arrays can be entered with one or more rows, and one or more columns. All rows must consist of the same number of elements, all columns must consist of the same number of elements. </paragraph>
+<paragraph role="paragraph" id="par_id936613" xml-lang="en-US" l10n="NEW">The column separator (separating elements in one row) and the row separator are language and locale dependent. But in this help content, the ';' semicolon and '|' pipe symbol are used to indicate the column and row separators, respectively. For example, in the English locale, the ',' comma is used as the column separator, while the ';' semicolon is used as the row separator.</paragraph>
+<paragraph role="paragraph" id="par_id1877498" xml-lang="en-US" l10n="NEW">Arrays can not be nested.</paragraph>
+<paragraph role="paragraph" id="par_id4262520" xml-lang="en-US" l10n="NEW">
+<emph>Examples:</emph>
+</paragraph>
+<paragraph role="code" id="par_id9387493" xml-lang="en-US" l10n="NEW">={1;2;3}</paragraph>
+<paragraph role="paragraph" id="par_id8207037" xml-lang="en-US" l10n="NEW">An array with one row consisting of the three numbers 1, 2, and 3.</paragraph>
+<paragraph role="paragraph" id="par_id6757103" xml-lang="en-US" l10n="NEW">To enter this array constant, you select three cells in a row, then you type the formula <item type="input">={1;2;3}</item> using the curly braces and the semicolons, then press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Enter.</paragraph>
+<paragraph role="code" id="par_id8868068" xml-lang="en-US" l10n="NEW">={1;2;3|4;5;6}</paragraph>
+<paragraph role="paragraph" id="par_id6626483" xml-lang="en-US" l10n="NEW">An array with two rows and three values in each row.</paragraph>
+<paragraph role="code" id="par_id5262916" xml-lang="en-US" l10n="NEW">={0;1;2|FALSE;TRUE;"two"}</paragraph>
+<paragraph role="paragraph" id="par_id1623889" xml-lang="en-US" l10n="NEW">A mixed data array.</paragraph>
+<paragraph role="code" id="par_id7781914" xml-lang="en-US" l10n="NEW">=SIN({1;2;3})</paragraph>
+<paragraph role="paragraph" id="par_id300912" xml-lang="en-US" l10n="NEW">Entered as a matrix formula, delivers the result of three SIN calculations with the arguments 1, 2, and 3.</paragraph>
+<paragraph role="heading" id="hd_id3148660" xml-lang="en-US" level="3" l10n="U" oldref="316">Editing Array Formulas</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3149241" xml-lang="en-US" l10n="U" oldref="317">Select the cell range or array containing the array formula. To select the whole array, position the cell cursor inside the array range, then press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+/, where / is the Division key on the numeric keypad.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3143274" xml-lang="en-US" l10n="U" oldref="318">Either press F2 or position the cursor in the input line. Both of these actions let you edit the formula.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154798" xml-lang="en-US" l10n="U" oldref="319">After you have made changes, press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Enter.</paragraph>
+</listitem>
+</list>
+<paragraph role="tip" id="par_id3150628" xml-lang="en-US" l10n="U" oldref="334">You can format the separate parts of an array. For example, you can change the font color. Select a cell range and then change the attribute you want.</paragraph>
+<paragraph role="heading" id="hd_id3145608" xml-lang="en-US" level="3" l10n="U" oldref="320">Copying Array Formulas</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3149585" xml-lang="en-US" l10n="U" oldref="321">Select the cell range or array containing the array formula.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154619" xml-lang="en-US" l10n="U" oldref="322">Either press F2 or position the cursor in the input line.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150994" xml-lang="en-US" l10n="U" oldref="323">Copy the formula into the input line by pressing <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+C.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146787" xml-lang="en-US" l10n="U" oldref="324">Select a range of cells where you want to insert the array formula and either press F2 or position the cursor in the input line.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154419" xml-lang="en-US" l10n="U" oldref="325">Paste the formula by pressing <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V in the selected space and confirm it by pressing <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Enter. The selected range now contains the array formula.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3154834" xml-lang="en-US" level="3" l10n="U" oldref="328">Adjusting an Array Range</paragraph>
+<paragraph role="paragraph" id="par_id3148679" xml-lang="en-US" l10n="U" oldref="329">If you want to edit the output array, do the following:</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3151102" xml-lang="en-US" l10n="U" oldref="330">Select the cell range or array containing the array formula.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147096" xml-lang="en-US" l10n="U" oldref="331">Below the selection, to the right, you will see a small icon with which you can zoom in or out on the range using your mouse.</paragraph>
+</listitem>
+</list>
+<paragraph role="note" id="par_id3150974" xml-lang="en-US" l10n="U" oldref="332">When you adjust the array range, the array formula will not automatically be adjusted. You are only changing the range in which the result will appear.</paragraph>
+<paragraph role="paragraph" id="par_id3146080" xml-lang="en-US" l10n="U" oldref="333">By holding down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key, you can create a copy of the array formula in the given range.</paragraph>
+<paragraph role="heading" id="par_idN10D47" xml-lang="en-US" level="3" l10n="NEW">Conditional Array Calculations</paragraph>
+<paragraph role="paragraph" id="par_idN10D4B" xml-lang="en-US" l10n="NEW">A conditional array calculation is an array or matrix formula that includes an IF() or CHOOSE() function. The condition argument in the formula is an area reference or a matrix result.</paragraph>
+<paragraph role="paragraph" id="par_idN10D4E" xml-lang="en-US" l10n="NEW">In the following example, the &gt;0 test of the {=IF(A1:A3&gt;0;"yes";"no")} formula is applied to each cell in the range A1:A3 and the result is copied to the corresponding cell.</paragraph>
+<table id="tbl_id2511673">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10D65" xml-lang="en-US" l10n="NEW">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10D6B" xml-lang="en-US" l10n="NEW">B (formula)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10B75" xml-lang="en-US" l10n="NEW">B (result)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10D79" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10D80" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10D86" xml-lang="en-US" l10n="NEW">{=IF(A1:A3&gt;0;"yes";"no")}</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10D8C" xml-lang="en-US" l10n="NEW">yes</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10D94" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10D9B" xml-lang="en-US" l10n="NEW">0</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10DA1" xml-lang="en-US" l10n="NEW">{=IF(A1:A3&gt;0;"yes";"no")}</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10DA7" xml-lang="en-US" l10n="NEW">no</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DAF" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10DB6" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_idN10DBC" xml-lang="en-US" l10n="NEW">{=IF(A1:A3&gt;0;"yes";"no")}</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10DC2" xml-lang="en-US" l10n="NEW">yes</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_idN10DD0" xml-lang="en-US" l10n="NEW">The following functions provide forced array handling: CORREL, COVAR, FORECAST, FTEST, INTERCEPT, MDETERM, MINVERSE, MMULT, MODE, PEARSON, PROB, RSQ, SLOPE, STEYX, SUMPRODUCT, SUMX2MY2, SUMX2PY2, SUMXMY2, TTEST. If you use area references as arguments when you call one of these functions, the functions behave as array functions. The following table provides an example of forced array handling:</paragraph>
+<table id="tbl_id7380291">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DE2" xml-lang="en-US" l10n="NEW">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DE8" xml-lang="en-US" l10n="NEW">B (formula)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DEE" xml-lang="en-US" l10n="NEW">B (result)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DF4" xml-lang="en-US" l10n="NEW">C (forced array formula)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10DFA" xml-lang="en-US" l10n="NEW">C (result)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10E02" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E09" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E0F" xml-lang="en-US" l10n="NEW">=A1:A2+1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E17" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E1D" xml-lang="en-US" l10n="NEW">=SUMPRODUCT(A1:A2+1)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E25" xml-lang="en-US" l10n="NEW">5</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10E2D" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E34" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E3A" xml-lang="en-US" l10n="NEW">=A1:A2+1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E42" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E48" xml-lang="en-US" l10n="NEW">=SUMPRODUCT(A1:A2+1)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E50" xml-lang="en-US" l10n="NEW">5</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablehead" id="par_idN10E58" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E63" xml-lang="en-US" l10n="NEW">=A1:A2+1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E6A" xml-lang="en-US" l10n="NEW">#VALUE!</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E70" xml-lang="en-US" l10n="NEW">=SUMPRODUCT(A1:A2+1)</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN10E78" xml-lang="en-US" l10n="NEW">5</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<sort>
+<section id="Section14">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158446"><bookmark_value>MUNIT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EINHEITSMATRIX" id="bm_id3151317" localize="false"/>
+<paragraph role="heading" id="hd_id3158446" xml-lang="en-US" level="2" l10n="U" oldref="12">MUNIT</paragraph>
+<paragraph role="paragraph" id="par_id3154121" xml-lang="en-US" l10n="U" oldref="13"><ahelp hid="HID_FUNC_EINHEITSMATRIX">Returns the unitary square array of a certain size.</ahelp> The unitary array is a square array where the main diagonal elements equal 1 and all other array elements are equal to 0.</paragraph>
+<paragraph role="heading" id="hd_id3155123" xml-lang="en-US" level="3" l10n="U" oldref="14">Syntax</paragraph>
+<paragraph role="code" id="par_id3156271" xml-lang="en-US" l10n="U" oldref="15">MUNIT(Dimensions)</paragraph>
+<paragraph role="paragraph" id="par_id3159390" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Dimensions</emph> refers to the size of the array unit.</paragraph>
+<paragraph role="note" id="par_idN10C9B" xml-lang="en-US" l10n="NEW">You can find a general introduction to Array functions at the top of this page.</paragraph>
+<paragraph role="heading" id="hd_id3156162" xml-lang="en-US" level="3" l10n="U" oldref="17">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150949" xml-lang="en-US" l10n="U" oldref="18">Select a square range within the spreadsheet, for example, from A1 to E5.</paragraph>
+<paragraph role="paragraph" id="par_id3151260" xml-lang="en-US" l10n="U" oldref="19">Without deselecting the range, select the MUNIT function. Mark the <emph>Array</emph> check box. Enter the desired dimensions for the array unit, in this case <item type="input">5</item>, and click <emph>OK</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3150403" xml-lang="en-US" l10n="U" oldref="20">You can also enter the <item type="input">=Munit(5)</item> formula in the last cell of the selected range (E5), and press <switchinline select="sys"><caseinline select="MAC">Shift+Command+Enter</caseinline><defaultinline>Shift+Ctrl+Enter</defaultinline></switchinline>.</paragraph>
+<paragraph role="paragraph" id="par_id3156143" xml-lang="en-US" l10n="U" oldref="21">You now see a unit array with a range of A1:E5.</paragraph>
+<paragraph role="paragraph" id="par_idN10FA7" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section13">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159084"><bookmark_value>FREQUENCY function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HAEUFIGKEIT" id="bm_id3153883" localize="false"/>
+<paragraph role="heading" id="hd_id3159084" xml-lang="en-US" level="2" l10n="U" oldref="22">FREQUENCY</paragraph>
+<paragraph role="paragraph" id="par_id3145777" xml-lang="en-US" l10n="CHG" oldref="23"><ahelp hid="HID_FUNC_HAEUFIGKEIT">Indicates the frequency distribution in a one-column-array.</ahelp> The function counts the number of values in the Data array that are within the values given by the Classes array.</paragraph>
+<paragraph role="heading" id="hd_id3153347" xml-lang="en-US" level="3" l10n="U" oldref="24">Syntax</paragraph>
+<paragraph role="code" id="par_id3155498" xml-lang="en-US" l10n="U" oldref="25">FREQUENCY(Data; Classes)</paragraph>
+<paragraph role="paragraph" id="par_id3154352" xml-lang="en-US" l10n="CHG" oldref="26">
+<emph>Data</emph> represents the reference to the values to be counted.</paragraph>
+<paragraph role="paragraph" id="par_id3148402" xml-lang="en-US" l10n="CHG" oldref="27">
+<emph>Classes</emph> represents the array of the limit values.</paragraph>
+<paragraph role="note" id="par_idN10D71" xml-lang="en-US" l10n="NEW">You can find a general introduction to Array functions at the top of this page.</paragraph>
+<paragraph role="heading" id="hd_id3148981" xml-lang="en-US" level="3" l10n="U" oldref="28">Example</paragraph>
+<paragraph role="paragraph" id="par_id3155904" xml-lang="en-US" l10n="CHG" oldref="219">In the following table, column A lists unsorted measurement values. Column B contains the upper limit you entered for the classes into which you want to divide the data in column A. According to the limit entered in B1, the FREQUENCY function returns the number of measured values less than or equal to 5. As the limit in B2 is 10, the FREQUENCY function returns the second result as the number of measured values that are greater than 5 and less than or equal to 10. The text you entered in B6, "&gt;25", is only for reference purposes.<comment>i77461: replace old text: As the limit in B2 is 10, the FREQUENCY function returns the second result as the number of measured values that are greater than 5 or greater than or equal to 10.</comment></paragraph><comment>UFI: replace table by picture</comment>
+<table id="tbl_id3150680">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155869" xml-lang="en-US" l10n="U" oldref="220">
+<emph>A</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149328" xml-lang="en-US" l10n="U" oldref="221">
+<emph>B</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152467" xml-lang="en-US" l10n="U" oldref="222">
+<emph>C</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154528" xml-lang="en-US" l10n="U" oldref="223">
+<emph>1</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149744" xml-lang="en-US" l10n="U" oldref="224">12</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147309" xml-lang="en-US" l10n="U" oldref="225">5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154199" xml-lang="en-US" l10n="U" oldref="226">1</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159218" xml-lang="en-US" l10n="U" oldref="227">
+<emph>2</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153263" xml-lang="en-US" l10n="U" oldref="228">8</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3156201" xml-lang="en-US" l10n="U" oldref="229">10</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147552" xml-lang="en-US" l10n="U" oldref="230">3</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149174" xml-lang="en-US" l10n="U" oldref="231">
+<emph>3</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151201" xml-lang="en-US" l10n="U" oldref="232">24</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150245" xml-lang="en-US" l10n="U" oldref="233">15</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159194" xml-lang="en-US" l10n="U" oldref="234">2</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3146925" xml-lang="en-US" l10n="U" oldref="235">
+<emph>4</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154128" xml-lang="en-US" l10n="U" oldref="236">11</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151067" xml-lang="en-US" l10n="U" oldref="237">20</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3156033" xml-lang="en-US" l10n="U" oldref="238">3</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149298" xml-lang="en-US" l10n="U" oldref="239">
+<emph>5</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151382" xml-lang="en-US" l10n="U" oldref="240">5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155141" xml-lang="en-US" l10n="U" oldref="241">25</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145213" xml-lang="en-US" l10n="U" oldref="242">1</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145268" xml-lang="en-US" l10n="U" oldref="243">
+<emph>6</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3163724" xml-lang="en-US" l10n="U" oldref="244">20</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147132" xml-lang="en-US" l10n="U" oldref="245">&gt;25</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3148903" xml-lang="en-US" l10n="U" oldref="246">1</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151007" xml-lang="en-US" l10n="U" oldref="247">
+<emph>7</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153294" xml-lang="en-US" l10n="U" oldref="248">16</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147284" xml-lang="en-US" l10n="U" oldref="249">
+<emph>8</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154914" xml-lang="en-US" l10n="U" oldref="250">9</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154218" xml-lang="en-US" l10n="U" oldref="251">
+<emph>9</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="252">7</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149045" xml-lang="en-US" l10n="U" oldref="253">
+<emph>10</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155799" xml-lang="en-US" l10n="U" oldref="254">16</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155076" xml-lang="en-US" l10n="U" oldref="255">
+<emph>11</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3150217" xml-lang="en-US" l10n="U" oldref="256">33</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3150312" xml-lang="en-US" l10n="CHG" oldref="29">Select a single column range in which to enter the frequency according to the class limits. You must select one field more than the class ceiling. In this example, select the range C1:C6. Call up the FREQUENCY function in the <emph>Function Wizard</emph>. Select the <emph>Data</emph> range in (A1:A11), and then the <emph>Classes</emph> range in which you entered the class limits (B1:B6). Select the <emph>Array</emph> check box and click <emph>OK</emph>. You will see the frequency count in the range C1:C6.</paragraph>
+<paragraph role="paragraph" id="par_idN11269" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section12">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151030"><bookmark_value>MDETERM function</bookmark_value>
+<bookmark_value>determinants</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MDET" id="bm_id3154057" localize="false"/>
+<paragraph role="heading" id="hd_id3151030" xml-lang="en-US" level="2" l10n="U" oldref="31">MDETERM</paragraph>
+<paragraph role="paragraph" id="par_id3154073" xml-lang="en-US" l10n="U" oldref="32"><ahelp hid="HID_FUNC_MDET">Returns the array determinant of an array.</ahelp> This function returns a value in the current cell; it is not necessary to define a range for the results.</paragraph>
+<paragraph role="heading" id="hd_id3156366" xml-lang="en-US" level="3" l10n="U" oldref="33">Syntax</paragraph>
+<paragraph role="code" id="par_id3156380" xml-lang="en-US" l10n="U" oldref="34">MDETERM(Array)</paragraph>
+<paragraph role="paragraph" id="par_id3150290" xml-lang="en-US" l10n="U" oldref="35">
+<emph>Array</emph> represents a square array in which the determinants are defined.</paragraph>
+<paragraph role="note" id="par_idN11035" xml-lang="en-US" l10n="NEW">You can find a general introduction to using Array functions on top of this page.</paragraph>
+<paragraph role="paragraph" id="par_idN11333" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section11">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151348"><bookmark_value>MINVERSE function</bookmark_value>
+<bookmark_value>inverse arrays</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MINV" id="bm_id3151360" localize="false"/>
+<paragraph role="heading" id="hd_id3151348" xml-lang="en-US" level="2" l10n="U" oldref="39">MINVERSE</paragraph>
+<paragraph role="paragraph" id="par_id3145569" xml-lang="en-US" l10n="U" oldref="40"><ahelp hid="HID_FUNC_MINV">Returns the inverse array.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156072" xml-lang="en-US" level="3" l10n="U" oldref="41">Syntax</paragraph>
+<paragraph role="code" id="par_id3156085" xml-lang="en-US" l10n="U" oldref="42">MINVERSE(Array)</paragraph>
+<paragraph role="paragraph" id="par_id3157849" xml-lang="en-US" l10n="U" oldref="43">
+<emph>Array</emph> represents a square array that is to be inverted.</paragraph>
+<paragraph role="paragraph" id="par_idN113EE" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3157868" xml-lang="en-US" level="3" l10n="U" oldref="44">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149638" xml-lang="en-US" l10n="U" oldref="45">Select a square range and select MINVERSE. Select the output array, select the <emph>Array</emph> field and click <emph>OK</emph>.</paragraph>
+</section>
+<section id="Section10">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148546"><bookmark_value>MMULT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MMULT" id="bm_id3148501" localize="false"/>
+<paragraph role="heading" id="hd_id3148546" xml-lang="en-US" level="2" l10n="U" oldref="47">MMULT</paragraph>
+<paragraph role="paragraph" id="par_id3148518" xml-lang="en-US" l10n="U" oldref="48"><ahelp hid="HID_FUNC_MMULT">Calculates the array product of two arrays.</ahelp> The number of columns for array 1 must match the number of rows for array 2. The square array has an equal number of rows and columns.</paragraph>
+<paragraph role="heading" id="hd_id3146767" xml-lang="en-US" level="3" l10n="U" oldref="49">Syntax</paragraph>
+<paragraph role="code" id="par_id3150798" xml-lang="en-US" l10n="U" oldref="50">MMULT(Array; Array)</paragraph>
+<paragraph role="paragraph" id="par_id3150812" xml-lang="en-US" l10n="U" oldref="51">
+<emph>Array</emph> at first place represents the first array used in the array product.</paragraph>
+<paragraph role="paragraph" id="par_id3152553" xml-lang="en-US" l10n="U" oldref="52">
+<emph>Array</emph> at second place represents the second array with the same number of rows.</paragraph>
+<paragraph role="note" id="par_idN114C3" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3152574" xml-lang="en-US" level="3" l10n="U" oldref="53">Example</paragraph>
+<paragraph role="paragraph" id="par_id3146826" xml-lang="en-US" l10n="U" oldref="54">Select a square range. Choose the MMULT function. Select the first <emph>Array</emph>, then select the second <emph>Array</emph>. Using <emph>Function Wizard</emph>, mark the <emph>Array</emph> check box. Click <emph>OK</emph>. The output array will appear in the first selected range.</paragraph>
+</section>
+<section id="Section9">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154970"><bookmark_value>TRANSPOSE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MTRANS" id="bm_id3154982" localize="false"/>
+<paragraph role="heading" id="hd_id3154970" xml-lang="en-US" level="2" l10n="U" oldref="56">TRANSPOSE</paragraph>
+<paragraph role="paragraph" id="par_id3155276" xml-lang="en-US" l10n="U" oldref="57"><ahelp hid="HID_FUNC_MTRANS">Transposes the rows and columns of an array.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155294" xml-lang="en-US" level="3" l10n="U" oldref="58">Syntax</paragraph>
+<paragraph role="code" id="par_id3153843" xml-lang="en-US" l10n="U" oldref="59">TRANSPOSE(Array)</paragraph>
+<paragraph role="paragraph" id="par_id3153857" xml-lang="en-US" l10n="U" oldref="60">
+<emph>Array</emph> represents the array in the spreadsheet that is to be transposed.</paragraph>
+<paragraph role="paragraph" id="par_idN115A5" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3159352" xml-lang="en-US" level="3" l10n="U" oldref="61">Example</paragraph>
+<paragraph role="paragraph" id="par_id3159366" xml-lang="en-US" l10n="U" oldref="62">In the spreadsheet, select the range in which the transposed array can appear. If the original array has n rows and m columns, your selected range must have at least m rows and n columns. Then enter the formula directly, select the original array and press <switchinline select="sys"><caseinline select="MAC">Shift+Command+Enter</caseinline><defaultinline>Shift+Ctrl+Enter</defaultinline></switchinline>. Or, if you are using the <emph>Function Wizard</emph>, mark the <emph>Array</emph> check box. The transposed array appears in the selected target range and is protected automatically against changes.</paragraph>
+</section>
+<section id="Section8">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3109846"><bookmark_value>LINEST function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RGP" id="bm_id3144716" localize="false"/>
+<paragraph role="heading" id="hd_id3109846" xml-lang="en-US" level="2" l10n="U" oldref="64">LINEST</paragraph>
+<paragraph role="paragraph" id="par_id3144733" xml-lang="en-US" l10n="CHG" oldref="65"><ahelp hid="HID_FUNC_RGP">Returns a table of statistics for a straight line that best fits a data set.</ahelp><comment>changed based on http://wiki.documentfoundation.org/Documentation/How_Tos/Calc:_LINEST_function (issue 76142)</comment></paragraph>
+<paragraph role="heading" id="hd_id3152825" xml-lang="en-US" level="3" l10n="U" oldref="66">Syntax</paragraph>
+<paragraph role="code" id="par_id3152839" xml-lang="en-US" l10n="U" oldref="67">LINEST(data_Y; data_X; linearType; stats)</paragraph>
+<paragraph role="paragraph" id="par_id3152853" xml-lang="en-US" l10n="U" oldref="68">
+<emph>data_Y</emph> is a single row or column range specifying the y coordinates in a set of data points.</paragraph>
+<paragraph role="paragraph" id="par_id3154428" xml-lang="en-US" l10n="U" oldref="69">
+<emph>data_X</emph> is a corresponding single row or column range specifying the x coordinates. If <emph>data_X</emph> is omitted it defaults to <item type="literal">1, 2, 3, ..., n</item>. If there is more than one set of variables <emph>data_X</emph> may be a range with corresponding multiple rows or columns.</paragraph>
+<paragraph role="paragraph" id="par_id0811200804502119" xml-lang="en-US" l10n="NEW">LINEST finds a straight line <item type="literal">y = a + bx</item> that best fits the data, using linear regression (the "least squares" method). With more than one set of variables the straight line is of the form <item type="literal">y = a + b1x1 + b2x2 ... + bnxn</item>.</paragraph>
+<paragraph role="paragraph" id="par_id3154448" xml-lang="en-US" l10n="U" oldref="70"> if<emph>linearType</emph> is FALSE the straight line found is forced to pass through the origin (the constant a is zero; y = bx). If omitted, <emph>linearType</emph> defaults to TRUE (the line is not forced through the origin).</paragraph>
+<paragraph role="paragraph" id="par_id3154142" xml-lang="en-US" l10n="U" oldref="71">if<emph>stats</emph> is omitted or FALSE only the top line of the statistics table is returned. If TRUE the entire table is returned.</paragraph>
+<paragraph role="paragraph" id="par_id0811200804502261" xml-lang="en-US" l10n="NEW">LINEST returns a table (array) of statistics as below and must be entered as an array formula (for example by using <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Return rather than just Return).</paragraph>
+<paragraph role="paragraph" id="par_idN11416" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN116C6" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3154162" xml-lang="en-US" level="3" l10n="U" oldref="72">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154176" xml-lang="en-US" l10n="U" oldref="73">This function returns an array and is handled in the same way as the other array functions. Select a range for the answers and then the function. Select <emph>data_Y</emph>. If you want, you can enter other parameters. Select <emph>Array</emph> and click <emph>OK</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3155468" xml-lang="en-US" l10n="U" oldref="74">The results returned by the system (if <emph>stats</emph> = 0), will at least show the slope of the regression line and its intersection with the Y axis. If <emph>stats</emph> does not equal 0, other results are to be displayed.</paragraph>
+<paragraph role="heading" id="hd_id3155491" xml-lang="en-US" level="3" l10n="U" oldref="75">Other LINEST Results:</paragraph>
+<paragraph role="paragraph" id="par_id3159291" xml-lang="en-US" l10n="U" oldref="76">Examine the following examples:</paragraph>
+<table id="tbl_id3159305">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3157922" xml-lang="en-US" l10n="U" oldref="77">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3157945" xml-lang="en-US" l10n="U" oldref="78">B</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152486" xml-lang="en-US" l10n="U" oldref="79">C</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152509" xml-lang="en-US" l10n="U" oldref="80">D</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152532" xml-lang="en-US" l10n="U" oldref="81">E</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153431" xml-lang="en-US" l10n="U" oldref="82">F</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153454" xml-lang="en-US" l10n="U" oldref="83">G</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154995" xml-lang="en-US" l10n="U" oldref="84">
+<emph>1</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155021" xml-lang="en-US" l10n="U" oldref="85">
+<item type="input">x1</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155044" xml-lang="en-US" l10n="U" oldref="86">
+<item type="input">x2</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3163734" xml-lang="en-US" l10n="U" oldref="87">
+<item type="input">y</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3163766" xml-lang="en-US" l10n="U" oldref="88">
+<item type="input">LIN</item>
+<item type="input">EST value</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145686" xml-lang="en-US" l10n="U" oldref="89">
+<emph>2</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145713" xml-lang="en-US" l10n="U" oldref="90">
+<item type="input">4</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145736" xml-lang="en-US" l10n="U" oldref="91">
+<item type="input">7</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159427" xml-lang="en-US" l10n="U" oldref="92">
+<item type="input">100</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159460" xml-lang="en-US" l10n="U" oldref="93">
+<item type="input">4,17</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159483" xml-lang="en-US" l10n="U" oldref="94">-<item type="input">3,48</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152381" xml-lang="en-US" l10n="U" oldref="95">
+<item type="input">82,33</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152408" xml-lang="en-US" l10n="U" oldref="96">
+<emph>3</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152435" xml-lang="en-US" l10n="U" oldref="97">
+<item type="input">5</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152458" xml-lang="en-US" l10n="U" oldref="98">
+<item type="input">9</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155652" xml-lang="en-US" l10n="U" oldref="99">
+<item type="input">105</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155684" xml-lang="en-US" l10n="U" oldref="100">
+<item type="input">5,46</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155707" xml-lang="en-US" l10n="U" oldref="101">
+<item type="input">10,96</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155730" xml-lang="en-US" l10n="U" oldref="102">
+<item type="input">9,35</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159506" xml-lang="en-US" l10n="U" oldref="103">
+<emph>4</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159533" xml-lang="en-US" l10n="U" oldref="104">
+<item type="input">6</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159556" xml-lang="en-US" l10n="U" oldref="105">
+<item type="input">11</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159579" xml-lang="en-US" l10n="U" oldref="106">
+<item type="input">104</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3159611" xml-lang="en-US" l10n="U" oldref="107">
+<item type="input">0,87</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152606" xml-lang="en-US" l10n="U" oldref="108">
+<item type="input">5,06</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152629" xml-lang="en-US" l10n="U" oldref="109">
+<item type="input">#NA</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152655" xml-lang="en-US" l10n="U" oldref="110">
+<emph>5</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152682" xml-lang="en-US" l10n="U" oldref="111">
+<item type="input">7</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152705" xml-lang="en-US" l10n="U" oldref="112">
+<item type="input">12</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152728" xml-lang="en-US" l10n="U" oldref="113">
+<item type="input">108</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144352" xml-lang="en-US" l10n="U" oldref="114">
+<item type="input">13,21</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144375" xml-lang="en-US" l10n="U" oldref="115">
+<item type="input">4</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144398" xml-lang="en-US" l10n="U" oldref="116">
+<item type="input">#NA</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144425" xml-lang="en-US" l10n="U" oldref="117">
+<emph>6</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144452" xml-lang="en-US" l10n="U" oldref="118">
+<item type="input">8</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144475" xml-lang="en-US" l10n="U" oldref="119">
+<item type="input">15</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144498" xml-lang="en-US" l10n="U" oldref="120">
+<item type="input">111</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158233" xml-lang="en-US" l10n="U" oldref="121">
+<item type="input">675,45</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158256" xml-lang="en-US" l10n="U" oldref="122">
+<item type="input">102,26</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158279" xml-lang="en-US" l10n="U" oldref="123">
+<item type="input">#NA</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158306" xml-lang="en-US" l10n="U" oldref="124">
+<emph>7</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158333" xml-lang="en-US" l10n="U" oldref="125">
+<item type="input">9</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158356" xml-lang="en-US" l10n="U" oldref="126">
+<item type="input">17</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3158379" xml-lang="en-US" l10n="U" oldref="127">
+<item type="input">120</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144560" xml-lang="en-US" l10n="U" oldref="128">
+<emph>8</emph>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144586" xml-lang="en-US" l10n="U" oldref="129">
+<item type="input">10</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144609" xml-lang="en-US" l10n="U" oldref="130">
+<item type="input">19</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3144632" xml-lang="en-US" l10n="U" oldref="131">
+<item type="input">133</item>
+</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3144687" xml-lang="en-US" l10n="U" oldref="132">Column A contains several X1 values, column B several X2 values and column C the Y values. You have already entered these values in your spreadsheet. You have now set up E2:G6 in the spreadsheet and activated the <emph>Function Wizard</emph>. For the LINEST function to work, you must have marked the <emph>Array</emph> check box in the <emph>Function Wizard</emph>. Next, select the following values in the spreadsheet (or enter them using the keyboard):</paragraph>
+<paragraph role="paragraph" id="par_id3158020" xml-lang="en-US" l10n="U" oldref="133">
+<emph>data_Y</emph> is C2:C8</paragraph>
+<paragraph role="paragraph" id="par_id3158039" xml-lang="en-US" l10n="U" oldref="134">
+<emph>data_X</emph> is A2:B8</paragraph>
+<paragraph role="paragraph" id="par_id3158058" xml-lang="en-US" l10n="U" oldref="135">
+<emph>linearType</emph> and <emph>stats</emph> are both set to 1.</paragraph>
+<paragraph role="paragraph" id="par_id3158084" xml-lang="en-US" l10n="U" oldref="136">As soon as you click <emph>OK</emph>, $[officename] Calc will fill the above example with the LINEST values as shown in the example.</paragraph>
+<paragraph role="paragraph" id="par_id3158106" xml-lang="en-US" l10n="U" oldref="137">The formula in the <emph>Formula</emph> Bar corresponds to each cell of the LINEST array <item type="input">{=LINEST(C2:C8;A2:B8;1;1)}</item>
+</paragraph>
+<paragraph role="paragraph" id="par_id3158128" xml-lang="en-US" l10n="U" oldref="138">
+<emph>This represents the calculated LINEST values:</emph>
+</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158146"><bookmark_value>slopes, see also regression lines</bookmark_value>
+<bookmark_value>regression lines;LINEST function</bookmark_value>
+</bookmark><comment>mw made "regression lines" a two level entry</comment>
+<paragraph role="paragraph" id="par_id3158146" xml-lang="en-US" l10n="U" oldref="139">E2 and F2: Slope m of the regression line y=b+m*x for the x1 and x2 values. The values are given in reverse order; that is, the slope for x2 in E2 and the slope for x1 in F2.</paragraph>
+<paragraph role="paragraph" id="par_id3158184" xml-lang="en-US" l10n="U" oldref="140">G2: Intersection b with the y axis.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158204"><bookmark_value>standard errors;array functions</bookmark_value>
+</bookmark><comment>MW changed "standard errors"</comment>
+<paragraph role="paragraph" id="par_id3158204" xml-lang="en-US" l10n="U" oldref="141">E3 and F3: The standard error of the slope value.</paragraph>
+<paragraph role="paragraph" id="par_id3145845" xml-lang="en-US" l10n="U" oldref="142">G3: The standard error of the intercept</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145859"><bookmark_value>RSQ calculations</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3145859" xml-lang="en-US" l10n="U" oldref="143">E4: RSQ</paragraph>
+<paragraph role="paragraph" id="par_id3145880" xml-lang="en-US" l10n="U" oldref="144">F4: The standard error of the regression calculated for the Y value.</paragraph>
+<paragraph role="paragraph" id="par_id3145894" xml-lang="en-US" l10n="U" oldref="145">E5: The F value from the variance analysis.</paragraph>
+<paragraph role="paragraph" id="par_id3145915" xml-lang="en-US" l10n="U" oldref="146">F5: The degrees of freedom from the variance analysis.</paragraph>
+<paragraph role="paragraph" id="par_id3145937" xml-lang="en-US" l10n="U" oldref="147">E6: The sum of the squared deviation of the estimated Y values from their linear mean.</paragraph>
+<paragraph role="paragraph" id="par_id3145952" xml-lang="en-US" l10n="U" oldref="148">F6: The sum of the squared deviation of the estimated Y value from the given Y values.</paragraph>
+<paragraph role="paragraph" id="par_idN11B04" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section7">
+<bookmark xml-lang="en-US" branch="index" id="bm_id1596728"><bookmark_value>LOGEST function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RKP" id="bm_id3146020" localize="false"/>
+<paragraph role="heading" id="hd_id3146009" xml-lang="en-US" level="2" l10n="U" oldref="150">LOGEST</paragraph>
+<paragraph role="paragraph" id="par_id3146037" xml-lang="en-US" l10n="U" oldref="151"><ahelp hid="HID_FUNC_RKP">This function calculates the adjustment of the entered data as an exponential regression curve (y=b*m^x).</ahelp><comment>UFI: see http://support.microsoft.com/default.aspx?kbid=828528&amp;product=xl2003
+for bug #i31051#</comment></paragraph>
+<paragraph role="heading" id="hd_id3146056" xml-lang="en-US" level="3" l10n="U" oldref="152">Syntax</paragraph>
+<paragraph role="code" id="par_id3163123" xml-lang="en-US" l10n="U" oldref="153">LOGEST(DataY; DataX; FunctionType; Stats)</paragraph>
+<paragraph role="paragraph" id="par_id3163137" xml-lang="en-US" l10n="U" oldref="154">
+<emph>DataY</emph> represents the Y Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3163155" xml-lang="en-US" l10n="U" oldref="155">
+<emph>DataX</emph> (optional) represents the X Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3163174" xml-lang="en-US" l10n="U" oldref="156">
+<emph>FunctionType</emph> (optional). If Function_Type = 0, functions in the form y = m^x will be calculated. Otherwise, y = b*m^x functions will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3163196" xml-lang="en-US" l10n="U" oldref="157">
+<emph>Stats</emph> (optional). If Stats=0, only the regression coefficient is calculated.</paragraph>
+<paragraph role="paragraph" id="par_idN118F7" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN11BC3" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3163216" xml-lang="en-US" level="3" l10n="U" oldref="158">Example</paragraph>
+<paragraph role="paragraph" id="par_id3163230" xml-lang="en-US" l10n="CHG" oldref="159">See LINEST. However, no square sum will be returned.</paragraph>
+</section>
+<section id="Section6">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163286"><bookmark_value>SUMPRODUCT function</bookmark_value>
+<bookmark_value>scalar products</bookmark_value>
+<bookmark_value>dot products</bookmark_value>
+<bookmark_value>inner products</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMENPRODUKT" id="bm_id3163297" localize="false"/>
+<paragraph role="heading" id="hd_id3163286" xml-lang="en-US" level="2" l10n="U" oldref="161">SUMPRODUCT</paragraph>
+<paragraph role="paragraph" id="par_id3163314" xml-lang="en-US" l10n="U" oldref="162"><ahelp hid="HID_FUNC_SUMMENPRODUKT">Multiplies corresponding elements in the given arrays, and returns the sum of those products.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3163334" xml-lang="en-US" level="3" l10n="U" oldref="163">Syntax</paragraph>
+<paragraph role="code" id="par_id3163347" xml-lang="en-US" l10n="U" oldref="164">SUMPRODUCT(Array1; Array2...Array30)</paragraph>
+<paragraph role="paragraph" id="par_id3163362" xml-lang="en-US" l10n="CHG" oldref="165">
+<emph>Array1, Array2...Array30</emph> represent arrays whose corresponding elements are to be multiplied.</paragraph>
+<paragraph role="paragraph" id="par_idN11B19" xml-lang="en-US" l10n="NEW">At least one array must be part of the argument list. If only one array is given, all array elements are summed.</paragraph>
+<paragraph role="heading" id="par_idN11B1C" xml-lang="en-US" level="3" l10n="NEW">Example</paragraph>
+<table id="tbl_id6215704">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN11B2F" xml-lang="en-US" l10n="NEW">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN11B35" xml-lang="en-US" l10n="NEW">B</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN11B3B" xml-lang="en-US" l10n="NEW">C</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_idN11B41" xml-lang="en-US" l10n="NEW">D</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B48" xml-lang="en-US" l10n="NEW">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B4E" xml-lang="en-US" l10n="NEW">
+<item type="input">2</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B54" xml-lang="en-US" l10n="NEW">
+<item type="input">3</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B5A" xml-lang="en-US" l10n="NEW">
+<item type="input">4</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B60" xml-lang="en-US" l10n="NEW">
+<item type="input">5</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B67" xml-lang="en-US" l10n="NEW">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B6D" xml-lang="en-US" l10n="NEW">
+<item type="input">6</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B73" xml-lang="en-US" l10n="NEW">
+<item type="input">7</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B79" xml-lang="en-US" l10n="NEW">
+<item type="input">8</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B7F" xml-lang="en-US" l10n="NEW">
+<item type="input">9</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B86" xml-lang="en-US" l10n="NEW">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B8C" xml-lang="en-US" l10n="NEW">
+<item type="input">10</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B92" xml-lang="en-US" l10n="NEW">
+<item type="input">11</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B98" xml-lang="en-US" l10n="NEW">
+<item type="input">12</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_idN11B9E" xml-lang="en-US" l10n="NEW">
+<item type="input">13</item>
+</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_idN11BA1" xml-lang="en-US" l10n="NEW">
+<item type="input">=SUMPRODUCT(A1:B3;C1:D3)</item> returns 397.</paragraph>
+<paragraph role="paragraph" id="par_idN11BA4" xml-lang="en-US" l10n="NEW">Calculation: A1*C1 + B1*D1 + A2*C2 + B2*D2 + A3*C3 + B3*D3</paragraph>
+<paragraph role="paragraph" id="par_idN11BA7" xml-lang="en-US" l10n="NEW">You can use SUMPRODUCT to calculate the scalar product of two vectors.</paragraph>
+<paragraph role="note" id="par_idN11BBC" xml-lang="en-US" l10n="NEW">SUMPRODUCT returns a single number, it is not necessary to enter the function as an array function.</paragraph>
+<paragraph role="paragraph" id="par_idN11C91" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section5">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3144842"><bookmark_value>SUMX2MY2 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEX2MY2" id="bm_id3144854" localize="false"/>
+<paragraph role="heading" id="hd_id3144842" xml-lang="en-US" level="2" l10n="U" oldref="169">SUMX2MY2</paragraph>
+<paragraph role="paragraph" id="par_id3144871" xml-lang="en-US" l10n="U" oldref="170"><ahelp hid="HID_FUNC_SUMMEX2MY2">Returns the sum of the difference of squares of corresponding values in two arrays.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3144889" xml-lang="en-US" level="3" l10n="U" oldref="171">Syntax</paragraph>
+<paragraph role="code" id="par_id3144903" xml-lang="en-US" l10n="U" oldref="172">SUMX2MY2(ArrayX; ArrayY)</paragraph>
+<paragraph role="paragraph" id="par_id3144916" xml-lang="en-US" l10n="U" oldref="173">
+<emph>ArrayX</emph> represents the first array whose elements are to be squared and added.</paragraph>
+<paragraph role="paragraph" id="par_id3144936" xml-lang="en-US" l10n="U" oldref="174">
+<emph>ArrayY</emph> represents the second array whose elements are to be squared and subtracted.</paragraph>
+<paragraph role="paragraph" id="par_idN11D6B" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section4">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145026"><bookmark_value>SUMX2PY2 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEX2PY2" id="bm_id3145038" localize="false"/>
+<paragraph role="heading" id="hd_id3145026" xml-lang="en-US" level="2" l10n="U" oldref="178">SUMX2PY2</paragraph>
+<paragraph role="paragraph" id="par_id3145055" xml-lang="en-US" l10n="U" oldref="179"><ahelp hid="HID_FUNC_SUMMEX2PY2">Returns the sum of the sum of squares of corresponding values in two arrays.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3163390" xml-lang="en-US" level="3" l10n="U" oldref="180">Syntax</paragraph>
+<paragraph role="code" id="par_id3163404" xml-lang="en-US" l10n="U" oldref="181">SUMX2PY2(ArrayX; ArrayY)</paragraph>
+<paragraph role="paragraph" id="par_id3163417" xml-lang="en-US" l10n="U" oldref="182">
+<emph>ArrayX</emph> represents the first array whose elements are to be squared and added.</paragraph>
+<paragraph role="paragraph" id="par_id3163437" xml-lang="en-US" l10n="U" oldref="183">
+<emph>ArrayY</emph> represents the second array, whose elements are to be squared and added.</paragraph>
+<paragraph role="paragraph" id="par_idN11E45" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section3">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163527"><bookmark_value>SUMXMY2 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEXMY2" id="bm_id3163539" localize="false"/>
+<paragraph role="heading" id="hd_id3163527" xml-lang="en-US" level="2" l10n="U" oldref="187">SUMXMY2</paragraph>
+<paragraph role="paragraph" id="par_id3163556" xml-lang="en-US" l10n="U" oldref="188"><ahelp hid="HID_FUNC_SUMMEXMY2">Adds the squares of the variance between corresponding values in two arrays.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3163574" xml-lang="en-US" level="3" l10n="U" oldref="189">Syntax</paragraph>
+<paragraph role="code" id="par_id3163588" xml-lang="en-US" l10n="U" oldref="190">SUMXMY2(ArrayX; ArrayY)</paragraph>
+<paragraph role="paragraph" id="par_id3163601" xml-lang="en-US" l10n="U" oldref="191">
+<emph>ArrayX</emph> represents the first array whose elements are to be subtracted and squared.</paragraph>
+<paragraph role="paragraph" id="par_id3163621" xml-lang="en-US" l10n="U" oldref="192">
+<emph>ArrayY</emph> represents the second array, whose elements are to be subtracted and squared.</paragraph>
+<paragraph role="paragraph" id="par_idN11F1F" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+</section>
+<section id="Section2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3166062"><bookmark_value>TREND function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TREND" id="bm_id3166074" localize="false"/>
+<paragraph role="heading" id="hd_id3166062" xml-lang="en-US" level="2" l10n="U" oldref="196">TREND</paragraph>
+<paragraph role="paragraph" id="par_id3166091" xml-lang="en-US" l10n="U" oldref="197"><ahelp hid="HID_FUNC_TREND">Returns values along a linear trend.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3166109" xml-lang="en-US" level="3" l10n="U" oldref="198">Syntax</paragraph>
+<paragraph role="code" id="par_id3166122" xml-lang="en-US" l10n="U" oldref="199">TREND(DataY; DataX; NewDataX; LinearType)</paragraph>
+<paragraph role="paragraph" id="par_id3166137" xml-lang="en-US" l10n="U" oldref="200">
+<emph>DataY</emph> represents the Y Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3166156" xml-lang="en-US" l10n="U" oldref="201">
+<emph>DataX</emph> (optional) represents the X Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3166176" xml-lang="en-US" l10n="U" oldref="202">
+<emph>NewDataX</emph> (optional) represents the array of the X data, which are used for recalculating values.</paragraph>
+<paragraph role="paragraph" id="par_id3166196" xml-lang="en-US" l10n="U" oldref="203">
+<emph>LinearType</emph>(Optional). If LinearType = 0, then lines will be calculated through the zero point. Otherwise, offset lines will also be calculated. The default is LinearType &lt;&gt; 0.</paragraph>
+<paragraph role="paragraph" id="par_idN11D2F" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN12019" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3166231" xml-lang="en-US" level="3" l10n="U" oldref="204">Example</paragraph>
+<paragraph role="paragraph" id="par_id3166245" xml-lang="en-US" l10n="U" oldref="205">Select a spreadsheet range in which the trend data will appear. Select the function. Enter the output data or select it with the mouse. Mark the <emph>Array</emph> field. click <emph>OK</emph>. The trend data calculated from the output data is displayed.</paragraph>
+</section>
+<section id="Section1">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3166317"><bookmark_value>GROWTH function</bookmark_value>
+<bookmark_value>exponential trends in arrays</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VARIATION" id="bm_id3166329" localize="false"/>
+<paragraph role="heading" id="hd_id3166317" xml-lang="en-US" level="2" l10n="U" oldref="207">GROWTH</paragraph>
+<paragraph role="paragraph" id="par_id3166346" xml-lang="en-US" l10n="U" oldref="208"><ahelp hid="HID_FUNC_VARIATION">Calculates the points of an exponential trend in an array.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3166364" xml-lang="en-US" level="3" l10n="U" oldref="209">Syntax</paragraph>
+<paragraph role="code" id="par_id3166377" xml-lang="en-US" l10n="CHG" oldref="210">GROWTH(DataY; DataX; NewDataX; FunctionType)</paragraph>
+<paragraph role="paragraph" id="par_id3166392" xml-lang="en-US" l10n="U" oldref="211">
+<emph>DataY</emph> represents the Y Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3166411" xml-lang="en-US" l10n="U" oldref="212">
+<emph>DataX</emph> (optional) represents the X Data array.</paragraph>
+<paragraph role="paragraph" id="par_id3173797" xml-lang="en-US" l10n="U" oldref="213">
+<emph>NewDataX</emph> (optional) represents the X data array, in which the values are recalculated.</paragraph>
+<paragraph role="paragraph" id="par_id3173817" xml-lang="en-US" l10n="U" oldref="214">
+<emph>FunctionType</emph>(optional). If FunctionType = 0, functions in the form y = m^x will be calculated. Otherwise, y = b*m^x functions will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_idN11DFD" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="paragraph" id="par_idN12113" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#moreontop"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3173839" xml-lang="en-US" level="3" l10n="U" oldref="215">Example</paragraph>
+<paragraph role="paragraph" id="par_id3173852" xml-lang="en-US" l10n="U" oldref="216">This function returns an array and is handled in the same way as the other array functions. Select a range where you want the answers to appear and select the function. Select DataY. Enter any other parameters, mark <emph>Array</emph> and click <emph>OK</emph>.</paragraph>
+</section>
+</sort>
+<section id="relatedtopics">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060108.xhp b/source/text/scalc/01/04060108.xhp
new file mode 100644
index 0000000000..b7fe1f036e
--- /dev/null
+++ b/source/text/scalc/01/04060108.xhp
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060108xml" indexer="include">
+<title id="tit" xml-lang="en-US">Statistics Functions</title>
+<filename>/text/scalc/01/04060108.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153018"><bookmark_value>statistics functions</bookmark_value>
+<bookmark_value>Function Wizard; statistics</bookmark_value>
+<bookmark_value>functions; statistics functions</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153018" xml-lang="en-US" level="1" l10n="U" oldref="1">Statistics Functions</paragraph>
+<paragraph role="paragraph" id="par_id3157874" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="statistiktext">This category contains the <emph>Statistics</emph> functions.
+</variable></paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eikasta"/>
+</section>
+<paragraph role="paragraph" id="par_id3149001" xml-lang="en-US" l10n="U" oldref="9">Some of the examples use the following data table:</paragraph>
+<table id="tbl_id3156066">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id3148775" xml-lang="en-US" l10n="U" oldref="10">C</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablehead" id="par_id3145297" xml-lang="en-US" l10n="U" oldref="11">D</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150661" xml-lang="en-US" l10n="U" oldref="12">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153551" xml-lang="en-US" l10n="U" oldref="13">x value</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3147536" xml-lang="en-US" l10n="U" oldref="14">y value</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153224" xml-lang="en-US" l10n="U" oldref="15">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150475" xml-lang="en-US" l10n="U" oldref="16">-5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3155367" xml-lang="en-US" l10n="U" oldref="17">-3</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149783" xml-lang="en-US" l10n="U" oldref="18">4</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153181" xml-lang="en-US" l10n="U" oldref="19">-2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3148429" xml-lang="en-US" l10n="U" oldref="20">0</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3152588" xml-lang="en-US" l10n="U" oldref="21">5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3147483" xml-lang="en-US" l10n="U" oldref="22">-1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3083443" xml-lang="en-US" l10n="U" oldref="23">1</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149826" xml-lang="en-US" l10n="U" oldref="24">6</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3163820" xml-lang="en-US" l10n="U" oldref="25">0</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3154816" xml-lang="en-US" l10n="U" oldref="26">3</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149276" xml-lang="en-US" l10n="U" oldref="27">7</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3149267" xml-lang="en-US" l10n="U" oldref="28">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156310" xml-lang="en-US" l10n="U" oldref="29">4</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3154639" xml-lang="en-US" l10n="U" oldref="30">8</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3145205" xml-lang="en-US" l10n="U" oldref="31">4</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3153276" xml-lang="en-US" l10n="U" oldref="32">6</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3150756" xml-lang="en-US" l10n="U" oldref="33">9</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3156095" xml-lang="en-US" l10n="U" oldref="34">6</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="tablecontent" id="par_id3152929" xml-lang="en-US" l10n="U" oldref="35">8</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3156324" xml-lang="en-US" l10n="U" oldref="36">The statistical functions are described in the following subsections.</paragraph>
+<embed href="text/scalc/01/04060181.xhp#ae"/>
+<embed href="text/scalc/01/04060182.xhp#fh"/>
+<embed href="text/scalc/01/04060183.xhp#kl"/>
+<embed href="text/scalc/01/04060184.xhp#mq"/>
+<embed href="text/scalc/01/04060185.xhp#rz"/>
+<paragraph role="paragraph" id="par_id3150271" xml-lang="en-US" l10n="U" oldref="37"><link href="text/scalc/01/04060116.xhp" name="Statistical Functions in the Analysis-AddIn.">Statistical Functions in the Analysis-AddIn</link></paragraph>
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp
new file mode 100644
index 0000000000..853033cfde
--- /dev/null
+++ b/source/text/scalc/01/04060109.xhp
@@ -0,0 +1,627 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2011 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060109xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Spreadsheet Functions</title>
+ <filename>/text/scalc/01/04060109.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148522"><bookmark_value>spreadsheets; functions</bookmark_value>
+ <bookmark_value>Function Wizard; spreadsheets</bookmark_value>
+ <bookmark_value>functions; spreadsheets</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3148522" role="heading" level="1" l10n="U" oldref="1">Spreadsheet Functions</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144508" role="paragraph" l10n="U" oldref="2"><variable id="tabelletext">This section contains descriptions of the <emph>Spreadsheet</emph> functions together with an example.
+</variable></paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#efefft"/>
+ </section>
+<sort order="asc">
+<section id="Section1">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146968"><bookmark_value>ADDRESS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ADRESSE" id="bm_id3147546" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3146968" role="heading" level="2" l10n="U" oldref="3">ADDRESS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155762" role="paragraph" l10n="CHG" oldref="4"><ahelp hid="HID_FUNC_ADRESSE">Returns a cell address (reference) as text, according to the specified row and column numbers.</ahelp> You can determine whether the address is interpreted as an absolute address (for example, $A$1) or as a relative address (as A1) or in a mixed form (A$1 or $A1). You can also specify the name of the sheet.</paragraph>
+ <section id="r1c1">
+ <paragraph xml-lang="en-US" id="par_id1027200802301348" role="paragraph" l10n="NEW">For interoperability the ADDRESS and INDIRECT functions support an optional parameter to specify whether the R1C1 address notation instead of the usual A1 notation should be used.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802301445" role="paragraph" l10n="NEW">In ADDRESS, the parameter is inserted as the fourth parameter, shifting the optional sheet name parameter to the fifth position.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id102720080230153" role="paragraph" l10n="NEW">In INDIRECT, the parameter is appended as the second parameter.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id102720080230151" role="paragraph" l10n="NEW">In both functions, if the argument is inserted with the value 0, then the R1C1 notation is used. If the argument is not given or has a value other than 0, then the A1 notation is used. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802301556" role="paragraph" l10n="NEW">In case of R1C1 notation, ADDRESS returns address strings using the exclamation mark '!' as the sheet name separator, and INDIRECT expects the exclamation mark as sheet name separator. Both functions still use the dot '.' sheet name separator with A1 notation.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802301521" role="paragraph" l10n="NEW">When opening documents from ODF 1.0/1.1 format, the ADDRESS functions that show a sheet name as the fourth paramater will shift that sheet name to become the fifth parameter. A new fourth parameter with the value 1 will be inserted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802301650" role="paragraph" l10n="NEW">When storing a document in ODF 1.0/1.1 format, if ADDRESS functions have a fourth parameter, that parameter will be removed.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id102720080230162" role="note" l10n="NEW">Do not save a spreadsheet in the old ODF 1.0/1.1 format if the ADDRESS function's new fourth parameter was used with a value of 0.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802301756" role="note" l10n="NEW">The INDIRECT function is saved without conversion to ODF 1.0/1.1 format. If the second parameter was present, an older version of Calc will return an error for that function.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" id="hd_id3151196" role="heading" level="3" l10n="U" oldref="5">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154707" role="code" l10n="U" oldref="6">ADDRESS(Row; Column; Abs; A1; "Sheet")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147505" role="paragraph" l10n="U" oldref="7">
+ <emph>Row</emph> represents the row number for the cell reference</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145323" role="paragraph" l10n="U" oldref="8">
+ <emph>Column</emph> represents the column number for the cell reference (the number, not the letter)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153074" role="paragraph" l10n="U" oldref="9">
+ <emph>Abs</emph> determines the type of reference:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153298" role="paragraph" l10n="CHG" oldref="10">1: absolute ($A$1)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150431" role="paragraph" l10n="U" oldref="11">2: row reference type is absolute; column reference is relative (A$1)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146096" role="paragraph" l10n="U" oldref="12">3: row (relative); column (absolute) ($A1)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153334" role="paragraph" l10n="U" oldref="13">4: relative (A1)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802465915" role="paragraph" l10n="NEW">
+ <emph>A1</emph> (optional) - if set to 0, the R1C1 notation is used. If this parameter is absent or set to another value than 0, the A1 notation is used.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153962" role="paragraph" l10n="U" oldref="14">
+ <emph>Sheet</emph> represents the name of the sheet. It must be placed in double quotes.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147299" role="heading" level="3" l10n="U"
+ oldref="15">Example:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148744" role="paragraph" l10n="CHG" oldref="16">
+ <item type="input">=ADDRESS(1;1;2;;"Sheet2")</item> returns the following: Sheet2.A$1<comment>i 101187</comment></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159260" role="paragraph" l10n="U" oldref="17">If the cell A1 in sheet 2 contains the value <item type="input">-6</item>, you can refer indirectly to the referenced cell using a function in B2 by entering <item type="input">=ABS(INDIRECT(B2))</item>. The result is the absolute value of the cell reference specified in B2, which in this case is 6.</paragraph>
+ </section>
+ <section id="Section2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150372"><bookmark_value>AREAS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BEREICHE" id="bm_id3149721" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150372" role="heading" level="2" l10n="U"
+ oldref="19">AREAS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150036" role="paragraph" l10n="U" oldref="20"><ahelp hid="HID_FUNC_BEREICHE">Returns the number of individual ranges that belong to a multiple range.</ahelp> A range can consist of contiguous cells or a single cell.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id061020090307073" role="paragraph" l10n="NEW">The function expects a single argument. If you state multiple ranges, you must enclose them into additional parentheses. Multiple ranges can be entered using the semicolon (;) as divider, but this gets automatically converted to the tilde (~) operator. The tilde is used to join ranges.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145222" role="heading" level="3" l10n="U"
+ oldref="21">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155907" role="code" l10n="U" oldref="22">AREAS(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153118" role="paragraph" l10n="U" oldref="23">Reference represents the reference to a cell or cell range.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148891" role="heading" level="3" l10n="U"
+ oldref="24">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149946" role="paragraph" l10n="U" oldref="25">
+ <item type="input">=AREAS((A1:B3;F2;G1))</item> returns 3, as it is a reference to three cells and/or areas. After entry this gets converted to =AREAS((A1:B3~F2~G1)).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146820" role="paragraph" l10n="U" oldref="26">
+ <item type="input">=AREAS(All)</item> returns 1 if you have defined an area named All under <emph>Data - Define Range</emph>.</paragraph>
+ </section>
+ <section id="Section3">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148727"><bookmark_value>DDE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DDE" id="bm_id3154680" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148727" role="heading" level="2" l10n="U"
+ oldref="28">DDE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149434" role="paragraph" l10n="U" oldref="29"><ahelp hid="HID_FUNC_DDE">Returns the result of a DDE-based link.</ahelp> If the contents of the linked range or section changes, the returned value will also change. You must reload the spreadsheet or choose <emph>Edit - Links</emph> to see the updated links. Cross-platform links, for example from a <item type="productname">%PRODUCTNAME</item> installation running on a Windows machine to a document created on a Linux machine, are not allowed.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150700" role="heading" level="3" l10n="U"
+ oldref="30">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148886" role="code" l10n="U" oldref="31">DDE("Server"; "File"; "Range"; Mode)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154842" role="paragraph" l10n="U" oldref="32">
+ <emph>Server</emph> is the name of a server application. <item type="productname">%PRODUCTNAME</item>applications have the server name "Soffice".</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153034" role="paragraph" l10n="U" oldref="33">
+ <emph>File</emph> is the complete file name, including path specification.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147472" role="paragraph" l10n="U" oldref="34">
+ <emph>Range</emph> is the area containing the data to be evaluated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152773" role="paragraph" l10n="U" oldref="184">
+ <emph>Mode</emph> is an optional parameter that controls the method by which the DDE server converts its data into numbers.</paragraph>
+ <table id="tbl_id3155828">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154383" role="paragraph" l10n="U" oldref="185">
+ <emph>Mode</emph>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145146" role="paragraph" l10n="U" oldref="186">
+ <emph>Effect</emph>
+ </paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154558" role="paragraph" l10n="U" oldref="187">0 or missing</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145596" role="paragraph" l10n="U" oldref="188">Number format from the "Default" cell style</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152785" role="paragraph" l10n="U" oldref="189">1</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154380" role="paragraph" l10n="U" oldref="190">Data are always interpreted in the standard format for US English</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150279" role="paragraph" l10n="U" oldref="191">2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153775" role="paragraph" l10n="U" oldref="192">Data are retrieved as text; no conversion to numbers</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="hd_id3149546" role="heading" level="3" l10n="U"
+ oldref="35">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148734" role="paragraph" l10n="U" oldref="36">
+ <item type="input">=DDE("soffice";"c:\office\document\data1.sxc";"sheet1.A1")</item> reads the contents of cell A1 in sheet1 of the <item type="productname">%PRODUCTNAME</item> Calc spreadsheet data1.sxc.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153081" role="paragraph" l10n="U" oldref="37">
+ <item type="input">=DDE("soffice";"c:\office\document\motto.sxw";"Today's motto")</item> returns a motto in the cell containing this formula. First, you must enter a line in the motto.sxw document containing the motto text and define it as the first line of a section named <item type="literal">Today's Motto</item> (in <item type="productname">%PRODUCTNAME</item> Writer under <emph>Insert - Section</emph>). If the motto is modified (and saved) in the <item type="productname">%PRODUCTNAME</item> Writer document, the motto is updated in all <item type="productname">%PRODUCTNAME</item> Calc cells in which this DDE link is defined.</paragraph>
+ </section>
+ <section id="Section4">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153114"><bookmark_value>ERRORTYPE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FEHLERTYP" id="bm_id3153000" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153114" role="heading" level="2" l10n="U"
+ oldref="38">ERRORTYPE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148568" role="paragraph" l10n="U" oldref="39"><ahelp hid="HID_FUNC_FEHLERTYP">Returns the number corresponding to an <link href="text/scalc/05/02140000.xhp" name="error value">error value</link> occurring in a different cell.</ahelp> With the aid of this number, you can generate an error message text.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#wahr"/>
+ <paragraph xml-lang="en-US" id="par_id3149877" role="note" l10n="U" oldref="40">The Status Bar displays the predefined error code from <item type="productname">%PRODUCTNAME</item> if you click the cell containing the error.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154327" role="heading" level="3" l10n="U"
+ oldref="41">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151322" role="code" l10n="U" oldref="42">ERRORTYPE(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150132" role="paragraph" l10n="U" oldref="43">
+ <emph>Reference</emph> contains the address of the cell in which the error occurs.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145248" role="heading" level="3" l10n="U"
+ oldref="44">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146904" role="paragraph" l10n="U" oldref="45">If cell A1 displays Err:518, the function <item type="input">=ERRORTYPE(A1)</item> returns the number 518.</paragraph>
+ </section>
+ <section id="Section5">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151221"><bookmark_value>INDEX function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INDEX" id="bm_id3157989" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151221" role="heading" level="2" l10n="U"
+ oldref="47">INDEX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150268" role="paragraph" l10n="CHG" oldref="48"><ahelp hid="HID_FUNC_INDEX">INDEX returns a sub range, specified by row and column number, or an optional range index. Depending on context, INDEX returns a reference or content.</ahelp><comment>UFI: will change with i4904; see http://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i57108</comment><comment>changed by i83070</comment></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156063" role="heading" level="3" l10n="U"
+ oldref="49">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149007" role="code" l10n="U" oldref="50">INDEX(Reference; Row; Column; Range)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153260" role="paragraph" l10n="CHG" oldref="51">
+ <emph>Reference</emph> is a reference, entered either directly or by specifying a range name. If the reference consists of multiple ranges, you must enclose the reference or range name in parentheses.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145302" role="paragraph" l10n="CHG" oldref="52">
+ <emph>Row</emph> (optional) represents the row index of the reference range, for which to return a value. In case of zero (no specific row) all referenced rows are returned.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154628" role="paragraph" l10n="CHG" oldref="53">
+ <emph>Column</emph> (optional) represents the column index of the reference range, for which to return a value. In case of zero (no specific column) all referenced columns are returned.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155514" role="paragraph" l10n="U" oldref="54">
+ <emph>Range</emph> (optional) represents the index of the subrange if referring to a multiple range.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145264" role="heading" level="3" l10n="U"
+ oldref="55">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159112" role="paragraph" l10n="U" oldref="56">
+ <item type="input">=INDEX(Prices;4;1)</item> returns the value from row 4 and column 1 of the database range defined in <emph>Data - Define</emph> as <emph>Prices</emph>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150691" role="paragraph" l10n="U" oldref="57">
+ <item type="input">=INDEX(SumX;4;1)</item> returns the value from the range <emph>SumX</emph> in row 4 and column 1 as defined in <emph>Insert - Names - Define</emph>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4109012" role="paragraph" l10n="NEW">
+ <item type="input">=INDEX(A1:B6;1)</item> returns a reference to the first row of A1:B6.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9272133" role="paragraph" l10n="NEW">
+ <item type="input">=INDEX(A1:B6;0;1)</item> returns a reference to the first column of A1:B6.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158419" role="paragraph" l10n="U" oldref="58">
+ <item type="input">=INDEX((multi);4;1)</item> indicates the value contained in row 4 and column 1 of the (multiple) range, which you named under <emph>Insert - Names - Define</emph> as <emph>multi</emph>. The multiple range may consist of several rectangular ranges, each with a row 4 and column 1. If you now want to call the second block of this multiple range enter the number <item type="input">2</item> as the <emph>range</emph> parameter.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148595" role="paragraph" l10n="U" oldref="59">
+ <item type="input">=INDEX(A1:B6;1;1)</item> indicates the value in the upper-left of the A1:B6 range.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9960020" role="paragraph" l10n="NEW">
+ <item type="input">=INDEX((multi);0;0;2)</item> returns a reference to the second range of the multiple range.</paragraph>
+ </section>
+ <section id="Section6">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153181"><bookmark_value>INDIRECT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INDIREKT" id="bm_id3153922" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153181" role="heading" level="2" l10n="U"
+ oldref="62">INDIRECT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147169" role="paragraph" l10n="U" oldref="63"><ahelp hid="HID_FUNC_INDIREKT">Returns the <emph>reference</emph> specified by a text string.</ahelp> This function can also be used to return the area of a corresponding string.</paragraph>
+ <embed href="text/scalc/01/04060109.xhp#r1c1"/>
+ <paragraph xml-lang="en-US" id="hd_id3153717" role="heading" level="3" l10n="U"
+ oldref="64">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149824" role="code" l10n="U" oldref="65">INDIRECT(Ref; A1)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154317" role="paragraph" l10n="U" oldref="66">
+ <emph>Ref</emph> represents a reference to a cell or an area (in text form) for which to return the contents.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1027200802470312" role="paragraph" l10n="NEW">
+ <emph>A1</emph> (optional) - if set to 0, the R1C1 notation is used. If this parameter is absent or set to another value than 0, the A1 notation is used.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN10CAE" role="note" l10n="NEW">If you open an Excel spreadsheet that uses indirect addresses calculated from string functions, the sheet addresses will not be translated automatically. For example, the Excel address in INDIRECT("filename!sheetname"&amp;B1) is not converted into the Calc address in INDIRECT("filename.sheetname"&amp;B1).<comment>UFI: for #i34465#</comment></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150389" role="heading" level="3" l10n="U"
+ oldref="67">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150608" role="paragraph" l10n="U" oldref="68">
+ <item type="input">=INDIRECT(A1)</item> equals 100 if A1 contains C108 as a reference and cell C108 contains a value of <item type="input">100</item>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3083286" role="paragraph" l10n="CHG" oldref="181">
+ <item type="input">=SUM(INDIRECT("a1:" &amp; ADDRESS(1;3)))</item> totals the cells in the area of A1 up to the cell with the address defined by row 1 and column 3. This means that area A1:C1 is totaled.</paragraph>
+ </section>
+ <section id="Section7">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154818"><bookmark_value>COLUMN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SPALTE" id="bm_id3156378" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154818" role="heading" level="2" l10n="U"
+ oldref="70">COLUMN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149711" role="paragraph" l10n="U" oldref="193"><ahelp hid="HID_FUNC_SPALTE">Returns the column number of a cell reference.</ahelp> If the reference is a cell the column number of the cell is returned; if the parameter is a cell area, the corresponding column numbers are returned in a single-row <link href="text/scalc/01/04060107.xhp#wasmatrix" name="array">array</link> if the formula is entered <link href="text/scalc/01/04060107.xhp#somatrixformel" name="as an array formula">as an array formula</link>. If the COLUMN function with an area reference parameter is not used for an array formula, only the column number of the first cell within the area is determined.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149283" role="heading" level="3" l10n="U"
+ oldref="72">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149447" role="code" l10n="U" oldref="73">COLUMN(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156310" role="paragraph" l10n="U" oldref="74">
+ <emph>Reference</emph> is the reference to a cell or cell area whose first column number is to be found.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155837" role="paragraph" l10n="U" oldref="194">If no reference is entered, the column number of the cell in which the formula is entered is found. <item type="productname">%PRODUCTNAME</item> Calc automatically sets the reference to the current cell.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152932" role="heading" level="3" l10n="U"
+ oldref="75">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147571" role="paragraph" l10n="U" oldref="76">
+ <item type="input">=COLUMN(A1)</item> equals 1. Column A is the first column in the table.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147079" role="paragraph" l10n="U" oldref="77">
+ <item type="input">=COLUMN(C3:E3)</item> equals 3. Column C is the third column in the table.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146861" role="paragraph" l10n="U" oldref="195">
+ <item type="input">=COLUMN(D3:G10)</item> returns 4 because column D is the fourth column in the table and the COLUMN function is not used as an array formula. (In this case, the first value of the array is always used as the result.)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156320" role="paragraph" l10n="U" oldref="196">
+ <item type="input">{=COLUMN(B2:B7)}</item> and <item type="input">=COLUMN(B2:B7)</item> both return 2 because the reference only contains column B as the second column in the table. Because single-column areas have only one column number, it does not make a difference whether or not the formula is used as an array formula.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150872" role="paragraph" l10n="U" oldref="197">
+ <item type="input">=COLUMN()</item> returns 3 if the formula was entered in column C.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153277" role="paragraph" l10n="U" oldref="198">
+ <item type="input">{=COLUMN(Rabbit)}</item> returns the single-row array (3, 4) if "Rabbit" is the named area (C1:D3).</paragraph>
+ </section>
+ <section id="Section8">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154643"><bookmark_value>COLUMNS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SPALTEN" id="bm_id3156134" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154643" role="heading" level="2" l10n="U"
+ oldref="79">COLUMNS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151182" role="paragraph" l10n="U" oldref="80"><ahelp hid="HID_FUNC_SPALTEN">Returns the number of columns in the given reference.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149141" role="heading" level="3" l10n="U"
+ oldref="81">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154047" role="code" l10n="U" oldref="82">COLUMNS(Array)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154745" role="paragraph" l10n="U" oldref="83">
+ <emph>Array</emph> is the reference to a cell range whose total number of columns is to be found. The argument can also be a single cell.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153622" role="heading" level="3" l10n="U"
+ oldref="84">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149577" role="paragraph" l10n="U" oldref="200">
+ <item type="input">=COLUMNS(B5)</item> returns 1 because a cell only contains one column.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145649" role="paragraph" l10n="U" oldref="85">
+ <item type="input">=COLUMNS(A1:C5)</item> equals 3. The reference comprises three columns.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155846" role="paragraph" l10n="U" oldref="201">
+ <item type="input">=COLUMNS(Rabbit)</item> returns 2 if <item type="literal">Rabbit</item> is the named range (C1:D3).</paragraph>
+ </section>
+ <section id="Section9">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153152"><bookmark_value>vertical search function</bookmark_value>
+ <bookmark_value>VLOOKUP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SVERWEIS" id="bm_id3152809" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153152" role="heading" level="2" l10n="U"
+ oldref="87">VLOOKUP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149984" role="paragraph" l10n="CHG" oldref="88"><ahelp hid="HID_FUNC_SVERWEIS">Vertical search with reference to adjacent cells to the right.</ahelp> This function checks if a specific value is contained in the first column of an array. The function then returns the value in the same row of the column named by <item type="literal">Index</item>. If the <item type="literal">SortOrder</item> parameter is omitted or set to TRUE or one, it is assumed that the data is sorted in ascending order. In this case, if the exact <item type="literal">SearchCriterion</item> is not found, the last value that is smaller than the criterion will be returned. If <item type="literal">SortOrder</item> is set to FALSE or zero, an exact match must be found, otherwise the error <emph>Error: Value Not Available</emph> will be the result. Thus with a value of zero the data does not need to be sorted in ascending order.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3146898" role="heading" level="3" l10n="U"
+ oldref="89">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150156" role="code" l10n="U" oldref="90">=VLOOKUP(SearchCriterion; Array; Index; SortOrder)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149289" role="paragraph" l10n="U" oldref="91">
+ <emph>SearchCriterion</emph> is the value searched for in the first column of the array.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153884" role="paragraph" l10n="U" oldref="92">
+ <emph>Array</emph> is the reference, which is to comprise at least two columns.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156005" role="paragraph" l10n="U" oldref="93">
+ <emph>Index</emph> is the number of the column in the array that contains the value to be returned. The first column has the number 1.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151208" role="paragraph" l10n="U" oldref="94">
+ <emph>SortOrder</emph> is an optional parameter that indicates whether the first column in the array is sorted in ascending order. Enter the Boolean value FALSE or zero if the first column is not sorted in ascending order. Sorted columns can be searched much faster and the function always returns a value, even if the search value was not matched exactly, if it is between the lowest and highest value of the sorted list. In unsorted lists, the search value must be matched exactly. Otherwise the function will return this message: <emph>Error: Value Not Available</emph>.</paragraph>
+ <embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
+ <paragraph xml-lang="en-US" id="hd_id3147487" role="heading" level="3" l10n="U"
+ oldref="95">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154129" role="paragraph" l10n="U" oldref="96">You want to enter the number of a dish on the menu in cell A1, and the name of the dish is to appear as text in the neighboring cell (B1) immediately. The Number to Name assignment is contained in the D1:E100 array. D1 contains <item type="input">100</item>, E1 contains the name <item type="input">Vegetable Soup</item>, and so forth, for 100 menu items. The numbers in column D are sorted in ascending order; thus, the optional <item type="literal">SortOrder</item> parameter is not necessary.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145663" role="paragraph" l10n="U" oldref="97">Enter the following formula in B1:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151172" role="paragraph" l10n="U" oldref="98">
+ <item type="input">=VLOOKUP(A1;D1:E100;2)</item>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149200" role="paragraph" l10n="U" oldref="99">As soon as you enter a number in A1 B1 will show the corresponding text contained in the second column of reference D1:E100. Entering a nonexistent number displays the text with the next number down. To prevent this, enter FALSE as the last parameter in the formula so that an error message is generated when a nonexistent number is entered.</paragraph>
+ </section>
+ <section id="Section10">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153905"><bookmark_value>sheet numbers; looking up</bookmark_value>
+ <bookmark_value>SHEET function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TABELLE" id="bm_id3154693" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153905" role="heading" level="2" l10n="U"
+ oldref="215">SHEET</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150309" role="paragraph" l10n="U" oldref="216"><ahelp hid="HID_FUNC_TABELLE">Returns the sheet number of a reference or a string representing a sheet name.</ahelp> If you do not enter any parameters, the result is the sheet number of the spreadsheet containing the formula.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148564" role="heading" level="3" l10n="U"
+ oldref="217">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153095" role="code" l10n="U" oldref="218">SHEET(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154588" role="paragraph" l10n="U" oldref="219">
+ <emph>Reference</emph> is optional and is the reference to a cell, an area, or a sheet name string.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155399" role="heading" level="3" l10n="U"
+ oldref="220">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146988" role="paragraph" l10n="U" oldref="221">
+ <item type="input">=SHEET(Sheet2.A1)</item> returns 2 if Sheet2 is the second sheet in the spreadsheet document.</paragraph>
+ </section>
+ <section id="Section11">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148829"><bookmark_value>number of sheets; function</bookmark_value>
+ <bookmark_value>SHEETS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TABELLEN" id="bm_id3150524" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148829" role="heading" level="2" l10n="U"
+ oldref="222">SHEETS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148820" role="paragraph" l10n="U" oldref="223"><ahelp hid="HID_FUNC_TABELLEN">Determines the number of sheets in a reference.</ahelp> If you do not enter any parameters, it returns the number of sheets in the current document.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154220" role="heading" level="3" l10n="U"
+ oldref="224">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150777" role="code" l10n="U" oldref="225">SHEETS(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153060" role="paragraph" l10n="U" oldref="226">
+ <emph>Reference</emph> is the reference to a sheet or an area. This parameter is optional.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149766" role="heading" level="3" l10n="U"
+ oldref="227">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150507" role="paragraph" l10n="U" oldref="228">
+ <item type="input">=SHEETS(Sheet1.A1:Sheet3.G12)</item> returns 3 if Sheet1, Sheet2, and Sheet3 exist in the sequence indicated.</paragraph>
+ </section>
+ <section id="Section12">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158407"><bookmark_value>MATCH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERGLEICH" id="bm_id3154210" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3158407" role="heading" level="2" l10n="U"
+ oldref="101">MATCH</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154896" role="paragraph" l10n="U" oldref="102"><ahelp hid="HID_FUNC_VERGLEICH">Returns the relative position of an item in an array that matches a specified value.</ahelp> The function returns the position of the value found in the lookup_array as a number.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153834" role="heading" level="3" l10n="U"
+ oldref="103">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159152" role="code" l10n="U" oldref="104">MATCH(SearchCriterion; LookupArray; Type)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149336" role="paragraph" l10n="U" oldref="105">
+ <emph>SearchCriterion</emph> is the value which is to be searched for in the single-row or single-column array.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159167" role="paragraph" l10n="U" oldref="106">
+ <emph>LookupArray</emph> is the reference searched. A lookup array can be a single row or column, or part of a single row or column.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147239" role="paragraph" l10n="U" oldref="107">
+ <emph>Type</emph> may take the values 1, 0, or -1. If Type = 1 or if this optional parameter is missing, it is assumed that the first column of the search array is sorted in ascending order. If Type = -1 it is assumed that the column in sorted in descending order. This corresponds to the same function in Microsoft Excel.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154265" role="paragraph" l10n="CHG" oldref="231">If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the index of the first matching value. Only if Type = 0 can you search for regular expressions.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147528" role="paragraph" l10n="CHG" oldref="232">If Type = 1 or the third parameter is missing, the index of the last value that is smaller or equal to the search criterion is returned. This applies even when the search array is not sorted. For Type = -1, the first value that is larger or equal is returned.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3155119" role="heading" level="3" l10n="U"
+ oldref="108">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155343" role="paragraph" l10n="U" oldref="109">
+ <item type="input">=MATCH(200;D1:D100)</item> searches the area D1:D100, which is sorted by column D, for the value 200. As soon as this value is reached, the number of the row in which it was found is returned. If a higher value is found during the search in the column, the number of the previous row is returned.</paragraph>
+ </section>
+ <section id="Section13">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3158430"><bookmark_value>OFFSET function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERSCHIEBUNG" id="bm_id3148926" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3158430" role="heading" level="2" l10n="U"
+ oldref="111">OFFSET</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149167" role="paragraph" l10n="U" oldref="112"><ahelp hid="HID_FUNC_VERSCHIEBUNG">Returns the value of a cell offset by a certain number of rows and columns from a given reference point.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146952" role="heading" level="3" l10n="U"
+ oldref="113">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159194" role="code" l10n="U" oldref="114">OFFSET(Reference; Rows; Columns; Height; Width)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152360" role="paragraph" l10n="CHG" oldref="115">
+ <emph>Reference</emph> is the reference from which the function searches for the new reference.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156032" role="paragraph" l10n="CHG" oldref="116">
+ <emph>Rows</emph> is the number of rows by which the reference was corrected up (negative value) or down.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166458" role="paragraph" l10n="CHG" oldref="117">
+ <emph>Columns</emph> (optional) is the number of columns by which the reference was corrected to the left (negative value) or to the right.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150708" role="paragraph" l10n="CHG" oldref="118">
+ <emph>Height</emph> (optional) is the vertical height for an area that starts at the new reference position.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147278" role="paragraph" l10n="CHG" oldref="119">
+ <emph>Width</emph> (optional) is the horizontal width for an area that starts at the new reference position.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8662373" role="paragraph" l10n="CHG">Arguments <emph>Rows</emph> and <emph>Columns</emph> must not lead to zero or negative start row or column.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9051484" role="paragraph" l10n="NEW">Arguments <emph>Height</emph> and <emph>Width</emph> must not lead to zero or negative count of rows or columns.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN1104B" role="paragraph" l10n="NEW">
+ <embedvar href="text/scalc/00/00000004.xhp#optional"/>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155586" role="heading" level="3" l10n="U"
+ oldref="120">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149744" role="paragraph" l10n="CHG" oldref="121">
+ <item type="input">=OFFSET(A1;2;2)</item> returns the value in cell C3 (A1 moved by two rows and two columns down). If C3 contains the value <item type="input">100</item> this function returns the value 100.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7439802" role="paragraph" l10n="NEW">
+ <item type="input">=OFFSET(B2:C3;1;1)</item> returns a reference to B2:C3 moved down by 1 row and one column to the right (C3:D4).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3009430" role="paragraph" l10n="NEW">
+ <item type="input">=OFFSET(B2:C3;-1;-1)</item> returns a reference to B2:C3 moved up by 1 row and one column to the left (A1:B2).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2629169" role="paragraph" l10n="NEW">
+ <item type="input">=OFFSET(B2:C3;0;0;3;4)</item> returns a reference to B2:C3 resized to 3 rows and 4 columns (B2:E4).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id6668599" role="paragraph" l10n="NEW">
+ <item type="input">=OFFSET(B2:C3;1;0;3;4)</item> returns a reference to B2:C3 moved down by one row resized to 3 rows and 4 columns (B2:E4).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153739" role="paragraph" l10n="U" oldref="122">
+ <item type="input">=SUM(OFFSET(A1;2;2;5;6))</item> determines the total of the area that starts in cell C3 and has a height of 5 rows and a width of 6 columns (area=C3:H7).</paragraph>
+ </section>
+ <section id="Section14">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159273"><bookmark_value>LOOKUP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERWEIS" id="bm_id3152877" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159273" role="heading" level="2" l10n="U"
+ oldref="123">LOOKUP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153389" role="paragraph" l10n="CHG" oldref="124"><ahelp hid="HID_FUNC_VERWEIS">Returns the contents of a cell either from a one-row or one-column range.</ahelp> Optionally, the assigned value (of the same index) is returned in a different column and row. As opposed to <link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link> and <link href="text/scalc/01/04060109.xhp" name="HLOOKUP">HLOOKUP</link>, search and result vector may be at different positions; they do not have to be adjacent. Additionally, the search vector for the LOOKUP must be sorted ascending, otherwise the search will not return any usable results.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4484084" role="note" l10n="NEW">If LOOKUP cannot find the search criterion, it matches the largest value in the search vector that is less than or equal to the search criterion.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3152947" role="heading" level="3" l10n="U"
+ oldref="125">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154104" role="code" l10n="U" oldref="126">LOOKUP(SearchCriterion; SearchVector; ResultVector)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150646" role="paragraph" l10n="U" oldref="127">
+ <emph>SearchCriterion</emph> is the value to be searched for; entered either directly or as a reference.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154854" role="paragraph" l10n="U" oldref="128">
+ <emph>SearchVector</emph> is the single-row or single-column area to be searched.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149925" role="paragraph" l10n="U" oldref="129">
+ <emph>ResultVector</emph> is another single-row or single-column range from which the result of the function is taken. The result is the cell of the result vector with the same index as the instance found in the search vector.</paragraph>
+ <embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
+ <paragraph xml-lang="en-US" id="hd_id3148624" role="heading" level="3" l10n="U"
+ oldref="130">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149809" role="paragraph" l10n="U" oldref="131">
+ <item type="input">=LOOKUP(A1;D1:D100;F1:F100)</item> searches the corresponding cell in range D1:D100 for the number you entered in A1. For the instance found, the index is determined, for example, the 12th cell in this range. Then, the contents of the 12th cell are returned as the value of the function (in the result vector).</paragraph>
+ </section>
+ <section id="Section15">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149425"><bookmark_value>STYLE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VORLAGE" id="bm_id3154342" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149425" role="heading" level="2" l10n="U"
+ oldref="133">STYLE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150826" role="paragraph" l10n="U" oldref="134"><ahelp hid="HID_FUNC_VORLAGE">Applies a style to the cell containing the formula.</ahelp> After a set amount of time, another style can be applied. This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a color to a cell regardless of the value. For example: =...+STYLE(IF(CURRENT()&gt;3;"red";"green")) applies the style "red" to the cell if the value is greater than 3, otherwise the style "green" is applied. Both cell formats have to be defined beforehand.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145373" role="heading" level="3" l10n="U"
+ oldref="135">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149302" role="code" l10n="U" oldref="136">STYLE("Style"; Time; "Style2")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150596" role="paragraph" l10n="U" oldref="137">
+ <emph>Style</emph> is the name of a cell style assigned to the cell. Style names must be entered in quotation marks.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156149" role="paragraph" l10n="U" oldref="138">
+ <emph>Time</emph> is an optional time range in seconds. If this parameter is missing the style will not be changed after a certain amount of time has passed.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149520" role="paragraph" l10n="U" oldref="139">
+ <emph>Style2</emph> is the optional name of a cell style assigned to the cell after a certain amount of time has passed. If this parameter is missing "Default" is assumed.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN111CA" role="paragraph" l10n="NEW">
+ <embedvar href="text/scalc/00/00000004.xhp#optional"/>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159254" role="heading" level="3" l10n="U"
+ oldref="140">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151374" role="paragraph" l10n="U" oldref="141">
+ <item type="input">=STYLE("Invisible";60;"Default")</item> formats the cell in transparent format for 60 seconds after the document was recalculated or loaded, then the Default format is assigned. Both cell formats have to be defined beforehand.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8056886" role="paragraph" l10n="NEW">Since STYLE() has a numeric return value of zero, this return value gets appended to a string. This can be avoided using T() as in the following example </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3668935" role="paragraph" l10n="NEW">
+ <item type="input">="Text"&amp;T(STYLE("myStyle"))</item>
+ </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3042085" role="paragraph" l10n="NEW">See also CURRENT() for another example.</paragraph>
+ </section>
+ <section id="Section16">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150430"><bookmark_value>CHOOSE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WAHL" id="bm_id3153947" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150430" role="heading" level="2" l10n="U"
+ oldref="142">CHOOSE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143270" role="paragraph" l10n="U" oldref="143"><ahelp hid="HID_FUNC_WAHL">Uses an index to return a value from a list of up to 30 values.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153533" role="heading" level="3" l10n="U"
+ oldref="144">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155425" role="code" l10n="U" oldref="145">CHOOSE(Index; Value1; ...; Value30)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144755" role="paragraph" l10n="U" oldref="146">
+ <emph>Index</emph> is a reference or number between 1 and 30 indicating which value is to be taken from the list.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149939" role="paragraph" l10n="U" oldref="147">
+ <emph>Value1...Value30</emph> is the list of values entered as a reference to a cell or as individual values.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3151253" role="heading" level="3" l10n="U"
+ oldref="148">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150625" role="paragraph" l10n="U" oldref="149">
+ <item type="input">=CHOOSE(A1;B1;B2;B3;"Today";"Yesterday";"Tomorrow")</item>, for example, returns the contents of cell B2 for A1 = 2; for A1 = 4, the function returns the text "Today".</paragraph>
+ </section>
+ <section id="Section17">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151001"><bookmark_value>HLOOKUP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WVERWEIS" id="bm_id3149481" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151001" role="heading" level="2" l10n="U"
+ oldref="151">HLOOKUP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148688" role="paragraph" l10n="U" oldref="152"><ahelp hid="HID_FUNC_WVERWEIS">Searches for a value and reference to the cells below the selected area.</ahelp> This function verifies if the first row of an array contains a certain value. The function returns then the value in a row of the array, named in the <emph>Index</emph>, in the same column.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3154661" role="heading" level="3" l10n="U"
+ oldref="153">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146070" role="code" l10n="U" oldref="154">HLOOKUP(SearchCriteria; Array; Index; Sorted)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148672" role="paragraph" l10n="U" oldref="155">See also:<link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link> (columns and rows are exchanged)</paragraph>
+ <embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
+ </section>
+ <section id="Section18">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147321"><bookmark_value>ROW function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEILE" id="bm_id3147333" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147321" role="heading" level="2" l10n="U"
+ oldref="157">ROW</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154564" role="paragraph" l10n="U" oldref="203"><ahelp hid="HID_FUNC_ZEILE">Returns the row number of a cell reference.</ahelp> If the reference is a cell, it returns the row number of the cell. If the reference is a cell range, it returns the corresponding row numbers in a one-column <link href="text/scalc/01/04060107.xhp#wasmatrix" name="Array">Array</link> if the formula is entered <link href="text/scalc/01/04060107.xhp#somatrixformel" name="as an array formula">as an array formula</link>. If the ROW function with a range reference is not used in an array formula, only the row number of the first range cell will be returned.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3158439" role="heading" level="3" l10n="U"
+ oldref="159">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154916" role="code" l10n="U" oldref="160">ROW(Reference)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156336" role="paragraph" l10n="U" oldref="161">
+ <emph>Reference</emph> is a cell, an area, or the name of an area.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151109" role="paragraph" l10n="U" oldref="204">If you do not indicate a reference, the row number of the cell in which the formula is entered will be found. <item type="productname">%PRODUCTNAME</item> Calc automatically sets the reference to the current cell.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155609" role="heading" level="3" l10n="U"
+ oldref="162">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154830" role="paragraph" l10n="U" oldref="205">
+ <item type="input">=ROW(B3)</item> returns 3 because the reference refers to the third row in the table.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147094" role="paragraph" l10n="U" oldref="206">
+ <item type="input">{=ROW(D5:D8)}</item> returns the single-column array (5, 6, 7, 8) because the reference specified contains rows 5 through 8.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153701" role="paragraph" l10n="U" oldref="207">
+ <item type="input">=ROW(D5:D8)</item> returns 5 because the ROW function is not used as array formula and only the number of the first row of the reference is returned.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150996" role="paragraph" l10n="U" oldref="208">
+ <item type="input">{=ROW(A1:E1)}</item> and <item type="input">=ROW(A1:E1)</item> both return 1 because the reference only contains row 1 as the first row in the table. (Because single-row areas only have one row number it does not make any difference whether or not the formula is used as an array formula.)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153671" role="paragraph" l10n="U" oldref="209">
+ <item type="input">=ROW()</item> returns 3 if the formula was entered in row 3.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153790" role="paragraph" l10n="U" oldref="210">
+ <item type="input">{=ROW(Rabbit)}</item> returns the single-column array (1, 2, 3) if "Rabbit" is the named area (C1:D3).</paragraph>
+ </section>
+ <section id="Section19">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145772"><bookmark_value>ROWS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEILEN" id="bm_id3150667" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145772" role="heading" level="2" l10n="U"
+ oldref="166">ROWS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148971" role="paragraph" l10n="U" oldref="167"><ahelp hid="HID_FUNC_ZEILEN">Returns the number of rows in a reference or array.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156051" role="heading" level="3" l10n="U"
+ oldref="168">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154357" role="code" l10n="U" oldref="169">ROWS(Array)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155942" role="paragraph" l10n="U" oldref="170">
+ <emph>Array</emph> is the reference or named area whose total number of rows is to be determined.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155869" role="heading" level="3" l10n="U"
+ oldref="171">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154725" role="paragraph" l10n="U" oldref="212">
+ <item type="input">=Rows(B5)</item> returns 1 because a cell only contains one row.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150102" role="paragraph" l10n="U" oldref="172">
+ <item type="input">=ROWS(A10:B12)</item> returns 3.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155143" role="paragraph" l10n="U" oldref="213">
+ <item type="input">=ROWS(Rabbit)</item> returns 3 if "Rabbit" is the named area (C1:D3).</paragraph>
+ </section>
+ <section id="Section20">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HYPERLINK" id="bm_id8036439" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id9959410"><bookmark_value>HYPERLINK function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="par_idN11798" role="heading" level="2" l10n="NEW">HYPERLINK</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN117F1" role="paragraph" l10n="NEW"><ahelp hid="HID_FUNC_HYPERLINK">When you click a cell that contains the HYPERLINK function, the hyperlink opens.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11800" role="paragraph" l10n="NEW">If you use the optional <emph>CellText</emph> parameter, the formula locates the URL, and then displays the text or number.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11803" role="tip" l10n="NEW">To open a hyperlinked cell with the keyboard, select the cell, press F2 to enter the Edit mode, move the cursor in front of the hyperlink, press Shift+F10, and then choose <emph>Open Hyperlink</emph>.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN1180A" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN1180E" role="code" l10n="NEW">HYPERLINK("URL") or HYPERLINK("URL"; "CellText")</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11811" role="paragraph" l10n="CHG">
+ <emph>URL</emph> specifies the link target. The optional <emph>CellText</emph> parameter is the text or a number that is displayed in the cell and will be returned as the result. If the <emph>CellText</emph> parameter is not specified, the <emph>URL</emph> is displayed in the cell text and will be returned as the result.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200912224576" role="paragraph" l10n="NEW">The number 0 is returned for empty cells and matrix elements.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11823" role="heading" level="3" l10n="NEW">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11827" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK("http://www.example.org")</item> displays the text "http://www.example.org" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN1182A" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK("http://www.example.org";"Click here")</item> displays the text "Click here" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200912224534" role="paragraph" l10n="NEW">=HYPERLINK("http://www.example.org";12345) displays the number 12345 and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN1182D" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK($B4)</item> where cell B4 contains <item type="input">http://www.example.org</item>. The function adds http://www.example.org to the URL of the hyperlink cell and returns the same text which is used as formula result.</paragraph>
+ <paragraph xml-lang="en-US" id="par_idN11830" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK("http://www.";"Click ") &amp; "example.org"</item> displays the text Click example.org in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8859523" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK("#Sheet1.A1";"Go to top")</item> displays the text Go to top and jumps to cell Sheet1.A1 in this document.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2958769" role="paragraph" l10n="NEW">
+ <item type="input">=HYPERLINK("file:///C:/writer.odt#Specification";"Go to Writer bookmark")</item>displays the text Go to Writer bookmark, loads the specified text document and jumps to bookmark "Specification".</paragraph>
+ </section>
+ <section id="getpivotdata">
+<bookmark xml-lang="en-US" branch="index" id="bm_id7682424"><bookmark_value>GETPIVOTDATA function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GETPIVOTDATA" id="bm_id897854" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3747062" role="heading" level="2" l10n="NEW">GETPIVOTDATA</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3593859" role="paragraph" l10n="CHG"><ahelp hid=".">The GETPIVOTDATA function returns a result value from a pivot table. The value is addressed using field and item names, so it remains valid if the layout of the pivot table changes.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id9741508" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id909451" role="paragraph" l10n="NEW">Two different syntax definitions can be used:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1665089" role="code" l10n="CHG">GETPIVOTDATA(TargetField; pivot table; [ Field 1; Item 1; ... ])</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4997100" role="code" l10n="CHG">GETPIVOTDATA(pivot table; Constraints)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1672109" role="paragraph" l10n="NEW">The second syntax is assumed if exactly two parameters are given, of which the first parameter is a cell or cell range reference. The first syntax is assumed in all other cases. The Function Wizard shows the first syntax.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id9464094" role="heading" level="3" l10n="NEW">First Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9302346" role="paragraph" l10n="NEW">
+ <emph>TargetField</emph> is a string that selects one of the pivot table's data fields. The string can be the name of the source column, or the data field name as shown in the table (like "Sum - Sales").</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8296151" role="paragraph" l10n="NEW">
+ <emph>pivot table</emph> is a reference to a cell or cell range that is positioned within a pivot table or contains a pivot table. If the cell range contains several pivot tables, the table that was created last is used.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4809411" role="paragraph" l10n="NEW">If no <emph>Field n / Item n</emph> pairs are given, the grand total is returned. Otherwise, each pair adds a constraint that the result must satisfy. <emph>Field n</emph> is the name of a field from the pivot table. <emph>Item n</emph> is the name of an item from that field.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id6454969" role="paragraph" l10n="NEW">If the pivot table contains only a single result value that fulfills all of the constraints, or a subtotal result that summarizes all matching values, that result is returned. If there is no matching result, or several ones without a subtotal for them, an error is returned. These conditions apply to results that are included in the pivot table.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id79042" role="paragraph" l10n="NEW">If the source data contains entries that are hidden by settings of the pivot table, they are ignored. The order of the Field/Item pairs is not significant. Field and item names are not case-sensitive.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7928708" role="paragraph" l10n="CHG">If no constraint for a page field is given, the field's selected value is implicitly used. If a constraint for a page field is given, it must match the field's selected value, or an error is returned. Page fields are the fields at the top left of a pivot table, populated using the "Page Fields" area of the pivot table layout dialog. From each page field, an item (value) can be selected, which means only that item is included in the calculation.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3864253" role="paragraph" l10n="NEW">Subtotal values from the pivot table are only used if they use the function "auto" (except when specified in the constraint, see <item type="literal">Second Syntax</item> below).</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3144016" role="heading" level="3" l10n="NEW">Second Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9937131" role="paragraph" l10n="NEW">
+ <emph>pivot table</emph> has the same meaning as in the first syntax.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id5616626" role="paragraph" l10n="CHG">
+ <emph>Constraints</emph> is a space-separated list. Entries can be quoted (single quotes). The whole string must be enclosed in quotes (double quotes), unless you reference the string from another cell.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4076357" role="paragraph" l10n="NEW">One of the entries can be the data field name. The data field name can be left out if the pivot table contains only one data field, otherwise it must be present.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8231757" role="paragraph" l10n="CHG">Each of the other entries specifies a constraint in the form <item type="literal">Field[Item]</item> (with literal characters [ and ]), or only <item type="literal">Item</item> if the item name is unique within all fields that are used in the pivot table.<comment>i82342</comment></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3168736" role="paragraph" l10n="CHG">A function name can be added in the form <emph>Field[Item;Function]</emph>, which will cause the constraint to match only subtotal values which use that function. The possible function names are Sum, Count, Average, Max, Min, Product, Count (Numbers only), StDev (Sample), StDevP (Population), Var (Sample), and VarP (Population), case-insensitive.</paragraph><comment>UFI: Example from spec doc is quite difficult to localize. Try to find other one</comment>
+</section>
+</sort>
+<section id="relatedtopics">
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </section>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060110.xhp b/source/text/scalc/01/04060110.xhp
new file mode 100644
index 0000000000..b3ce97ceb8
--- /dev/null
+++ b/source/text/scalc/01/04060110.xhp
@@ -0,0 +1,664 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060110xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Text Functions</title>
+ <filename>/text/scalc/01/04060110.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145389"><bookmark_value>text in cells; functions</bookmark_value>
+ <bookmark_value>functions; text functions</bookmark_value>
+ <bookmark_value>Function Wizard;text</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3145389" role="heading" level="1" l10n="U" oldref="1">Text Functions</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152986" role="paragraph" l10n="CHG" oldref="2"><variable id="texttext">This section contains descriptions of the <emph>Text</emph> functions.
+</variable></paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#eikatext"/>
+ </section>
+<sort order="asc">
+<section id="arabic">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149384"><bookmark_value>ARABIC function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARABISCH" id="bm_id3145359" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149384" role="heading" level="2" l10n="U"
+ oldref="239">ARABIC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153558" role="paragraph" l10n="U" oldref="240"><ahelp hid="HID_FUNC_ARABISCH">Calculates the value of a Roman number. The value range must be between 0 and 3999.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153011" role="heading" level="3" l10n="U"
+ oldref="241">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155523" role="code" l10n="U" oldref="242">ARABIC("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151193" role="paragraph" l10n="U" oldref="243">
+ <emph>Text</emph> is the text that represents a Roman number.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155758" role="heading" level="3" l10n="U"
+ oldref="244">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154621" role="paragraph" l10n="U" oldref="245">
+ <item type="input">=ARABIC("MXIV")</item> returns 1014</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147553" role="paragraph" l10n="U" oldref="246">
+ <item type="input">=ARABIC("MMII")</item> returns 2002</paragraph>
+ </section>
+ <section id="asc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id8796349"><bookmark_value>ASC function</bookmark_value>
+</bookmark><comment>i79585</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ASC" id="bm_id3187353" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id7723929" role="heading" level="2" l10n="NEW">ASC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8455153" role="paragraph" l10n="NEW"><ahelp hid=".">The ASC function converts full-width to half-width ASCII and katakana characters. Returns a text string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id9912411" role="paragraph" l10n="NEW">See <link href="http://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions">http://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions</link> for a conversion table.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id9204992" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1993774" role="code" l10n="NEW">ASC("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2949919" role="paragraph" l10n="NEW">
+ <emph>Text</emph> is the text that contains characters to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2355113" role="paragraph" l10n="NEW">See also JIS function.</paragraph>
+ </section>
+ <section id="bahttext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id9323709"><bookmark_value>BAHTTEXT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BAHTTEXT" id="bm_id744346" localize="false"/><comment>i66350</comment>
+<paragraph xml-lang="en-US" id="hd_id6695455" role="heading" level="2" l10n="NEW">BAHTTEXT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id354014" role="paragraph" l10n="NEW">Converts a number to Thai text, including the Thai currency names.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id9942014" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id8780785" role="code" l10n="NEW">BAHTTEXT(Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id1539353" role="paragraph" l10n="NEW">
+ <emph>Number</emph> is any number. "Baht" is appended to the integral part of the number, and "Satang" is appended to the decimal part of the number.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id9694814" role="heading" level="3" l10n="NEW">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3289284" role="paragraph" l10n="NEW">
+ <item type="input">=BAHTTEXT(12.65)</item> returns a string in Thai characters with the meaning of "Twelve Baht and sixty five Satang".</paragraph>
+ </section>
+ <section id="base">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153072"><bookmark_value>BASE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BASIS" id="bm_id3150957" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153072" role="heading" level="2" l10n="U"
+ oldref="213">BASE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153289" role="paragraph" l10n="U" oldref="214"><ahelp hid="HID_FUNC_BASIS">Converts a positive integer to a specified base into a text from the <link href="text/shared/00/00000005.xhp#zahlensystem" name="numbering system">numbering system</link>.</ahelp> The digits 0-9 and the letters A-Z are used.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146097" role="heading" level="3" l10n="U"
+ oldref="215">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155743" role="code" l10n="U" oldref="216">BASE(Number; Radix; [MinimumLength])</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151339" role="paragraph" l10n="U" oldref="217">
+ <emph>Number</emph> is the positive integer to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159262" role="paragraph" l10n="U" oldref="218">
+ <emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148746" role="paragraph" l10n="U" oldref="219">
+ <emph>MinimumLength</emph> (optional) determines the minimum length of the character sequence that has been created. If the text is shorter than the indicated minimum length, zeros are added to the left of the string.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146323" role="heading" level="3" l10n="U"
+ oldref="220">Example</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156399"><bookmark_value>decimal system; converting to</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="par_id3156399" role="paragraph" l10n="U" oldref="221">
+ <item type="input">=BASE(17;10;4)</item> returns 0017 in the decimal system.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157871"><bookmark_value>binary system; converting to</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="par_id3157871" role="paragraph" l10n="U" oldref="222">
+ <item type="input">=BASE(17;2)</item> returns 10001 in the binary system.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145226"><bookmark_value>hexadecimal system; converting to</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="par_id3145226" role="paragraph" l10n="U" oldref="223">
+ <item type="input">=BASE(255;16;4)</item> returns 00FF in the hexadecimal system.</paragraph>
+ </section>
+ <section id="char">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149321"><bookmark_value>CHAR function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEICHEN" id="bm_id3159128" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149321" role="heading" level="2" l10n="U"
+ oldref="201">CHAR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149150" role="paragraph" l10n="U" oldref="202"><ahelp hid="HID_FUNC_ZEICHEN">Converts a number into a character according to the current code table.</ahelp> The number can be a two-digit or three-digit integer number.</paragraph>
+ <embed href="text/scalc/00/00000004.xhp#codes"/>
+ <paragraph xml-lang="en-US" id="hd_id3149945" role="heading" level="3" l10n="U"
+ oldref="203">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145634" role="code" l10n="U" oldref="204">CHAR(Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155906" role="paragraph" l10n="U" oldref="205">
+ <emph>Number</emph> is a number between 1 and 255 representing the code value for the character.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152982" role="heading" level="3" l10n="U"
+ oldref="207">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149890" role="paragraph" l10n="CHG" oldref="208">
+ <item type="input">=CHAR(100)</item> returns the character d.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200910283297" role="paragraph" l10n="NEW">="abc" &amp; CHAR(10) &amp; "def" inserts a newline character into the string.</paragraph>
+ </section>
+ <section id="clean">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149009"><bookmark_value>CLEAN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SAEUBERN" id="bm_id3148729" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149009" role="heading" level="2" l10n="U"
+ oldref="132">CLEAN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150482" role="paragraph" l10n="U" oldref="133"><ahelp hid="HID_FUNC_SAEUBERN">All non-printing characters are removed from the string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146880" role="heading" level="3" l10n="U"
+ oldref="134">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147472" role="code" l10n="U" oldref="135">CLEAN("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150695" role="paragraph" l10n="U" oldref="136">
+ <emph>Text</emph> refers to the text from which to remove all non-printable characters.</paragraph>
+ </section>
+ <section id="code">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155498"><bookmark_value>CODE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_CODE" id="bm_id3159084" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155498" role="heading" level="2" l10n="U" oldref="3">CODE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152770" role="paragraph" l10n="U" oldref="4"><ahelp hid="HID_FUNC_CODE">Returns a numeric code for the first character in a text string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155830" role="heading" level="3" l10n="U" oldref="5">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149188" role="code" l10n="U" oldref="6">CODE("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154383" role="paragraph" l10n="U" oldref="7">
+ <emph>Text</emph> is the text for which the code of the first character is to be found.</paragraph>
+ <embed href="text/scalc/00/00000004.xhp#codes"/>
+ <paragraph xml-lang="en-US" id="hd_id3154394" role="heading" level="3" l10n="U" oldref="8">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159209" role="paragraph" l10n="U" oldref="9">
+ <item type="input">=CODE("Hieronymus")</item> returns 72, <item type="input">=CODE("hieroglyphic")</item> returns 104.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150280" role="note" l10n="U" oldref="211">The code used here does not refer to ASCII, but to the code table currently loaded.</paragraph>
+ </section>
+ <section id="concatenate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149688"><bookmark_value>CONCATENATE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERKETTEN" id="bm_id3153084" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149688" role="heading" level="2" l10n="U"
+ oldref="167">CONCATENATE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154524" role="paragraph" l10n="U" oldref="168"><ahelp hid="HID_FUNC_VERKETTEN">Combines several text strings into one string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149542" role="heading" level="3" l10n="U"
+ oldref="169">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155954" role="code" l10n="U" oldref="170">CONCATENATE("Text1"; ...; "Text30")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146847" role="paragraph" l10n="U" oldref="171">
+ <emph>Text 1; Text 2; ...</emph> represent up to 30 text passages which are to be combined into one string.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153110" role="heading" level="3" l10n="U"
+ oldref="172">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150008" role="paragraph" l10n="U" oldref="173">
+ <item type="input">=CONCATENATE("Good ";"Morning ";"Mrs. ";"Doe")</item> returns: Good Morning Mrs. Doe.</paragraph>
+ </section>
+ <section id="decimal">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145166"><bookmark_value>DECIMAL function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DEZIMAL" id="bm_id3150338" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145166" role="heading" level="2" l10n="U"
+ oldref="225">DECIMAL</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156361" role="paragraph" l10n="U" oldref="226"><ahelp hid="HID_FUNC_DEZIMAL">Converts text with characters from a <link href="text/shared/00/00000005.xhp#zahlensystem" name="number system">number system</link> to a positive integer in the base radix given.</ahelp> The radix must be in the range 2 to 36. Spaces and tabs are ignored. The <emph>Text</emph> field is not case-sensitive.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157994" role="paragraph" l10n="U" oldref="227">If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, is disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the number system generate an error.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150014" role="heading" level="3" l10n="U"
+ oldref="228">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154328" role="code" l10n="U" oldref="229">DECIMAL("Text"; Radix)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150128" role="paragraph" l10n="U" oldref="230">
+ <emph>Text</emph> is the text to be converted. To differentiate between a hexadecimal number, such as A1 and the reference to cell A1, you must place the number in quotation marks, for example, "A1" or "FACE".</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145241" role="paragraph" l10n="U" oldref="231">
+ <emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156062" role="heading" level="3" l10n="U"
+ oldref="232">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145355" role="paragraph" l10n="U" oldref="233">
+ <item type="input">=DECIMAL("17";10)</item> returns 17.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155622" role="paragraph" l10n="U" oldref="234">
+ <item type="input">=DECIMAL("FACE";16)</item> returns 64206.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151015" role="paragraph" l10n="U" oldref="235">
+ <item type="input">=DECIMAL("0101";2)</item> returns 5.</paragraph>
+ </section>
+ <section id="dollar">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148402"><bookmark_value>DOLLAR function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DM" id="bm_id3149532" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148402" role="heading" level="2" l10n="U"
+ oldref="11">DOLLAR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153049" role="paragraph" l10n="U" oldref="12"><ahelp hid="HID_FUNC_DM">Converts a number to an amount in the currency format, rounded to a specified decimal place.</ahelp> In the <item type="literal">Value</item> field enter the number to be converted to currency. Optionally, you may enter the number of decimal places in the <item type="literal">Decimals</item> field. If no value is specified, all numbers in currency format will be displayed with two decimal places. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151280" role="paragraph" l10n="U" oldref="263">You set the currency format in your system settings.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150569" role="heading" level="3" l10n="U"
+ oldref="13">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154188" role="code" l10n="U" oldref="14">DOLLAR(Value; Decimals)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145299" role="paragraph" l10n="U" oldref="15">
+ <emph>Value</emph> is a number, a reference to a cell containing a number, or a formula which returns a number.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145629" role="paragraph" l10n="CHG" oldref="16">
+ <emph>Decimals</emph> is the optional number of decimal places.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149030" role="heading" level="3" l10n="U"
+ oldref="17">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153546" role="paragraph" l10n="U" oldref="18">
+ <item type="input">=DOLLAR(255)</item> returns $255.00.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154635" role="paragraph" l10n="U" oldref="19">
+ <item type="input">=DOLLAR(367.456;2)</item> returns $367.46. Use the decimal separator that corresponds to the <link href="text/shared/optionen/01140000.xhp" name="current locale setting">current locale setting</link>.</paragraph>
+ </section>
+ <section id="exact">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150685"><bookmark_value>EXACT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_IDENTISCH" id="bm_id3155081" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150685" role="heading" level="2" l10n="U"
+ oldref="78">EXACT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158413" role="paragraph" l10n="U" oldref="79"><ahelp hid="HID_FUNC_IDENTISCH">Compares two text strings and returns TRUE if they are identical.</ahelp> This function is case-sensitive.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152817" role="heading" level="3" l10n="U"
+ oldref="80">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148594" role="code" l10n="U" oldref="81">EXACT("Text1"; "Text2")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153224" role="paragraph" l10n="U" oldref="82">
+ <emph>Text1</emph> refers to the first text to compare.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148637" role="paragraph" l10n="U" oldref="83">
+ <emph>Text2</emph> is the second text to compare.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149777" role="heading" level="3" l10n="U"
+ oldref="84">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156263" role="paragraph" l10n="U" oldref="85">
+ <item type="input">=EXACT("microsystems";"Microsystems")</item> returns FALSE.</paragraph>
+ </section>
+ <section id="find">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152589"><bookmark_value>FIND function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FINDEN" id="bm_id3147482" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152589" role="heading" level="2" l10n="U"
+ oldref="44">FIND</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146149" role="paragraph" l10n="U" oldref="45"><ahelp hid="HID_FUNC_FINDEN">Looks for a string of text within another string.</ahelp> You can also define where to begin the search. The search term can be a number or any string of characters. The search is case-sensitive.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3083284" role="heading" level="3" l10n="U"
+ oldref="46">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3083452" role="code" l10n="U" oldref="47">FIND("FindText"; "Text"; Position)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150608" role="paragraph" l10n="U" oldref="48">
+ <emph>FindText</emph> refers to the text to be found.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152374" role="paragraph" l10n="U" oldref="49">
+ <emph>Text</emph> is the text where the search takes place.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152475" role="paragraph" l10n="U" oldref="50">
+ <emph>Position</emph> (optional) is the position in the text from which the search starts.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154812" role="heading" level="3" l10n="U"
+ oldref="51">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156375" role="paragraph" l10n="U" oldref="52">
+ <item type="input">=FIND(76;998877665544)</item> returns 6.</paragraph>
+ </section>
+ <section id="fixed">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149268"><bookmark_value>FIXED function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FEST" id="bm_id3149450" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149268" role="heading" level="2" l10n="U"
+ oldref="34">FIXED</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155833" role="paragraph" l10n="CHG" oldref="35"><ahelp hid="HID_FUNC_FEST">Returns a number as text with a specified number of decimal places and optional thousands separators.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152470" role="heading" level="3" l10n="U"
+ oldref="36">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147567" role="code" l10n="U" oldref="37">FIXED(Number; Decimals; NoThousandsSeparators)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151272" role="paragraph" l10n="U" oldref="38">
+ <emph>Number</emph> refers to the number to be formatted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156322" role="paragraph" l10n="U" oldref="39">
+ <emph>Decimals</emph> refers to the number of decimal places to be displayed.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150877" role="paragraph" l10n="U" oldref="40">
+ <emph>NoThousandsSeparators</emph> (optional) determines whether the thousands separator is used. If the parameter is a number not equal to 0, the thousands separator is suppressed. If the parameter is equal to 0 or if it is missing altogether, the thousands separators of your <link href="text/shared/optionen/01140000.xhp" name="current locale setting">current locale setting</link> are displayed.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149040" role="heading" level="3" l10n="U"
+ oldref="41">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145208" role="paragraph" l10n="CHG" oldref="42">
+ <item type="input">=FIXED(1234567.89;3)</item> returns 1,234,567.890 as a text string. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id5282143" role="paragraph" l10n="NEW">
+ <item type="input">=FIXED(1234567.89;3;1)</item> returns 1234567.890 as a text string.</paragraph>
+ </section>
+ <section id="jis">
+<bookmark xml-lang="en-US" branch="index" id="bm_id7319864"><bookmark_value>JIS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_JIS" id="bm_id3818475" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3666188" role="heading" level="2" l10n="NEW">JIS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id964384" role="paragraph" l10n="NEW"><ahelp hid=".">The JIS function converts half-width to full-width ASCII and katakana characters. Returns a text string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="par_id1551561" role="paragraph" l10n="NEW">See <link href="http://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions">http://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions</link> for a conversion table.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id2212897" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2504654" role="code" l10n="NEW">JIS("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id5292519" role="paragraph" l10n="NEW">
+ <emph>Text</emph> is the text that contains characters to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3984496" role="paragraph" l10n="NEW">See also ASC function.</paragraph>
+ </section>
+ <section id="left">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147083"><bookmark_value>LEFT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LINKS" id="bm_id3154645" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147083" role="heading" level="2" l10n="U"
+ oldref="95">LEFT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153622" role="paragraph" l10n="CHG" oldref="96"><ahelp hid="HID_FUNC_LINKS">Returns the first character or characters of a text.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156116" role="heading" level="3" l10n="U"
+ oldref="97">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146786" role="code" l10n="U" oldref="98">LEFT("Text"; Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147274" role="paragraph" l10n="U" oldref="99">
+ <emph>Text</emph> is the text where the initial partial words are to be determined.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153152" role="paragraph" l10n="U" oldref="100">
+ <emph>Number</emph> (optional) specifies the number of characters for the start text. If this parameter is not defined, one character is returned.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150260" role="heading" level="3" l10n="U"
+ oldref="101">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149141" role="paragraph" l10n="U" oldref="102">
+ <item type="input">=LEFT("output";3)</item> returns “out”.</paragraph>
+ </section>
+ <section id="len">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156110"><bookmark_value>LEN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LAENGE" id="bm_id3154050" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156110" role="heading" level="2" l10n="U"
+ oldref="104">LEN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150147" role="paragraph" l10n="U" oldref="105"><ahelp hid="HID_FUNC_LAENGE">Returns the length of a string including spaces.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155108" role="heading" level="3" l10n="U"
+ oldref="106">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154063" role="code" l10n="U" oldref="107">LEN("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146894" role="paragraph" l10n="U" oldref="108">
+ <emph>Text</emph> is the text whose length is to be determined.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153884" role="heading" level="3" l10n="U"
+ oldref="109">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156008" role="paragraph" l10n="U" oldref="110">
+ <item type="input">=LEN("Good Afternoon")</item> returns 14.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154300" role="paragraph" l10n="U" oldref="111">
+ <item type="input">=LEN(12345.67)</item> returns 8.</paragraph>
+ </section>
+ <section id="lower">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153983"><bookmark_value>LOWER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KLEIN" id="bm_id3151173" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153983" role="heading" level="2" l10n="U"
+ oldref="87">LOWER</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152791" role="paragraph" l10n="U" oldref="88"><ahelp hid="HID_FUNC_KLEIN">Converts all uppercase letters in a text string to lowercase.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155902" role="heading" level="3" l10n="U"
+ oldref="89">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150121" role="code" l10n="U" oldref="90">LOWER("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153910" role="paragraph" l10n="U" oldref="91">
+ <emph>Text</emph> refers to the text to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159343" role="heading" level="3" l10n="U"
+ oldref="92">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155329" role="paragraph" l10n="U" oldref="93">
+ <item type="input">=LOWER("Sun")</item> returns sun.</paragraph>
+ </section>
+ <section id="mid">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154589"><bookmark_value>MID function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEIL" id="bm_id3155392" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154589" role="heading" level="2" l10n="U"
+ oldref="148">MID</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154938" role="paragraph" l10n="CHG" oldref="149"><ahelp hid="HID_FUNC_TEIL">Returns a text string of a text. The parameters specify the starting position and the number of characters.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148829" role="heading" level="3" l10n="U"
+ oldref="150">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150526" role="code" l10n="U" oldref="151">MID("Text"; Start; Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148820" role="paragraph" l10n="U" oldref="152">
+ <emph>Text</emph> is the text containing the characters to extract.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150774" role="paragraph" l10n="U" oldref="153">
+ <emph>Start</emph> is the position of the first character in the text to extract.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153063" role="paragraph" l10n="U" oldref="154">
+ <emph>Number</emph> specifies the number of characters in the part of the text.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150509" role="heading" level="3" l10n="U"
+ oldref="155">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158407" role="paragraph" l10n="U" oldref="156">
+ <item type="input">=MID("office";2;2)</item> returns ff.</paragraph>
+ </section>
+ <section id="proper">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159143"><bookmark_value>PROPER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GROSS2" id="bm_id3154897" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3159143" role="heading" level="2" l10n="U"
+ oldref="70">PROPER</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149768" role="paragraph" l10n="U" oldref="71"><ahelp hid="HID_FUNC_GROSS2">Capitalizes the first letter in all words of a text string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153573" role="heading" level="3" l10n="U"
+ oldref="72">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154260" role="code" l10n="U" oldref="73">PROPER("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147509" role="paragraph" l10n="U" oldref="74">
+ <emph>Text</emph> refers to the text to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147529" role="heading" level="3" l10n="U"
+ oldref="75">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155364" role="paragraph" l10n="U" oldref="76">
+ <item type="input">=PROPER("open office")</item> returns Open Office.</paragraph>
+ </section>
+ <section id="replace">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149171"><bookmark_value>REPLACE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ERSETZEN" id="bm_id3149990" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149171" role="heading" level="2" l10n="U"
+ oldref="22">REPLACE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148925" role="paragraph" l10n="U" oldref="23"><ahelp hid="HID_FUNC_ERSETZEN">Replaces part of a text string with a different text string.</ahelp> This function can be used to replace both characters and numbers (which are automatically converted to text). The result of the function is always displayed as text. If you intend to perform further calculations with a number which has been replaced by text, you will need to convert it back to a number using the <link href="text/scalc/01/04060110.xhp" name="VALUE">VALUE</link> function.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158426" role="paragraph" l10n="U" oldref="24">Any text containing numbers must be enclosed in quotation marks if you do not want it to be interpreted as a number and automatically converted to text.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149159" role="heading" level="3" l10n="U"
+ oldref="25">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147286" role="code" l10n="U" oldref="26">REPLACE("Text"; Position; Length; "NewText")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149797" role="paragraph" l10n="U" oldref="27">
+ <emph>Text</emph> refers to text of which a part will be replaced.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3166451" role="paragraph" l10n="U" oldref="28">
+ <emph>Position</emph> refers to the position within the text where the replacement will begin.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156040" role="paragraph" l10n="U" oldref="29">
+ <emph>Length</emph> is the number of characters in <emph>Text</emph> to be replaced.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159188" role="paragraph" l10n="U" oldref="30">
+ <emph>NewText</emph> refers to the text which replaces <emph>Text</emph>.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146958" role="heading" level="3" l10n="U"
+ oldref="31">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154096" role="paragraph" l10n="U" oldref="32">
+ <item type="input">=REPLACE("1234567";1;1;"444")</item> returns "444234567". One character at position 1 is replaced by the complete <item type="literal">NewText</item>.</paragraph>
+ </section>
+ <section id="rept">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149741"><bookmark_value>REPT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WIEDERHOLEN" id="bm_id3155582" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149741" role="heading" level="2" l10n="U"
+ oldref="193">REPT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153748" role="paragraph" l10n="U" oldref="194"><ahelp hid="HID_FUNC_WIEDERHOLEN">Repeats a character string by the given <emph>number</emph> of copies.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152884" role="heading" level="3" l10n="U"
+ oldref="195">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150494" role="code" l10n="U" oldref="196">REPT("Text"; Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154859" role="paragraph" l10n="U" oldref="197">
+ <emph>Text</emph> is the text to be repeated.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150638" role="paragraph" l10n="U" oldref="198">
+ <emph>Number</emph> is the number of repetitions.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149922" role="paragraph" l10n="U" oldref="212">The result can be a maximum of 255 characters.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156213" role="heading" level="3" l10n="U"
+ oldref="199">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148626" role="paragraph" l10n="U" oldref="200">
+ <item type="input">=REPT("Good morning";2)</item> returns Good morningGood morning.</paragraph>
+ </section>
+ <section id="right">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149805"><bookmark_value>RIGHT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RECHTS" id="bm_id3154602" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149805" role="heading" level="2" l10n="U"
+ oldref="113">RIGHT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145375" role="paragraph" l10n="CHG" oldref="114"><ahelp hid="HID_FUNC_RECHTS">Returns the last character or characters of a text.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150837" role="heading" level="3" l10n="U"
+ oldref="115">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154344" role="code" l10n="U" oldref="116">RIGHT("Text"; Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149426" role="paragraph" l10n="U" oldref="117">
+ <emph>Text</emph> is the text of which the right part is to be determined.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153350" role="paragraph" l10n="U" oldref="118">
+ <emph>Number</emph> (optional) is the number of characters from the right part of the text.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148661" role="heading" level="3" l10n="U"
+ oldref="119">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151132" role="paragraph" l10n="U" oldref="120">
+ <item type="input">=RIGHT("Sun";2)</item> returns un.</paragraph>
+ </section>
+ <section id="roman">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153534"><bookmark_value>ROMAN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ROEMISCH" id="bm_id3144755" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153534" role="heading" level="2" l10n="U"
+ oldref="248">ROMAN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151256" role="paragraph" l10n="U" oldref="249"><ahelp hid="HID_FUNC_ROEMISCH">Converts a number into a Roman numeral. The value range must be between 0 and 3999, the modes can be integers from 0 to 4.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149299" role="heading" level="3" l10n="U"
+ oldref="250">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150593" role="code" l10n="U" oldref="251">ROMAN(Number; Mode)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156139" role="paragraph" l10n="U" oldref="252">
+ <emph>Number</emph> is the number that is to be converted into a Roman numeral.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153318" role="paragraph" l10n="U" oldref="253">
+ <emph>Mode</emph> (optional) indicates the degree of simplification. The higher the value, the greater is the simplification of the Roman number.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145306" role="heading" level="3" l10n="U"
+ oldref="254">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151371" role="paragraph" l10n="U" oldref="255">
+ <item type="input">=ROMAN(999)</item> returns CMXCIX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153938" role="paragraph" l10n="U" oldref="256">
+ <item type="input">=ROMAN(999;0)</item> returns CMXCIX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148412" role="paragraph" l10n="U" oldref="257">
+ <item type="input">=ROMAN (999;1)</item> returns LMVLIV</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155421" role="paragraph" l10n="U" oldref="258">
+ <item type="input">=ROMAN(999;2)</item> returns XMIX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149235" role="paragraph" l10n="U" oldref="259">
+ <item type="input">=ROMAN(999;3)</item> returns VMIV</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150624" role="paragraph" l10n="U" oldref="260">
+ <item type="input">=ROMAN(999;4)</item> returns IM</paragraph>
+ </section>
+ <section id="search">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151005"><bookmark_value>SEARCH function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUCHEN" id="bm_id3149484" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151005" role="heading" level="2" l10n="U"
+ oldref="122">SEARCH</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148692" role="paragraph" l10n="U" oldref="123"><ahelp hid="HID_FUNC_SUCHEN">Returns the position of a text segment within a character string.</ahelp> You can set the start of the search as an option. The search text can be a number or any sequence of characters. The search is not case-sensitive.</paragraph>
+ <embed href="text/shared/00/00000001.xhp#regulaer"/>
+ <paragraph xml-lang="en-US" id="hd_id3152964" role="heading" level="3" l10n="U"
+ oldref="124">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154671" role="code" l10n="U" oldref="125">SEARCH("FindText"; "Text"; Position)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146080" role="paragraph" l10n="U" oldref="126">
+ <emph>FindText</emph> is the text to be searched for.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154111" role="paragraph" l10n="U" oldref="127">
+ <emph>Text</emph> is the text where the search will take place.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149559" role="paragraph" l10n="U" oldref="128">
+ <emph>Position</emph> (optional) is the position in the text where the search is to start.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147322" role="heading" level="3" l10n="U"
+ oldref="129">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154564" role="paragraph" l10n="U" oldref="130">
+ <item type="input">=SEARCH(54;998877665544)</item> returns 10.</paragraph>
+ </section>
+ <section id="substitute">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154830"><bookmark_value>SUBSTITUTE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WECHSELN" id="bm_id3147090" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154830" role="heading" level="2" l10n="U"
+ oldref="174">SUBSTITUTE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153698" role="paragraph" l10n="U" oldref="175"><ahelp hid="HID_FUNC_WECHSELN">Substitutes new text for old text in a string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150994" role="heading" level="3" l10n="U"
+ oldref="176">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147582" role="code" l10n="U" oldref="177">SUBSTITUTE("Text"; "SearchText"; "NewText"; Occurrence)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153675" role="paragraph" l10n="U" oldref="178">
+ <emph>Text</emph> is the text in which text segments are to be exchanged.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156155" role="paragraph" l10n="U" oldref="179">
+ <emph>SearchText </emph>is the text segment that is to be replaced (a number of times).</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145779" role="paragraph" l10n="U" oldref="180">
+ <emph>NewText</emph> is the text that is to replace the text segment.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150348" role="paragraph" l10n="CHG" oldref="181">
+ <emph>Occurrence</emph> (optional) indicates which occurrence of the search text is to be replaced. If this parameter is missing the search text is replaced throughout.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150946" role="heading" level="3" l10n="U"
+ oldref="182">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150412" role="paragraph" l10n="U" oldref="183">
+ <item type="input">=SUBSTITUTE("123123123";"3";"abc")</item> returns 12abc12abc12abc.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154915" role="paragraph" l10n="U" oldref="238">
+ <item type="input">=SUBSTITUTE("123123123";"3";"abc";2)</item> returns 12312abc123.</paragraph>
+ </section>
+ <section id="t">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148977"><bookmark_value>T function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_T" id="bm_id3156051" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148977" role="heading" level="2" l10n="U"
+ oldref="140">T</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154359" role="paragraph" l10n="CHG" oldref="141"><ahelp hid="HID_FUNC_T">This function returns the target text, or a blank text string if the target is not text.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155858" role="heading" level="3" l10n="U"
+ oldref="142">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155871" role="code" l10n="U" oldref="143">T(Value)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154726" role="paragraph" l10n="CHG" oldref="144">If <emph>Value</emph> is a text string or refers to a text string, T returns that text string; otherwise it returns a blank text string.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155544" role="heading" level="3" l10n="U"
+ oldref="145">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151062" role="paragraph" l10n="CHG" oldref="146">
+ <item type="input">=T(12345)</item> returns an empty string. </paragraph>
+ <paragraph xml-lang="en-US" id="par_id4650105" role="paragraph" l10n="NEW">
+ <item type="input">=T("12345")</item> returns the string 12345.</paragraph>
+ </section>
+ <section id="text">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147132"><bookmark_value>TEXT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEXT" id="bm_id3156426" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147132" role="heading" level="2" l10n="U"
+ oldref="158">TEXT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147213" role="paragraph" l10n="U" oldref="159"><ahelp hid="HID_FUNC_TEXT">Converts a number into text according to a given format.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153129" role="heading" level="3" l10n="U"
+ oldref="160">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147377" role="code" l10n="U" oldref="161">TEXT(Number; Format)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147389" role="paragraph" l10n="U" oldref="162">
+ <emph>Number</emph> is the numerical value to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156167" role="paragraph" l10n="U" oldref="163">
+ <emph>Format</emph> is the text which defines the format. Use decimal and thousands separators according to the language set in the cell format.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id1243629" role="heading" level="3" l10n="NEW">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id9044770" role="paragraph" l10n="NEW">
+ <item type="input">=TEXT(12.34567;"###.##")</item> returns the text 12.35</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3674123" role="paragraph" l10n="NEW">
+ <item type="input">=TEXT(12.34567;"000.00")</item> returns the text 012.35</paragraph>
+ </section>
+ <section id="trim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151039"><bookmark_value>TRIM function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GLAETTEN" id="bm_id3150584" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3151039" role="heading" level="2" l10n="U"
+ oldref="54">TRIM</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157888" role="paragraph" l10n="CHG" oldref="55"><ahelp hid="HID_FUNC_GLAETTEN">Removes spaces from a string, leaving only a single space character between words.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152913" role="heading" level="3" l10n="U"
+ oldref="56">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151349" role="code" l10n="U" oldref="57">TRIM("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151362" role="paragraph" l10n="CHG" oldref="58">
+ <emph>Text</emph> refers to text in which spaces are removed.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146838" role="heading" level="3" l10n="U"
+ oldref="59">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156074" role="paragraph" l10n="U" oldref="60">
+ <item type="input">=TRIM("hello")</item> returns hello.</paragraph>
+ </section>
+ <section id="unichar">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNICHAR" id="bm_id0907200904004674" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id0907200904030935"><bookmark_value>UNICHAR function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id0907200904022525" role="heading" level="2" l10n="NEW">UNICHAR</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200904022538" role="paragraph" l10n="NEW"><ahelp hid=".">Converts a code number into a Unicode character or letter.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id0907200904123753" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200904123753" role="paragraph" l10n="NEW">UNICHAR(number)</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id0907200904123720" role="heading" level="3" l10n="NEW">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id090720090412378" role="paragraph" l10n="NEW">=UNICHAR(169) returns the Copyright character <emph>©</emph>.</paragraph>
+ </section>
+ <section id="unicode">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNICODE" id="bm_id0907200904011330" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id0907200904033543"><bookmark_value>UNICODE function</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id0907200904022588" role="heading" level="2" l10n="NEW">UNICODE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200904022594" role="paragraph" l10n="NEW"><ahelp hid=".">Returns the numeric code for the first Unicode character in a text string.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id0907200904123874" role="heading" level="3" l10n="NEW">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200904123846" role="paragraph" l10n="NEW">UNICODE("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id0907200904123899" role="heading" level="3" l10n="NEW">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0907200904123919" role="paragraph" l10n="NEW">=UNICODE("©") returns the Unicode number 169 for the Copyright character.</paragraph>
+ </section>
+ <section id="upper">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145178"><bookmark_value>UPPER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GROSS" id="bm_id3145189" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145178" role="heading" level="2" l10n="U"
+ oldref="62">UPPER</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3162905" role="paragraph" l10n="U" oldref="63"><ahelp hid="HID_FUNC_GROSS">Converts the string specified in the <emph>text</emph> field to uppercase.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148526" role="heading" level="3" l10n="U"
+ oldref="64">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148539" role="code" l10n="U" oldref="65">UPPER("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148496" role="paragraph" l10n="U" oldref="66">
+ <emph>Text</emph> refers to the lower case letters you want to convert to upper case.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148516" role="heading" level="3" l10n="U"
+ oldref="67">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146757" role="paragraph" l10n="U" oldref="68">
+ <item type="input">=UPPER("Good Morning")</item> returns GOOD MORNING.</paragraph>
+ </section>
+ <section id="value">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150802"><bookmark_value>VALUE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WERT" id="bm_id3150814" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150802" role="heading" level="2" l10n="U"
+ oldref="185">VALUE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152551" role="paragraph" l10n="U" oldref="186"><ahelp hid="HID_FUNC_WERT">Converts a text string into a number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152568" role="heading" level="3" l10n="U"
+ oldref="187">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153638" role="code" l10n="U" oldref="188">VALUE("Text")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153651" role="paragraph" l10n="U" oldref="189">
+ <emph>Text</emph> is the text to be converted to a number.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3144719" role="heading" level="3" l10n="U"
+ oldref="190">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144733" role="paragraph" l10n="U" oldref="191">
+ <item type="input">=VALUE("4321")</item> returns 4321.</paragraph>
+ </section>
+</sort>
+<section id="relatedtopics">
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file
diff --git a/source/text/scalc/01/04060111.xhp b/source/text/scalc/01/04060111.xhp
new file mode 100644
index 0000000000..dacb225711
--- /dev/null
+++ b/source/text/scalc/01/04060111.xhp
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060111xml" indexer="include">
+<title id="tit" xml-lang="en-US">Add-in Functions</title>
+<filename>/text/scalc/01/04060111.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150870"><bookmark_value>add-ins; functions</bookmark_value>
+<bookmark_value>functions; add-in functions</bookmark_value>
+<bookmark_value>Function Wizard; add-ins</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="1" l10n="U" oldref="1">Add-in Functions</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="CHG" oldref="2"><variable id="addintext">The following describes and lists some of the available add-in functions.
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id3163713" xml-lang="en-US" l10n="U" oldref="75"><link href="text/scalc/01/04060112.xhp#addinconcept">Add-in concept</link></paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="5">You will also find a <link href="text/scalc/01/04060112.xhp">description of the $[officename] Calc add-in interface</link> in the Help. In addition, important functions and their parameters are described in the Help for the <switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>$[officename] Calc add-in DLL</defaultinline></switchinline>.</paragraph>
+<paragraph role="heading" id="hd_id3151075" xml-lang="en-US" level="2" l10n="U" oldref="7">Add-ins supplied</paragraph>
+<paragraph role="paragraph" id="par_id3156285" xml-lang="en-US" l10n="CHG" oldref="8">$[officename] contains examples for the add-in interface of $[officename] Calc.</paragraph>
+<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US" l10n="U" oldref="76"><link href="text/scalc/01/04060115.xhp">Analysis Functions Part One</link></paragraph>
+<paragraph role="paragraph" id="par_id3154703" xml-lang="en-US" l10n="U" oldref="77"><link href="text/scalc/01/04060116.xhp">Analysis Functions Part Two</link></paragraph>
+<sort order="asc">
+<section id="isleapyear">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149566"><bookmark_value>ISLEAPYEAR function</bookmark_value>
+<bookmark_value>leap year determination</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<paragraph role="heading" id="hd_id3149566" xml-lang="en-US" level="2" l10n="U" oldref="14">ISLEAPYEAR</paragraph>
+<paragraph role="paragraph" id="par_id3150297" xml-lang="en-US" l10n="U" oldref="15"><ahelp hid=".">Determines whether a year is a leap year.</ahelp> If yes, the function will return the value 1 (TRUE); if not, it will return 0 (FALSE).</paragraph>
+<paragraph role="heading" id="hd_id3148487" xml-lang="en-US" level="3" l10n="U" oldref="16">Syntax</paragraph>
+<paragraph role="code" id="par_id3150205" xml-lang="en-US" l10n="U" oldref="17">ISLEAPYEAR("Date")</paragraph>
+<paragraph role="paragraph" id="par_id3159239" xml-lang="en-US" l10n="U" oldref="18">
+<emph>Date</emph> specifies whether a given date falls within a leap year. The Date parameter must be a valid date according to the locale settings of %PRODUCTNAME.</paragraph>
+<paragraph role="heading" id="hd_id3149817" xml-lang="en-US" level="3" l10n="U" oldref="19">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150786" xml-lang="en-US" l10n="CHG" oldref="20">=ISLEAPYEAR(A1) returns 1, if A1 contains 1968-02-29, the valid date 29th of February 1968 in your locale setting.</paragraph>
+<paragraph role="paragraph" id="par_idN107E7" xml-lang="en-US" l10n="CHG">You may also use =ISLEAPYEAR("1968-02-29") or =ISLEAPYEAR("2/29/68").</paragraph>
+<paragraph role="paragraph" id="par_idN107EA" xml-lang="en-US" l10n="CHG">Never use =ISLEAPYEAR(2/29/68), because this would first evaluate 2 divided by 29 divided by 68, and then calculate the ISLEAPYEAR function from this small number as a serial date number.</paragraph>
+</section>
+<section id="years">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154656"><bookmark_value>YEARS function</bookmark_value>
+<bookmark_value>number of years between two dates</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_DIFFYEARS" id="bm_id3150368" localize="false"/>
+<paragraph role="heading" id="hd_id3154656" xml-lang="en-US" level="2" l10n="U" oldref="21">YEARS</paragraph>
+<paragraph role="paragraph" id="par_id3150886" xml-lang="en-US" l10n="U" oldref="22"><ahelp hid="HID_DAI_FUNC_DIFFYEARS">Calculates the difference in years between two dates.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154370" xml-lang="en-US" level="3" l10n="U" oldref="23">Syntax</paragraph>
+<paragraph role="code" id="par_id3146114" xml-lang="en-US" l10n="U" oldref="24">YEARS(StartDate; EndDate; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3145387" xml-lang="en-US" l10n="U" oldref="25">
+<emph>StartDate</emph> is the first date</paragraph>
+<paragraph role="paragraph" id="par_id3156290" xml-lang="en-US" l10n="U" oldref="26">
+<emph>EndDate</emph> is the second date</paragraph>
+<paragraph role="paragraph" id="par_id3152893" xml-lang="en-US" l10n="U" oldref="27">
+<emph>Type</emph> calculates the type of difference. Possible values are 0 (interval) and 1 (in calendar years).</paragraph>
+</section>
+<section id="months">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152898"><bookmark_value>MONTHS function</bookmark_value>
+<bookmark_value>number of months between two dates</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_DIFFMONTHS" id="bm_id3148839" localize="false"/>
+<paragraph role="heading" id="hd_id3152898" xml-lang="en-US" level="2" l10n="U" oldref="28">MONTHS</paragraph>
+<paragraph role="paragraph" id="par_id3153066" xml-lang="en-US" l10n="U" oldref="29"><ahelp hid="HID_DAI_FUNC_DIFFMONTHS">Calculates the difference in months between two dates.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3151240" xml-lang="en-US" level="3" l10n="U" oldref="30">Syntax</paragraph>
+<paragraph role="code" id="par_id3146869" xml-lang="en-US" l10n="U" oldref="31">MONTHS(StartDate; EndDate; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3145075" xml-lang="en-US" l10n="U" oldref="32">
+<emph>StartDate</emph> is the first date</paragraph>
+<paragraph role="paragraph" id="par_id3157981" xml-lang="en-US" l10n="U" oldref="33">
+<emph>EndDate</emph> is the second date</paragraph>
+<paragraph role="paragraph" id="par_id3150111" xml-lang="en-US" l10n="U" oldref="34">
+<emph>Type</emph> calculates the type of difference. Possible values include 0 (interval) and 1 (in calendar months).</paragraph>
+</section>
+<section id="rot13">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3159094"><bookmark_value>ROT13 function</bookmark_value>
+<bookmark_value>encrypting text</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_ROT13" id="bm_id3153283" localize="false"/>
+<paragraph role="heading" id="hd_id3159094" xml-lang="en-US" level="2" l10n="U" oldref="35">ROT13</paragraph>
+<paragraph role="paragraph" id="par_id3146781" xml-lang="en-US" l10n="U" oldref="36"><ahelp hid="HID_DAI_FUNC_ROT13">Encrypts a character string by moving the characters 13 positions in the alphabet.</ahelp> After the letter Z, the alphabet begins again (Rotation). By applying the encryption function again to the resulting code, you can decrypt the text.</paragraph>
+<paragraph role="heading" id="hd_id3150893" xml-lang="en-US" level="3" l10n="U" oldref="37">Syntax</paragraph>
+<paragraph role="code" id="par_id3159205" xml-lang="en-US" l10n="U" oldref="38">ROT13(Text)</paragraph>
+<paragraph role="paragraph" id="par_id3153249" xml-lang="en-US" l10n="U" oldref="39">
+<emph>Text</emph> is the character string to be encrypted. ROT13(ROT13(Text)) decrypts the code.</paragraph>
+</section>
+<section id="daysinyear">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151300"><bookmark_value>DAYSINYEAR function</bookmark_value>
+<bookmark_value>number of days; in a specific year</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_DAYSINYEAR" id="bm_id3153972" localize="false"/>
+<paragraph role="heading" id="hd_id3151300" xml-lang="en-US" level="2" l10n="U" oldref="43">DAYSINYEAR</paragraph>
+<paragraph role="paragraph" id="par_id3143220" xml-lang="en-US" l10n="CHG" oldref="44"><ahelp hid="HID_DAI_FUNC_DAYSINYEAR">Calculates the number of days of the year in which the date entered occurs.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145358" xml-lang="en-US" level="3" l10n="U" oldref="45">Syntax</paragraph>
+<paragraph role="code" id="par_id3154651" xml-lang="en-US" l10n="U" oldref="46">DAYSINYEAR(Date)</paragraph>
+<paragraph role="paragraph" id="par_id3153803" xml-lang="en-US" l10n="CHG" oldref="47">
+<emph>Date</emph> is any date in the respective year. The Date parameter must be a valid date according to the locale settings of %PRODUCTNAME.</paragraph>
+<paragraph role="heading" id="hd_id3153487" xml-lang="en-US" level="3" l10n="U" oldref="48">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153811" xml-lang="en-US" l10n="CHG" oldref="49">=DAYSINYEAR(A1) returns 366 days if A1 contains 1968-02-29, a valid date for the year 1968.</paragraph>
+</section>
+<section id="daysinmonth">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154737"><bookmark_value>DAYSINMONTH function</bookmark_value>
+<bookmark_value>number of days;in a specific month of a year</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_DAYSINMONTH" id="bm_id3155593" localize="false"/>
+<paragraph role="heading" id="hd_id3154737" xml-lang="en-US" level="2" l10n="U" oldref="50">DAYSINMONTH</paragraph>
+<paragraph role="paragraph" id="par_id3149316" xml-lang="en-US" l10n="CHG" oldref="51"><ahelp hid="HID_DAI_FUNC_DAYSINMONTH">Calculates the number of days of the month in which the date entered occurs.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145114" xml-lang="en-US" level="3" l10n="U" oldref="52">Syntax</paragraph>
+<paragraph role="code" id="par_id3150955" xml-lang="en-US" l10n="U" oldref="53">DAYSINMONTH(Date)</paragraph>
+<paragraph role="paragraph" id="par_id3147501" xml-lang="en-US" l10n="CHG" oldref="54">
+<emph>Date</emph> is any date in the respective month of the desired year. The Date parameter must be a valid date according to the locale settings of %PRODUCTNAME.</paragraph>
+<paragraph role="heading" id="hd_id3149871" xml-lang="en-US" level="3" l10n="U" oldref="55">Example</paragraph>
+<paragraph role="paragraph" id="par_id3155742" xml-lang="en-US" l10n="CHG" oldref="56">=DAYSINMONTH(A1) returns 29 days if A1 contains 1968-02-17, a valid date for February 1968.</paragraph>
+</section>
+<section id="weeks">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149048"><bookmark_value>WEEKS function</bookmark_value>
+<bookmark_value>number of weeks;between two dates</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_DIFFWEEKS" id="bm_id3150435" localize="false"/>
+<paragraph role="heading" id="hd_id3149048" xml-lang="en-US" level="2" l10n="U" oldref="57">WEEKS</paragraph>
+<paragraph role="paragraph" id="par_id3153340" xml-lang="en-US" l10n="U" oldref="58"><ahelp hid="HID_DAI_FUNC_DIFFWEEKS">Calculates the difference in weeks between two dates.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150393" xml-lang="en-US" level="3" l10n="U" oldref="59">Syntax</paragraph>
+<paragraph role="code" id="par_id3147402" xml-lang="en-US" l10n="U" oldref="60">WEEKS(StartDate; EndDate; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3151387" xml-lang="en-US" l10n="U" oldref="61">
+<emph>StartDate</emph> is the first date</paragraph>
+<paragraph role="paragraph" id="par_id3146324" xml-lang="en-US" l10n="U" oldref="62">
+<emph>EndDate</emph> is the second date</paragraph>
+<paragraph role="paragraph" id="par_id3166467" xml-lang="en-US" l10n="U" oldref="63">
+<emph>Type</emph> calculates the type of difference. The possible values are 0 (interval) and 1 (in numbers of weeks).</paragraph>
+</section>
+<section id="weeksinyear">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145237"><bookmark_value>WEEKSINYEAR function</bookmark_value>
+<bookmark_value>number of weeks;in a specific year</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_DAI_FUNC_WEEKSINYEAR" id="bm_id3146883" localize="false"/>
+<paragraph role="heading" id="hd_id3145237" xml-lang="en-US" level="2" l10n="U" oldref="64">WEEKSINYEAR</paragraph>
+<paragraph role="paragraph" id="par_id3147410" xml-lang="en-US" l10n="CHG" oldref="65"><ahelp hid="HID_DAI_FUNC_WEEKSINYEAR">Calculates the number of weeks of the year in which the date entered occurs.</ahelp> The number of weeks is defined as follows: a week that spans two years is added to the year in which most days of that week occur.</paragraph>
+<paragraph role="heading" id="hd_id3149719" xml-lang="en-US" level="3" l10n="U" oldref="66">Syntax</paragraph>
+<paragraph role="code" id="par_id3145638" xml-lang="en-US" l10n="U" oldref="67">WEEKSINYEAR(Date)</paragraph>
+<paragraph role="paragraph" id="par_id3149946" xml-lang="en-US" l10n="CHG" oldref="68">
+<emph>Date</emph> is any date in the respective year. The Date parameter must be a valid date according to the locale settings of %PRODUCTNAME.</paragraph>
+<paragraph role="heading" id="hd_id3150037" xml-lang="en-US" level="3" l10n="U" oldref="69">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147614" xml-lang="en-US" l10n="CHG" oldref="70">WEEKSINYEAR(A1) returns 53 if A1 contains 1970-02-17, a valid date for the year 1970.</paragraph>
+</section>
+</sort>
+<paragraph role="heading" id="hd_id3157901" xml-lang="en-US" level="2" l10n="U" oldref="72">Add-ins through %PRODUCTNAME API</paragraph>
+<paragraph role="paragraph" id="par_id3149351" xml-lang="en-US" l10n="U" oldref="73">Add-ins can also be implemented through the %PRODUCTNAME <link href="http://api.libreoffice.org/">API</link>.</paragraph>
+<section id="relatedtopics">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060112.xhp b/source/text/scalc/01/04060112.xhp
new file mode 100644
index 0000000000..6e0b3d0c90
--- /dev/null
+++ b/source/text/scalc/01/04060112.xhp
@@ -0,0 +1,717 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+ ***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104060112xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Add-in for Programming in $[officename] Calc</title>
+<filename>/text/scalc/01/04060112.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2006-03-31T13:39:47">converted from old format - fpe
+dedr: fixed #i30855#</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151076"><bookmark_value>programming; add-ins</bookmark_value>
+<bookmark_value>shared libraries; programming</bookmark_value>
+<bookmark_value>external DLL functions</bookmark_value>
+<bookmark_value>functions; $[officename] Calc add-in DLL</bookmark_value>
+<bookmark_value>add-ins; for programming</bookmark_value>
+</bookmark><comment>mw made "external..." a one level entry and deleted one "functions;..." entry</comment>
+<paragraph role="heading" id="hd_id3151076" xml-lang="en-US" level="1" l10n="U" oldref="1">Add-in for Programming in $[officename] Calc</paragraph>
+<paragraph role="warning" id="par_id3147001" xml-lang="en-US" l10n="U" oldref="220">The method of extending Calc by Add-Ins that is described in the following is outdated. The interfaces are still valid and supported, to ensure compatibility with existing Add-Ins, but for programming new Add-Ins you should use the new <link href="text/shared/guide/integratinguno.xhp" name="API functions">API functions</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="2">$[officename] Calc can be expanded by Add-Ins, which are external programming modules providing additional functions for working with spreadsheets. These are listed in the <emph>Function Wizard</emph> in the <emph>Add-In</emph> category. If you would like to program an Add-In yourself, you can learn here which functions must be exported by the <switchinline select="sys"><caseinline select="UNIX">shared library
+</caseinline><defaultinline>external DLL</defaultinline></switchinline> so that the Add-In can be successfully attached.</paragraph>
+<paragraph role="paragraph" id="par_id3149211" xml-lang="en-US" l10n="CHG" oldref="3">$[officename] searches the Add-in folder defined in the configuration for a suitable <switchinline select="sys"><caseinline select="UNIX">shared library
+</caseinline><defaultinline>DLL</defaultinline></switchinline>. To be recognized by $[officename], the <switchinline select="sys"><caseinline select="UNIX">shared library
+</caseinline><defaultinline>DLL</defaultinline></switchinline> must have certain properties, as explained in the following. This information allows you to program your own Add-In for <emph>Function Wizard</emph> of $[officename] Calc.</paragraph>
+<section id="addinconcept">
+<paragraph role="heading" id="hd_id3146981" xml-lang="en-US" level="2" l10n="U" oldref="4">The Add-In Concept</paragraph>
+<paragraph role="paragraph" id="par_id3156292" xml-lang="en-US" l10n="U" oldref="5">Each Add-In library provides several functions. Some functions are used for administrative purposes. You can choose almost any name for your own functions. However, they must also follow certain rules regarding parameter passing. The exact naming and calling conventions vary for different platforms.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3152890" xml-lang="en-US" level="3" l10n="U" oldref="6">Functions of <switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>AddIn DLL</defaultinline></switchinline></paragraph>
+<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US" l10n="U" oldref="7">At a minimum, the administrative functions <link href="text/scalc/01/04060112.xhp" name="GetFunctionCount">GetFunctionCount</link> and <link href="text/scalc/01/04060112.xhp" name="GetFunctionData">GetFunctionData</link> must exist. Using these, the functions as well as parameter types and return values can be determined. As return values, the Double and String types are supported. As parameters, additionally the cell areas <link href="text/scalc/01/04060112.xhp" name="Double Array">Double Array</link>, <link href="text/scalc/01/04060112.xhp" name="String Array">String Array</link>, and <link href="text/scalc/01/04060112.xhp" name="Cell Array">Cell Array</link> are supported.</paragraph>
+<paragraph role="paragraph" id="par_id3148604" xml-lang="en-US" l10n="U" oldref="8">Parameters are passed using references. Therefore, a change of these values is basically possible. However, this is not supported in $[officename] Calc because it does not make sense within spreadsheets.</paragraph>
+<paragraph role="paragraph" id="par_id3150112" xml-lang="en-US" l10n="U" oldref="9">Libraries can be reloaded during runtime and their contents can be analyzed by the administrative functions. For each function, information is available about count and type of parameters, internal and external function names and an administrative number.</paragraph>
+<paragraph role="paragraph" id="par_id3155269" xml-lang="en-US" l10n="U" oldref="10">The functions are called synchronously and return their results immediately. Real time functions (asynchronous functions) are also possible; however, they are not explained in detail because of their complexity.</paragraph>
+<paragraph role="heading" id="hd_id3145077" xml-lang="en-US" level="2" l10n="U" oldref="11">General information about the interface</paragraph>
+<paragraph role="paragraph" id="par_id3146776" xml-lang="en-US" l10n="U" oldref="12">The maximum number of parameters in an Add-In function attached to $[officename] Calc is 16: one return value and a maximum of 15 function input parameters.</paragraph>
+<paragraph role="paragraph" id="par_id3149899" xml-lang="en-US" l10n="U" oldref="13">The data types are defined as follows:</paragraph>
+<table id="tbl_id3159203">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151302" xml-lang="en-US" l10n="U" oldref="14">
+<emph>Data types</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Definition</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149384" xml-lang="en-US" l10n="U" oldref="16">CALLTYPE</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146963" xml-lang="en-US" l10n="U" oldref="17">Under Windows: FAR PASCAL (_far _pascal)</paragraph>
+<paragraph role="paragraph" id="par_id3153809" xml-lang="en-US" l10n="U" oldref="18">Other: default (operating system specific default)</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154734" xml-lang="en-US" l10n="U" oldref="19">USHORT</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155760" xml-lang="en-US" l10n="U" oldref="20">2 Byte unsigned Integer</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145320" xml-lang="en-US" l10n="U" oldref="21">DOUBLE</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150956" xml-lang="en-US" l10n="U" oldref="22">8 byte platform-dependent format</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146097" xml-lang="en-US" l10n="U" oldref="23">Paramtype</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150432" xml-lang="en-US" l10n="U" oldref="24">Platform-dependent like int</paragraph>
+<paragraph role="paragraph" id="par_id3153955" xml-lang="en-US" l10n="U" oldref="25">PTR_DOUBLE =0 pointer to a double</paragraph>
+<paragraph role="paragraph" id="par_id3159262" xml-lang="en-US" l10n="U" oldref="26">PTR_STRING =1 pointer to a zero-terminated string</paragraph>
+<paragraph role="paragraph" id="par_id3148747" xml-lang="en-US" l10n="U" oldref="27">PTR_DOUBLE_ARR =2 pointer to a double array</paragraph>
+<paragraph role="paragraph" id="par_id3147406" xml-lang="en-US" l10n="U" oldref="28">PTR_STRING_ARR =3 pointer to a string array</paragraph>
+<paragraph role="paragraph" id="par_id3151392" xml-lang="en-US" l10n="U" oldref="29">PTR_CELL_ARR =4 pointer to a cell array</paragraph>
+<paragraph role="paragraph" id="par_id3153028" xml-lang="en-US" l10n="U" oldref="30">NONE =5</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3156396" xml-lang="en-US" level="2" l10n="U" oldref="31"><switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>DLL</defaultinline></switchinline> functions</paragraph>
+<paragraph role="paragraph" id="par_id3153019" xml-lang="en-US" l10n="U" oldref="32">Following you will find a description of those functions, which are called at the <switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>external DLL</defaultinline></switchinline>.</paragraph>
+<paragraph role="paragraph" id="par_id3150038" xml-lang="en-US" l10n="U" oldref="33">For all <switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>DLL</defaultinline></switchinline> functions, the following applies:</paragraph>
+<paragraph role="paragraph" id="par_id3157876" xml-lang="en-US" l10n="U" oldref="34">void CALLTYPE fn(out, in1, in2, ...)</paragraph>
+<paragraph role="paragraph" id="par_id3147616" xml-lang="en-US" l10n="U" oldref="35">Output: Resulting value</paragraph>
+<paragraph role="paragraph" id="par_id3159119" xml-lang="en-US" l10n="U" oldref="36">Input: Any number of types (double&amp;, char*, double*, char**, Cell area), where the <link href="text/scalc/01/04060112.xhp" name="Cell area">Cell area</link> is an array of types double array, string array, or cell array.</paragraph>
+<paragraph role="heading" id="hd_id3150653" xml-lang="en-US" level="3" l10n="U" oldref="37">GetFunctionCount()</paragraph>
+<paragraph role="paragraph" id="par_id3152981" xml-lang="en-US" l10n="U" oldref="38">Returns the number of functions without the management functions of the reference parameter. Each function has a unique number between 0 and nCount-1. This number will be needed for the <link href="text/scalc/01/04060112.xhp" name="GetFunctionData">GetFunctionData</link> and <link href="text/scalc/01/04060112.xhp" name="GetParameterDescription">GetParameterDescription</link> functions later.</paragraph>
+<paragraph role="paragraph" id="par_id3150742" xml-lang="en-US" l10n="U" oldref="39">
+<emph>Syntax</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3148728" xml-lang="en-US" l10n="U" oldref="40">void CALLTYPE GetFunctionCount(USHORT&amp; nCount)</paragraph>
+<paragraph role="paragraph" id="par_id3154677" xml-lang="en-US" l10n="U" oldref="41">
+<emph>Parameter</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3146940" xml-lang="en-US" l10n="U" oldref="42">USHORT &amp;nCount:</paragraph>
+<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="43">Output: Reference to a variable, which is supposed to contain the number of Add-In functions. For example: If the Add-In provides 5 functions for $[officename] Calc, then nCount=5.</paragraph>
+<paragraph role="heading" id="hd_id3147476" xml-lang="en-US" level="3" l10n="U" oldref="44">GetFunctionData()</paragraph>
+<paragraph role="paragraph" id="par_id3154841" xml-lang="en-US" l10n="U" oldref="45">Determines all the important information about an Add-In function.</paragraph>
+<paragraph role="paragraph" id="par_id3148888" xml-lang="en-US" l10n="U" oldref="46">
+<emph>Syntax</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3148434" xml-lang="en-US" l10n="U" oldref="47">void CALLTYPE GetFunctionData(USHORT&amp; nNo, char* pFuncName, USHORT&amp; nParamCount, Paramtype* peType, char* pInternalName)</paragraph>
+<paragraph role="paragraph" id="par_id3149253" xml-lang="en-US" l10n="U" oldref="48">
+<emph>Parameter</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3149686" xml-lang="en-US" l10n="U" oldref="49">USHORT&amp; nNo:</paragraph>
+<paragraph role="paragraph" id="par_id3149949" xml-lang="en-US" l10n="U" oldref="50">Input: Function number between 0 and nCount-1, inclusively.</paragraph>
+<paragraph role="paragraph" id="par_id3149546" xml-lang="en-US" l10n="U" oldref="51">char* pFuncName:</paragraph>
+<paragraph role="paragraph" id="par_id3148579" xml-lang="en-US" l10n="U" oldref="52">Output: Function name as seen by the programmer, as it is named in the <switchinline select="sys"><caseinline select="UNIX">Shared Library
+</caseinline><defaultinline>DLL</defaultinline></switchinline>. This name does not determine the name used in the <emph>Function Wizard</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3153935" xml-lang="en-US" l10n="U" oldref="53">USHORT&amp; nParamCount:</paragraph>
+<paragraph role="paragraph" id="par_id3150142" xml-lang="en-US" l10n="U" oldref="54">Output: Number of parameters in AddIn function. This number must be greater than 0, because there is always a result value; the maximum value is 16.</paragraph>
+<paragraph role="paragraph" id="par_id3145143" xml-lang="en-US" l10n="U" oldref="55">Paramtype* peType:</paragraph>
+<paragraph role="paragraph" id="par_id3148750" xml-lang="en-US" l10n="U" oldref="56">Output: Pointer to an array of exactly 16 variables of type Paramtype. The first nParamCount entries are filled with the suitable type of parameter.</paragraph>
+<paragraph role="paragraph" id="par_id3153078" xml-lang="en-US" l10n="U" oldref="57">char* pInternalName:</paragraph>
+<paragraph role="paragraph" id="par_id3155261" xml-lang="en-US" l10n="U" oldref="58">Output: Function name as seen by the user, as it appears in the <emph>Function Wizard</emph>. May contain umlauts.</paragraph>
+<paragraph role="paragraph" id="par_id3153327" xml-lang="en-US" l10n="U" oldref="59">The pFuncName and pInternalName parameters are char arrays, which are implemented with size 256 in $[officename] Calc.</paragraph>
+<paragraph role="heading" id="hd_id3148567" xml-lang="en-US" level="3" l10n="U" oldref="60">GetParameterDescription()</paragraph>
+<paragraph role="paragraph" id="par_id3153000" xml-lang="en-US" l10n="U" oldref="61">Provides a brief description of the Add-In function and its parameters. As an option, this function can be used to show a function and parameter description in the <emph>Function Wizard</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3154501" xml-lang="en-US" l10n="U" oldref="62">
+<emph>Syntax</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3153564" xml-lang="en-US" l10n="U" oldref="63">void CALLTYPE GetParameterDescription(USHORT&amp; nNo, USHORT&amp; nParam, char* pName, char* pDesc)</paragraph>
+<paragraph role="paragraph" id="par_id3157995" xml-lang="en-US" l10n="U" oldref="64">
+<emph>Parameter</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3155925" xml-lang="en-US" l10n="U" oldref="65">USHORT&amp; nNo:</paragraph>
+<paragraph role="paragraph" id="par_id3149883" xml-lang="en-US" l10n="U" oldref="66">Input: Number of the function in the library; between 0 and nCount-1.</paragraph>
+<paragraph role="paragraph" id="par_id3154326" xml-lang="en-US" l10n="U" oldref="67">USHORT&amp; nParam:</paragraph>
+<paragraph role="paragraph" id="par_id3159139" xml-lang="en-US" l10n="U" oldref="68">Input: Indicates, for which parameter the description is provided; parameters start at 1. If nParam is 0, the description itself is supposed to be provided in pDesc; in this case, pName does not have any meaning.</paragraph>
+<paragraph role="paragraph" id="par_id3147374" xml-lang="en-US" l10n="U" oldref="69">char* pName:</paragraph>
+<paragraph role="paragraph" id="par_id3145245" xml-lang="en-US" l10n="U" oldref="70">Output: Takes up the parameter name or type, for example, the word "Number" or "String" or "Date", and so on. Implemented in $[officename] Calc as char[256].</paragraph>
+<paragraph role="paragraph" id="par_id3151020" xml-lang="en-US" l10n="U" oldref="71">char* pDesc:</paragraph>
+<paragraph role="paragraph" id="par_id3148389" xml-lang="en-US" l10n="U" oldref="72">Output: Takes up the description of the parameter, for example, "Value, at which the universe is to be calculated." Implemented in $[officename] Calc as char[256].</paragraph>
+<paragraph role="paragraph" id="par_id3145303" xml-lang="en-US" l10n="U" oldref="73">pName and pDesc are char arrays; implemented in $[officename] Calc with size 256. Please note that the space available in the <emph>Function Wizard</emph> is limited and that the 256 characters cannot be fully used.</paragraph>
+<paragraph role="heading" id="hd_id3148874" xml-lang="en-US" level="2" l10n="U" oldref="76">Cell areas</paragraph>
+<paragraph role="paragraph" id="par_id3150265" xml-lang="en-US" l10n="U" oldref="77">The following tables contain information about which data structures must be provided by an external program module in order to pass cell areas. $[officename] Calc distinguishes between three different arrays, depending on the data type.</paragraph>
+<paragraph role="heading" id="hd_id3156060" xml-lang="en-US" level="3" l10n="U" oldref="78">Double Array</paragraph>
+<paragraph role="paragraph" id="par_id3149540" xml-lang="en-US" l10n="U" oldref="79">As a parameter, a cell area with values of the Number/Double type can be passed. A double array in $[officename] Calc is defined as follows:</paragraph>
+<table id="tbl_id3150665">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149388" xml-lang="en-US" l10n="U" oldref="80">
+<emph>Offset</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154636" xml-lang="en-US" l10n="U" oldref="81">
+<emph>Name</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153228" xml-lang="en-US" l10n="U" oldref="82">
+<emph>Description</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150685" xml-lang="en-US" l10n="U" oldref="83">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154869" xml-lang="en-US" l10n="U" oldref="84">Col1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147541" xml-lang="en-US" l10n="U" oldref="85">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149783" xml-lang="en-US" l10n="U" oldref="86">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155986" xml-lang="en-US" l10n="U" oldref="87">Row1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147483" xml-lang="en-US" l10n="U" oldref="88">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153721" xml-lang="en-US" l10n="U" oldref="89">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="U" oldref="90">Tab1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149820" xml-lang="en-US" l10n="U" oldref="91">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3163820" xml-lang="en-US" l10n="U" oldref="92">6</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149710" xml-lang="en-US" l10n="U" oldref="93">Col2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154819" xml-lang="en-US" l10n="U" oldref="94">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145083" xml-lang="en-US" l10n="U" oldref="95">8</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156310" xml-lang="en-US" l10n="U" oldref="96">Row2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150968" xml-lang="en-US" l10n="U" oldref="97">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156133" xml-lang="en-US" l10n="U" oldref="98">10</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153218" xml-lang="en-US" l10n="U" oldref="99">Tab2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147086" xml-lang="en-US" l10n="U" oldref="100">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151270" xml-lang="en-US" l10n="U" oldref="101">12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152934" xml-lang="en-US" l10n="U" oldref="102">Count</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145202" xml-lang="en-US" l10n="U" oldref="103">Number of the following elements. Empty cells are not counted or passed.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150879" xml-lang="en-US" l10n="U" oldref="104">14</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156002" xml-lang="en-US" l10n="U" oldref="105">Col</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147276" xml-lang="en-US" l10n="U" oldref="106">Column number of the element. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151295" xml-lang="en-US" l10n="U" oldref="107">16</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150261" xml-lang="en-US" l10n="U" oldref="108">Row</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155851" xml-lang="en-US" l10n="U" oldref="109">Row number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153150" xml-lang="en-US" l10n="U" oldref="110">18</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153758" xml-lang="en-US" l10n="U" oldref="111">Tab</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150154" xml-lang="en-US" l10n="U" oldref="112">Table number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149289" xml-lang="en-US" l10n="U" oldref="113">20</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156010" xml-lang="en-US" l10n="U" oldref="114">Error</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159181" xml-lang="en-US" l10n="U" oldref="115">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147493" xml-lang="en-US" l10n="U" oldref="116">22</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149200" xml-lang="en-US" l10n="U" oldref="117">Value</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151174" xml-lang="en-US" l10n="U" oldref="118">8 byte IEEE variable of type double/floating point</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154688" xml-lang="en-US" l10n="U" oldref="119">30</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159337" xml-lang="en-US" l10n="U" oldref="120">...</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155388" xml-lang="en-US" l10n="U" oldref="121">Next element</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3154935" xml-lang="en-US" level="3" l10n="U" oldref="122">String Array</paragraph>
+<paragraph role="paragraph" id="par_id3153105" xml-lang="en-US" l10n="U" oldref="123">A cell area, which contains values of data type Text and is passed as a string array. A string array in $[officename] Calc is defined as follows:</paragraph>
+<table id="tbl_id3146992">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149908" xml-lang="en-US" l10n="U" oldref="124">
+<emph>Offset</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159165" xml-lang="en-US" l10n="U" oldref="125">
+<emph>Name</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159150" xml-lang="en-US" l10n="U" oldref="126">
+<emph>Description</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149769" xml-lang="en-US" l10n="U" oldref="127">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150509" xml-lang="en-US" l10n="U" oldref="128">Col1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148447" xml-lang="en-US" l10n="U" oldref="129">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145418" xml-lang="en-US" l10n="U" oldref="130">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147512" xml-lang="en-US" l10n="U" oldref="131">Row1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147235" xml-lang="en-US" l10n="U" oldref="132">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155362" xml-lang="en-US" l10n="U" oldref="133">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151051" xml-lang="en-US" l10n="U" oldref="134">Tab1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148923" xml-lang="en-US" l10n="U" oldref="135">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149158" xml-lang="en-US" l10n="U" oldref="136">6</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3166437" xml-lang="en-US" l10n="U" oldref="137">Col2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149788" xml-lang="en-US" l10n="U" oldref="138">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3166450" xml-lang="en-US" l10n="U" oldref="139">8</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152877" xml-lang="en-US" l10n="U" oldref="140">Row2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152949" xml-lang="en-US" l10n="U" oldref="141">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159270" xml-lang="en-US" l10n="U" oldref="142">10</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154107" xml-lang="en-US" l10n="U" oldref="143">Tab2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153747" xml-lang="en-US" l10n="U" oldref="144">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149924" xml-lang="en-US" l10n="U" oldref="145">12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154858" xml-lang="en-US" l10n="U" oldref="146">Count</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148621" xml-lang="en-US" l10n="U" oldref="147">Number of the following elements. Empty cells are not counted or passed.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148467" xml-lang="en-US" l10n="U" oldref="148">14</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151126" xml-lang="en-US" l10n="U" oldref="149">Col</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154334" xml-lang="en-US" l10n="U" oldref="150">Column number of the element. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149416" xml-lang="en-US" l10n="U" oldref="151">16</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150631" xml-lang="en-US" l10n="U" oldref="152">Row</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150424" xml-lang="en-US" l10n="U" oldref="153">Row number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154797" xml-lang="en-US" l10n="U" oldref="154">18</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3143274" xml-lang="en-US" l10n="U" oldref="155">Tab</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149513" xml-lang="en-US" l10n="U" oldref="156">Table number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145306" xml-lang="en-US" l10n="U" oldref="157">20</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="158">Error</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153534" xml-lang="en-US" l10n="U" oldref="159">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="160">22</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148695" xml-lang="en-US" l10n="U" oldref="161">Len</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152769" xml-lang="en-US" l10n="U" oldref="162">Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&amp;~1).</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153772" xml-lang="en-US" l10n="U" oldref="163">24</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153702" xml-lang="en-US" l10n="U" oldref="164">String</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154474" xml-lang="en-US" l10n="U" oldref="165">String with closing zero byte</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156269" xml-lang="en-US" l10n="U" oldref="166">24+Len</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154825" xml-lang="en-US" l10n="U" oldref="167">...</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147097" xml-lang="en-US" l10n="U" oldref="168">Next element</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="3" l10n="U" oldref="169">Cell Array</paragraph>
+<paragraph role="paragraph" id="par_id3156140" xml-lang="en-US" l10n="U" oldref="170">Cell arrays are used to call cell areas containing text as well as numbers. A cell array in $[officename] Calc is defined as follows:</paragraph>
+<table id="tbl_id3150942">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154664" xml-lang="en-US" l10n="U" oldref="171">
+<emph>Offset</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154566" xml-lang="en-US" l10n="U" oldref="172">
+<emph>Name</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146073" xml-lang="en-US" l10n="U" oldref="173">
+<emph>Description</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154117" xml-lang="en-US" l10n="U" oldref="174">0</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150988" xml-lang="en-US" l10n="U" oldref="175">Col1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146783" xml-lang="en-US" l10n="U" oldref="176">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153666" xml-lang="en-US" l10n="U" oldref="177">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149560" xml-lang="en-US" l10n="U" oldref="178">Row1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156156" xml-lang="en-US" l10n="U" oldref="179">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150408" xml-lang="en-US" l10n="U" oldref="180">4</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150593" xml-lang="en-US" l10n="U" oldref="181">Tab1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150357" xml-lang="en-US" l10n="U" oldref="182">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="183">6</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153352" xml-lang="en-US" l10n="U" oldref="184">Col2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155893" xml-lang="en-US" l10n="U" oldref="185">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150827" xml-lang="en-US" l10n="U" oldref="186">8</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="U" oldref="187">Row2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150673" xml-lang="en-US" l10n="U" oldref="188">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155864" xml-lang="en-US" l10n="U" oldref="189">10</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153197" xml-lang="en-US" l10n="U" oldref="190">Tab2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149329" xml-lang="en-US" l10n="U" oldref="191">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147360" xml-lang="en-US" l10n="U" oldref="192">12</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154520" xml-lang="en-US" l10n="U" oldref="193">Count</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150647" xml-lang="en-US" l10n="U" oldref="194">Number of the following elements. Empty cells are not counted or passed.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149747" xml-lang="en-US" l10n="U" oldref="195">14</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147579" xml-lang="en-US" l10n="U" oldref="196">Col</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154188" xml-lang="en-US" l10n="U" oldref="197">Column number of the element. Numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159209" xml-lang="en-US" l10n="U" oldref="198">16</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153265" xml-lang="en-US" l10n="U" oldref="199">Row</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150095" xml-lang="en-US" l10n="U" oldref="200">Row number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151276" xml-lang="en-US" l10n="U" oldref="201">18</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="202">Tab</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146925" xml-lang="en-US" l10n="U" oldref="203">Table number of the element; numbering starts at 0.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150488" xml-lang="en-US" l10n="U" oldref="204">20</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149441" xml-lang="en-US" l10n="U" oldref="205">Error</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156048" xml-lang="en-US" l10n="U" oldref="206">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3163813" xml-lang="en-US" l10n="U" oldref="207">22</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159102" xml-lang="en-US" l10n="U" oldref="208">Type</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="209">Type of cell content, 0 == Double, 1 == String</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155182" xml-lang="en-US" l10n="U" oldref="210">24</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153291" xml-lang="en-US" l10n="U" oldref="211">Value or Len</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148560" xml-lang="en-US" l10n="U" oldref="212">If type == 0: 8 byte IEEE variable of type double/floating point</paragraph>
+<paragraph role="paragraph" id="par_id3148901" xml-lang="en-US" l10n="U" oldref="213">If type == 1: Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&amp;~1).</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145215" xml-lang="en-US" l10n="U" oldref="214">26 if type==1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155143" xml-lang="en-US" l10n="U" oldref="215">String</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149298" xml-lang="en-US" l10n="U" oldref="216">If type == 1: String with closing zero byte</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151322" xml-lang="en-US" l10n="U" oldref="217">32 or 26+Len</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3163722" xml-lang="en-US" l10n="U" oldref="218">...</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151059" xml-lang="en-US" l10n="U" oldref="219">Next element</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060115.xhp b/source/text/scalc/01/04060115.xhp
new file mode 100644
index 0000000000..ac3a60d86a
--- /dev/null
+++ b/source/text/scalc/01/04060115.xhp
@@ -0,0 +1,310 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060115xml" indexer="include">
+<title id="tit" xml-lang="en-US">Add-in Functions, List of Analysis Functions Part One</title>
+<filename>/text/scalc/01/04060115.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152871"><bookmark_value>add-ins; analysis functions</bookmark_value>
+<bookmark_value>analysis functions</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3152871" xml-lang="en-US" level="1" l10n="U" oldref="1">Add-in Functions, List of Analysis Functions Part One</paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#addinana"/>
+</section>
+<section id="relatedtopics">
+<paragraph role="paragraph" id="par_id3149873" xml-lang="en-US" l10n="U" oldref="102"><link href="text/scalc/01/04060110.xhp" name="General conversion function BASIS">General conversion function BASIS</link></paragraph>
+<paragraph role="paragraph" id="par_id3145324" xml-lang="en-US" l10n="U" oldref="5"><link href="text/scalc/01/04060116.xhp" name="Analysis functions Part Two">Analysis functions Part Two</link></paragraph>
+<paragraph role="paragraph" id="par_id3155751" xml-lang="en-US" l10n="U" oldref="156"><link href="text/scalc/01/04060111.xhp" name="Back to the Overview">Back to the Overview</link></paragraph>
+</section>
+<sort>
+<section id="besseli">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153074"><bookmark_value>Bessel functions</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BESSELI" id="bm_id3150435" localize="false"/>
+<paragraph role="heading" id="hd_id3153334" xml-lang="en-US" level="2" oldref="111">BESSELI</paragraph>
+<paragraph role="paragraph" id="par_id3153960" xml-lang="en-US" l10n="U" oldref="112"><ahelp hid="HID_AAI_FUNC_BESSELI">Calculates the modified Bessel function.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150392" xml-lang="en-US" level="3" l10n="U" oldref="113">Syntax</paragraph>
+<paragraph role="code" id="par_id3147295" xml-lang="en-US" l10n="U" oldref="114">BESSELI(X; N)</paragraph>
+<paragraph role="paragraph" id="par_id3151338" xml-lang="en-US" l10n="U" oldref="115">
+<emph>X</emph> is the value on which the function will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3151392" xml-lang="en-US" l10n="U" oldref="116">
+<emph>N</emph> is the order of the Bessel function</paragraph>
+</section>
+<section id="besselj">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BESSELJ" id="bm_id3150539" localize="false"/>
+<paragraph role="heading" id="hd_id3153027" xml-lang="en-US" level="2" oldref="103">BESSELJ</paragraph>
+<paragraph role="paragraph" id="par_id3153015" xml-lang="en-US" l10n="U" oldref="104"><ahelp hid="HID_AAI_FUNC_BESSELJ">Calculates the Bessel function (cylinder function).</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3146884" xml-lang="en-US" level="3" l10n="U" oldref="105">Syntax</paragraph>
+<paragraph role="code" id="par_id3150032" xml-lang="en-US" l10n="U" oldref="106">BESSELJ(X; N)</paragraph>
+<paragraph role="paragraph" id="par_id3150378" xml-lang="en-US" l10n="U" oldref="107">
+<emph>X</emph> is the value on which the function will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3145638" xml-lang="en-US" l10n="U" oldref="108">
+<emph>N</emph> is the order of the Bessel function</paragraph>
+</section>
+<section id="besselk">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BESSELK" id="bm_id3147616" localize="false"/>
+<paragraph role="heading" id="hd_id3149946" xml-lang="en-US" level="2" oldref="117">BESSELK</paragraph>
+<paragraph role="paragraph" id="par_id3159122" xml-lang="en-US" l10n="U" oldref="118"><ahelp hid="HID_AAI_FUNC_BESSELK">Calculates the modified Bessel function.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150650" xml-lang="en-US" level="3" l10n="U" oldref="119">Syntax</paragraph>
+<paragraph role="code" id="par_id3149354" xml-lang="en-US" l10n="U" oldref="120">BESSELK(X; N)</paragraph>
+<paragraph role="paragraph" id="par_id3150481" xml-lang="en-US" l10n="U" oldref="121">
+<emph>X</emph> is the value on which the function will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3150024" xml-lang="en-US" l10n="U" oldref="122">
+<emph>N</emph> is the order of the Bessel function</paragraph>
+</section>
+<section id="bessely">
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BESSELY" id="bm_id3150461" localize="false"/>
+<paragraph role="heading" id="hd_id3145828" xml-lang="en-US" level="2" oldref="123">BESSELY</paragraph>
+<paragraph role="paragraph" id="par_id3146877" xml-lang="en-US" l10n="CHG" oldref="124"><ahelp hid="HID_AAI_FUNC_BESSELY">Calculates the modified Bessel function.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3146941" xml-lang="en-US" level="3" l10n="U" oldref="125">Syntax</paragraph>
+<paragraph role="code" id="par_id3148884" xml-lang="en-US" l10n="U" oldref="126">BESSELY(X; N)</paragraph>
+<paragraph role="paragraph" id="par_id3147475" xml-lang="en-US" l10n="U" oldref="127">
+<emph>X</emph> is the value on which the function will be calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3147421" xml-lang="en-US" l10n="U" oldref="128">
+<emph>N</emph> is the order of the Bessel function</paragraph>
+</section>
+<section id="bin2dec">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153034"><bookmark_value>BIN2DEC function</bookmark_value>
+<bookmark_value>converting;binary numbers, into decimal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BIN2DEC" id="bm_id3151230" localize="false"/>
+<paragraph role="heading" id="hd_id3153034" xml-lang="en-US" level="2" oldref="17">BIN2DEC</paragraph>
+<paragraph role="paragraph" id="par_id3144744" xml-lang="en-US" l10n="U" oldref="18"><ahelp hid="HID_AAI_FUNC_BIN2DEC">The result is the decimal number for the binary number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145593" xml-lang="en-US" level="3" l10n="U" oldref="19">Syntax</paragraph>
+<paragraph role="code" id="par_id3149726" xml-lang="en-US" l10n="U" oldref="20">BIN2DEC(Number)</paragraph>
+<paragraph role="paragraph" id="par_id3150142" xml-lang="en-US" l10n="U" oldref="21">
+<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="heading" id="hd_id3149250" xml-lang="en-US" level="3" l10n="U" oldref="22">Example</paragraph>
+<paragraph role="paragraph" id="par_id3145138" xml-lang="en-US" l10n="U" oldref="23">
+<item type="input">=BIN2DEC(1100100)</item> returns 100.</paragraph>
+</section>
+<section id="bin2hex">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149954"><bookmark_value>BIN2HEX function</bookmark_value>
+<bookmark_value>converting;binary numbers, into hexadecimal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BIN2HEX" id="bm_id3149548" localize="false"/>
+<paragraph role="heading" id="hd_id3149954" xml-lang="en-US" level="2" oldref="24">BIN2HEX</paragraph>
+<paragraph role="paragraph" id="par_id3148585" xml-lang="en-US" l10n="U" oldref="25"><ahelp hid="HID_AAI_FUNC_BIN2HEX">The result is the hexadecimal number for the binary number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153936" xml-lang="en-US" level="3" l10n="U" oldref="26">Syntax</paragraph>
+<paragraph role="code" id="par_id3148753" xml-lang="en-US" l10n="U" oldref="27">BIN2HEX(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3155255" xml-lang="en-US" l10n="U" oldref="28">
+<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="paragraph" id="par_id3150860" xml-lang="en-US" l10n="U" oldref="29">Places means the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3155829" xml-lang="en-US" level="3" l10n="U" oldref="30">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149686" xml-lang="en-US" l10n="U" oldref="31">
+<item type="input">=BIN2HEX(1100100;6)</item> returns 000064.</paragraph>
+</section>
+<section id="bin2oct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153332"><bookmark_value>BIN2OCT function</bookmark_value>
+<bookmark_value>converting;binary numbers, into octal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_BIN2OCT" id="bm_id3146848" localize="false"/>
+<paragraph role="heading" id="hd_id3153332" xml-lang="en-US" level="2" oldref="9">BIN2OCT</paragraph>
+<paragraph role="paragraph" id="par_id3155951" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_AAI_FUNC_BIN2OCT"> The result is the octal number for the binary number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153001" xml-lang="en-US" level="3" l10n="U" oldref="11">Syntax</paragraph>
+<paragraph role="code" id="par_id3154508" xml-lang="en-US" l10n="U" oldref="12">BIN2OCT(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3153567" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="paragraph" id="par_id3155929" xml-lang="en-US" l10n="U" oldref="14">
+<emph>Places</emph> means the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3150128" xml-lang="en-US" level="3" l10n="U" oldref="15">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153733" xml-lang="en-US" l10n="U" oldref="16">
+<item type="input">=BIN2OCT(1100100;4)</item> returns 0144.</paragraph>
+</section>
+<section id="delta">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150014"><bookmark_value>DELTA function</bookmark_value>
+<bookmark_value>recognizing;equal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DELTA" id="bm_id3149880" localize="false"/>
+<paragraph role="heading" id="hd_id3150014" xml-lang="en-US" level="2" oldref="129">DELTA</paragraph>
+<paragraph role="paragraph" id="par_id3148760" xml-lang="en-US" l10n="U" oldref="130"><ahelp hid="HID_AAI_FUNC_DELTA">The result is TRUE (1) if both numbers, which are delivered as an argument, are equal, otherwise it is FALSE (0).</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155435" xml-lang="en-US" level="3" l10n="U" oldref="131">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3145247" xml-lang="en-US" l10n="U" oldref="132">DELTA(Number1; Number2)</paragraph>
+<paragraph role="heading" id="hd_id3149002" xml-lang="en-US" level="3" l10n="U" oldref="133">Example</paragraph>
+<paragraph role="paragraph" id="par_id3151020" xml-lang="en-US" l10n="U" oldref="134">
+<item type="input">=DELTA(1;2)</item> returns 0.</paragraph>
+</section>
+<section id="dec2bin">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157971"><bookmark_value>DEC2BIN function</bookmark_value>
+<bookmark_value>converting;decimal numbers, into binary numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DEC2BIN" id="bm_id3148389" localize="false"/>
+<paragraph role="heading" id="hd_id3157971" xml-lang="en-US" level="2" oldref="55">DEC2BIN</paragraph>
+<paragraph role="paragraph" id="par_id3153043" xml-lang="en-US" l10n="U" oldref="56"><ahelp hid="HID_AAI_FUNC_DEC2BIN"> The result is the binary number for the decimal number entered between -512 and 511.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145349" xml-lang="en-US" level="3" l10n="U" oldref="57">Syntax</paragraph>
+<paragraph role="code" id="par_id3150569" xml-lang="en-US" l10n="U" oldref="58">DEC2BIN(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3148768" xml-lang="en-US" l10n="U" oldref="59">
+<emph>Number</emph> is a decimal number. If Number is negative, the function returns a binary number with 10 characters. The most significant bit is the sign bit, the other 9 bits return the value.</paragraph>
+<paragraph role="paragraph" id="par_id3149537" xml-lang="en-US" l10n="U" oldref="60">
+<emph>Places</emph> means the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3150265" xml-lang="en-US" level="3" l10n="U" oldref="61">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150662" xml-lang="en-US" l10n="U" oldref="62">
+<item type="input">=DEC2BIN(100;8)</item> returns 01100100.</paragraph>
+</section>
+<section id="dec2hex">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149388"><bookmark_value>DEC2HEX function</bookmark_value>
+<bookmark_value>converting;decimal numbers, into hexadecimal numbers</bookmark_value>
+</bookmark><comment>mw added one entr</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DEC2HEX" id="bm_id3155513" localize="false"/>
+<paragraph role="heading" id="hd_id3149388" xml-lang="en-US" level="2" oldref="71">DEC2HEX</paragraph>
+<paragraph role="paragraph" id="par_id3149030" xml-lang="en-US" l10n="U" oldref="72"><ahelp hid="HID_AAI_FUNC_DEC2HEX">The result is the hexadecimal number for the decimal number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150691" xml-lang="en-US" level="3" l10n="U" oldref="73">Syntax</paragraph>
+<paragraph role="code" id="par_id3147535" xml-lang="en-US" l10n="U" oldref="74">DEC2HEX(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3152820" xml-lang="en-US" l10n="U" oldref="75">
+<emph>Number</emph> is a decimal number. If Number is negative, the function returns a hexadecimal number with 10 characters (40 bits). The most significant bit is the sign bit, the other 39 bits return the value.</paragraph>
+<paragraph role="paragraph" id="par_id3153221" xml-lang="en-US" l10n="U" oldref="76">
+<emph>Places</emph> means the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3154869" xml-lang="en-US" level="3" l10n="U" oldref="77">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150476" xml-lang="en-US" l10n="U" oldref="78">
+<item type="input">=DEC2HEX(100;4)</item> returns 0064.</paragraph>
+</section>
+<section id="dec2oct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154948"><bookmark_value>DEC2OCT function</bookmark_value>
+<bookmark_value>converting;decimal numbers, into octal numbers</bookmark_value>
+</bookmark><comment>mw added one entr</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DEC2OCT" id="bm_id3156260" localize="false"/>
+<paragraph role="heading" id="hd_id3154948" xml-lang="en-US" level="2" oldref="63">DEC2OCT</paragraph>
+<paragraph role="paragraph" id="par_id3153920" xml-lang="en-US" l10n="U" oldref="64"><ahelp hid="HID_AAI_FUNC_DEC2OCT">The result is the octal number for the decimal number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153178" xml-lang="en-US" level="3" l10n="U" oldref="65">Syntax</paragraph>
+<paragraph role="code" id="par_id3148427" xml-lang="en-US" l10n="U" oldref="66">DEC2OCT(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3155991" xml-lang="en-US" l10n="U" oldref="67">
+<emph>Number</emph> is a decimal number. If Number is negative, the function returns an octal number with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value.</paragraph>
+<paragraph role="paragraph" id="par_id3152587" xml-lang="en-US" l10n="U" oldref="68">
+<emph>Places</emph> means the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3147482" xml-lang="en-US" level="3" l10n="U" oldref="69">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="U" oldref="70">
+<item type="input">=DEC2OCT(100;4)</item> returns 0144.</paragraph>
+</section>
+<section id="erf">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3083446"><bookmark_value>ERF function</bookmark_value>
+<bookmark_value>Gaussian error integral</bookmark_value>
+</bookmark><comment>mw added one entr</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ERF" id="bm_id3149823" localize="false"/>
+<paragraph role="heading" id="hd_id3083446" xml-lang="en-US" level="2" oldref="135">ERF</paragraph>
+<paragraph role="paragraph" id="par_id3150381" xml-lang="en-US" l10n="U" oldref="136"><ahelp hid="HID_AAI_FUNC_ERF">Returns values of the Gaussian error integral.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3152475" xml-lang="en-US" level="3" l10n="U" oldref="137">Syntax</paragraph>
+<paragraph role="code" id="par_id3163824" xml-lang="en-US" l10n="U" oldref="138">ERF(LowerLimit; UpperLimit)</paragraph>
+<paragraph role="paragraph" id="par_id3149715" xml-lang="en-US" l10n="U" oldref="139">
+<emph>LowerLimit</emph> is the lower limit of the integral.</paragraph>
+<paragraph role="paragraph" id="par_id3156294" xml-lang="en-US" l10n="U" oldref="140">
+<emph>UpperLimit</emph> is optional. It is the upper limit of the integral. If this value is missing, the calculation takes places between 0 and the lower limit.</paragraph>
+<paragraph role="heading" id="hd_id3154819" xml-lang="en-US" level="3" l10n="U" oldref="141">Example</paragraph>
+<paragraph role="paragraph" id="par_id3152974" xml-lang="en-US" l10n="U" oldref="142">
+<item type="input">=ERF(0;1)</item> returns 0.842701.</paragraph>
+</section>
+<section id="erfc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145082"><bookmark_value>ERFC function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ERFC" id="bm_id3156307" localize="false"/>
+<paragraph role="heading" id="hd_id3145082" xml-lang="en-US" level="2" oldref="143">ERFC</paragraph>
+<paragraph role="paragraph" id="par_id3149453" xml-lang="en-US" l10n="U" oldref="144"><ahelp hid="HID_AAI_FUNC_ERFC">Returns complementary values of the Gaussian error integral between x and infinity.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155839" xml-lang="en-US" level="3" l10n="U" oldref="145">Syntax</paragraph>
+<paragraph role="code" id="par_id3153220" xml-lang="en-US" l10n="U" oldref="146">ERFC(LowerLimit)</paragraph>
+<paragraph role="paragraph" id="par_id3147620" xml-lang="en-US" l10n="U" oldref="147">
+<emph>LowerLimit</emph> is the lower limit of the integral</paragraph>
+<paragraph role="heading" id="hd_id3146861" xml-lang="en-US" level="3" l10n="U" oldref="148">Example</paragraph>
+<paragraph role="paragraph" id="par_id3156102" xml-lang="en-US" l10n="U" oldref="149">
+<item type="input">=ERFC(1)</item> returns 0.157299.</paragraph>
+</section>
+<section id="gestep">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152927"><bookmark_value>GESTEP function</bookmark_value>
+<bookmark_value>numbers;greater than or equal to</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_GESTEP" id="bm_id3151182" localize="false"/>
+<paragraph role="heading" id="hd_id3152927" xml-lang="en-US" level="2" l10n="E" oldref="150">GESTEP</paragraph>
+<paragraph role="paragraph" id="par_id3150763" xml-lang="en-US" l10n="U" oldref="151"><ahelp hid="HID_AAI_FUNC_GESTEP">The result is 1 if <item type="literal">Number</item> is greater than or equal to <item type="literal">Step</item>.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150879" xml-lang="en-US" level="3" l10n="U" oldref="152">Syntax</paragraph>
+<paragraph role="code" id="par_id3145212" xml-lang="en-US" l10n="U" oldref="153">GESTEP(Number; Step)</paragraph>
+<paragraph role="heading" id="hd_id3153275" xml-lang="en-US" level="3" l10n="U" oldref="154">Example</paragraph>
+<paragraph role="paragraph" id="par_id3156132" xml-lang="en-US" l10n="U" oldref="155">
+<item type="input">=GESTEP(5;1)</item> returns 1.</paragraph>
+</section>
+<section id="hex2bin">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147276"><bookmark_value>HEX2BIN function</bookmark_value>
+<bookmark_value>converting;hexadecimal numbers, into binary numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_HEX2BIN" id="bm_id3145659" localize="false"/>
+<paragraph role="heading" id="hd_id3147276" xml-lang="en-US" level="2" oldref="79">HEX2BIN</paragraph>
+<paragraph role="paragraph" id="par_id3150258" xml-lang="en-US" l10n="U" oldref="80"><ahelp hid="HID_AAI_FUNC_HEX2BIN">The result is the binary number for the hexadecimal number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156117" xml-lang="en-US" level="3" l10n="U" oldref="81">Syntax</paragraph>
+<paragraph role="code" id="par_id3155847" xml-lang="en-US" l10n="U" oldref="82">HEX2BIN(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3152810" xml-lang="en-US" l10n="U" oldref="83">
+<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="paragraph" id="par_id3153758" xml-lang="en-US" l10n="U" oldref="84">
+<emph>Places</emph> is the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3154052" xml-lang="en-US" level="3" l10n="U" oldref="85">Example</paragraph>
+<paragraph role="paragraph" id="par_id3156002" xml-lang="en-US" l10n="U" oldref="86">
+<item type="input">=HEX2BIN(64;8)</item> returns 01100100.</paragraph>
+</section>
+<section id="hex2dec">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154742"><bookmark_value>HEX2DEC function</bookmark_value>
+<bookmark_value>converting;hexadecimal numbers, into decimal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_HEX2DEC" id="bm_id3149978" localize="false"/>
+<paragraph role="heading" id="hd_id3154742" xml-lang="en-US" level="2" oldref="87">HEX2DEC</paragraph>
+<paragraph role="paragraph" id="par_id3153626" xml-lang="en-US" l10n="U" oldref="88"><ahelp hid="HID_AAI_FUNC_HEX2DEC">The result is the decimal number for the hexadecimal number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3143233" xml-lang="en-US" level="3" l10n="U" oldref="89">Syntax</paragraph>
+<paragraph role="code" id="par_id3149293" xml-lang="en-US" l10n="U" oldref="90">HEX2DEC(Number)</paragraph>
+<paragraph role="paragraph" id="par_id3159176" xml-lang="en-US" l10n="U" oldref="91">
+<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="heading" id="hd_id3154304" xml-lang="en-US" level="3" l10n="U" oldref="92">Example</paragraph>
+<paragraph role="paragraph" id="par_id3146093" xml-lang="en-US" l10n="U" oldref="93">
+<item type="input">=HEX2DEC(64)</item> returns 100.</paragraph>
+</section>
+<section id="hex2oct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149750"><bookmark_value>HEX2OCT function</bookmark_value>
+<bookmark_value>converting;hexadecimal numbers, into octal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_HEX2OCT" id="bm_id3147487" localize="false"/>
+<paragraph role="heading" id="hd_id3149750" xml-lang="en-US" level="2" oldref="94">HEX2OCT</paragraph>
+<paragraph role="paragraph" id="par_id3153983" xml-lang="en-US" l10n="U" oldref="95"><ahelp hid="HID_AAI_FUNC_HEX2OCT">The result is the octal number for the hexadecimal number entered.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145660" xml-lang="en-US" level="3" l10n="U" oldref="96">Syntax</paragraph>
+<paragraph role="code" id="par_id3151170" xml-lang="en-US" l10n="U" oldref="97">HEX2OCT(Number; Places)</paragraph>
+<paragraph role="paragraph" id="par_id3152795" xml-lang="en-US" l10n="U" oldref="98">
+<emph>Number</emph> is a hexadecimal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+<paragraph role="paragraph" id="par_id3149204" xml-lang="en-US" l10n="U" oldref="99">
+<emph>Places</emph> is the number of places to be output.</paragraph>
+<paragraph role="heading" id="hd_id3153901" xml-lang="en-US" level="3" l10n="U" oldref="100">Example</paragraph>
+<paragraph role="paragraph" id="par_id3159341" xml-lang="en-US" l10n="U" oldref="101">
+<item type="input">=HEX2OCT(64;4)</item> returns 0144.</paragraph>
+</section>
+</sort>
+<section id="Section1">
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060116.xhp b/source/text/scalc/01/04060116.xhp
new file mode 100644
index 0000000000..03c4eefbba
--- /dev/null
+++ b/source/text/scalc/01/04060116.xhp
@@ -0,0 +1,747 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+ <topic id="textscalc0104060116xml" indexer="include">
+ <title xml-lang="en-US" id="tit">Add-in Functions, List of Analysis Functions Part Two</title>
+ <filename>/text/scalc/01/04060116.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145074"><bookmark_value>imaginary numbers in analysis functions</bookmark_value>
+ <bookmark_value>complex numbers in analysis functions</bookmark_value>
+</bookmark>
+<paragraph xml-lang="en-US" id="hd_id3154659" role="heading" level="1" l10n="U" oldref="1">Add-in Functions, List of Analysis Functions Part Two</paragraph>
+ <section id="howtoget">
+ <embed href="text/scalc/00/00000404.xhp#addinana"/>
+ </section>
+ <section id="relatedtopics">
+ <paragraph xml-lang="en-US" id="par_id3151242" role="paragraph" l10n="U" oldref="174"><link href="text/scalc/01/04060108.xhp" name="Category Statistics">Category Statistics</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148869" role="paragraph" l10n="U" oldref="5"><link href="text/scalc/01/04060115.xhp" name="Analysis Functions Part One">Analysis Functions Part One</link></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147072" role="paragraph" l10n="U" oldref="240"><link href="text/scalc/01/04060111.xhp" name="Back to the Overview">Back to the Overview</link></paragraph>
+ </section>
+<sort>
+<section id="imabs">
+ <paragraph xml-lang="en-US" id="par_id3145074" role="paragraph" l10n="E" oldref="166"
+ localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154959"><bookmark_value>IMABS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMABS" id="bm_id3154541" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154959" role="heading" level="2" oldref="44">IMABS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149895" role="paragraph" l10n="U" oldref="45"><ahelp hid="HID_AAI_FUNC_IMABS">The result is the absolute value of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155382" role="heading" level="3" l10n="U"
+ oldref="46">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151302" role="code" l10n="U" oldref="47">IMABS("ComplexNumber")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153974" role="paragraph" l10n="CHG" oldref="48"><variable id="complex"><emph>ComplexNumber</emph> is a complex number that is entered in the form "x+yi" or "x+yj".
+</variable><comment>no blanks allowed, see i82522</comment></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149697" role="heading" level="3" l10n="U"
+ oldref="49">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143222" role="paragraph" l10n="U" oldref="50">
+ <item type="input">=IMABS("5+12j")</item> returns 13.</paragraph>
+ </section>
+ <section id="imaginary">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145357"><bookmark_value>IMAGINARY function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMAGINARY" id="bm_id3154651" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145357" role="heading" level="2" oldref="51">IMAGINARY</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146965" role="paragraph" l10n="U" oldref="52"><ahelp hid="HID_AAI_FUNC_IMAGINARY">The result is the imaginary coefficient of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153555" role="heading" level="3" l10n="U"
+ oldref="53">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155522" role="code" l10n="U" oldref="54">IMAGINARY("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3151193" role="heading" level="3" l10n="U"
+ oldref="56">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155592" role="paragraph" l10n="U" oldref="57">
+ <item type="input">=IMAGINARY("4+3j")</item> returns 3.</paragraph>
+ </section>
+ <section id="impower">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146106"><bookmark_value>IMPOWER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMPOWER" id="bm_id3155755" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3146106" role="heading" level="2" oldref="58">IMPOWER</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147245" role="paragraph" l10n="U" oldref="59"><ahelp hid="HID_AAI_FUNC_IMPOWER">The result is the integer power of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150954" role="heading" level="3" l10n="U"
+ oldref="60">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147501" role="code" l10n="U" oldref="61">IMPOWER("ComplexNumber"; Number)</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="par_id3155743" role="paragraph" l10n="U" oldref="63">
+ <emph>Number</emph> is the exponent.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149048" role="heading" level="3" l10n="U"
+ oldref="64">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151393" role="paragraph" l10n="U" oldref="65">
+ <item type="input">=IMPOWER("2+3i";2)</item> returns -5+12i.</paragraph>
+ </section>
+ <section id="imargument">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148748"><bookmark_value>IMARGUMENT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMARGUMENT" id="bm_id3147297" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148748" role="heading" level="2" oldref="66">IMARGUMENT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151341" role="paragraph" l10n="U" oldref="67"><ahelp hid="HID_AAI_FUNC_IMARGUMENT">The result is the argument (the phi angle) of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150533" role="heading" level="3" l10n="U"
+ oldref="68">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156402" role="code" l10n="U" oldref="69">IMARGUMENT("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3153019" role="heading" level="3" l10n="U"
+ oldref="71">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159125" role="paragraph" l10n="U" oldref="72">
+ <item type="input">=IMARGUMENT("3+4j")</item> returns 0.927295.</paragraph>
+ </section>
+ <section id="imcos">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149146"><bookmark_value>IMCOS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMCOS" id="bm_id3150378" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149146" role="heading" level="2" oldref="73">IMCOS</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149725" role="paragraph" l10n="U" oldref="74"><ahelp hid="HID_AAI_FUNC_IMCOS">The result is the cosine of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159116" role="heading" level="3" l10n="U"
+ oldref="75">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147415" role="code" l10n="U" oldref="76">IMCOS("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3152980" role="heading" level="3" l10n="U"
+ oldref="78">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157901" role="paragraph" l10n="U" oldref="79">
+ <item type="input">=IMCOS("3+4j") </item>returns -27.03-3.85i (rounded).</paragraph>
+ </section>
+ <section id="imdiv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150024"><bookmark_value>IMDIV function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMDIV" id="bm_id3154679" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150024" role="heading" level="2" oldref="80">IMDIV</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145825" role="paragraph" l10n="U" oldref="81"><ahelp hid="HID_AAI_FUNC_IMDIV">The result is the division of two complex numbers.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150465" role="heading" level="3" l10n="U"
+ oldref="82">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146942" role="code" l10n="U" oldref="83">IMDIV("Numerator"; "Denominator")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150741" role="paragraph" l10n="CHG" oldref="84">
+ <emph>Numerator</emph>, <emph>Denominator</emph> are complex numbers that are entered in the form "x+yi" or "x+yj".</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3151229" role="heading" level="3" l10n="U"
+ oldref="85">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148440" role="paragraph" l10n="U" oldref="86">
+ <item type="input">=IMDIV("-238+240i";"10+24i")</item> returns 5+12i.</paragraph>
+ </section>
+ <section id="imexp">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153039"><bookmark_value>IMEXP function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMEXP" id="bm_id3147468" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3153039" role="heading" level="2" oldref="87">IMEXP</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3144741" role="paragraph" l10n="CHG" oldref="88"><ahelp hid="HID_AAI_FUNC_IMEXP">The result is the power of e and the complex number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145591" role="heading" level="3" l10n="U"
+ oldref="89">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154810" role="code" l10n="U" oldref="90">IMEXP("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3148581" role="heading" level="3" l10n="U"
+ oldref="92">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149253" role="paragraph" l10n="U" oldref="93">
+ <item type="input">=IMEXP("1+j") </item>returns 1.47+2.29j (rounded).</paragraph>
+ </section>
+ <section id="imconjugate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149955"><bookmark_value>IMCONJUGATE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMCONJUGATE" id="bm_id3152782" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3149955" role="heading" level="2" oldref="94">IMCONJUGATE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155263" role="paragraph" l10n="U" oldref="95"><ahelp hid="HID_AAI_FUNC_IMCONJUGATE">The result is the conjugated complex complement to a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148750" role="heading" level="3" l10n="U"
+ oldref="96">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153082" role="code" l10n="U" oldref="97">IMCONJUGATE("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3153326" role="heading" level="3" l10n="U"
+ oldref="99">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149688" role="paragraph" l10n="U" oldref="100">
+ <item type="input">=IMCONJUGATE("1+j")</item> returns 1-j.</paragraph>
+ </section>
+ <section id="imln">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150898"><bookmark_value>IMLN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLN" id="bm_id3149190" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3150898" role="heading" level="2" oldref="101">IMLN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146853" role="paragraph" l10n="CHG" oldref="102"><ahelp hid="HID_AAI_FUNC_IMLN">The result is the natural logarithm (to the base e) of a complex number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150008" role="heading" level="3" l10n="U"
+ oldref="103">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155954" role="code" l10n="U" oldref="104">IMLN("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3153565" role="heading" level="3" l10n="U"
+ oldref="106">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153736" role="paragraph" l10n="U" oldref="107">
+ <item type="input">=IMLN("1+j")</item> returns 0.35+0.79j (rounded).</paragraph>
+ </section>
+ <section id="imlog10">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155929"><bookmark_value>IMLOG10 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLOG10" id="bm_id3148765" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155929" role="heading" level="2" oldref="108">IMLOG10</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149882" role="paragraph" l10n="CHG" oldref="109"><ahelp hid="HID_AAI_FUNC_IMLOG10">The result is the common logarithm (to the base 10) of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154327" role="heading" level="3" l10n="U"
+ oldref="110">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150128" role="code" l10n="U" oldref="111">IMLOG10("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3149003" role="heading" level="3" l10n="U"
+ oldref="113">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151021" role="paragraph" l10n="U" oldref="114">
+ <item type="input">=IMLOG10("1+j")</item> returns 0.15+0.34j (rounded).</paragraph>
+ </section>
+ <section id="imlog2">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155623"><bookmark_value>IMLOG2 function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLOG2" id="bm_id3157975" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155623" role="heading" level="2" oldref="115">IMLOG2</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150932" role="paragraph" l10n="U" oldref="116"><ahelp hid="HID_AAI_FUNC_IMLOG2">The result is the binary logarithm of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153046" role="heading" level="3" l10n="U"
+ oldref="117">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145355" role="code" l10n="U" oldref="118">IMLOG2("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3148768" role="heading" level="3" l10n="U"
+ oldref="120">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149536" role="paragraph" l10n="U" oldref="121">
+ <item type="input">=IMLOG2("1+j")</item> returns 0.50+1.13j (rounded).</paragraph>
+ </section>
+ <section id="improduct">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145626"><bookmark_value>IMPRODUCT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMPRODUCT" id="bm_id3150661" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3145626" role="heading" level="2" oldref="122">IMPRODUCT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153545" role="paragraph" l10n="U" oldref="123"><ahelp hid="HID_AAI_FUNC_IMPRODUCT">The result is the product of up to 29 complex numbers.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149388" role="heading" level="3" l10n="U"
+ oldref="124">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149027" role="code" l10n="U" oldref="125">IMPRODUCT("ComplexNumber"; "ComplexNumber1"; ...)</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3153228" role="heading" level="3" l10n="U"
+ oldref="127">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155815" role="paragraph" l10n="U" oldref="128">
+ <item type="input">=IMPRODUCT("3+4j";"5-3j")</item> returns 27+11j.</paragraph>
+ </section>
+ <section id="imreal">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147539"><bookmark_value>IMREAL function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMREAL" id="bm_id3148596" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147539" role="heading" level="2" oldref="129">IMREAL</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155372" role="paragraph" l10n="U" oldref="130"><ahelp hid="HID_AAI_FUNC_IMREAL">The result is the real coefficient of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154951" role="heading" level="3" l10n="U"
+ oldref="131">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153927" role="code" l10n="U" oldref="132">IMREAL("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3155409" role="heading" level="3" l10n="U"
+ oldref="134">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155986" role="paragraph" l10n="U" oldref="135">
+ <item type="input">=IMREAL("1+3j")</item> returns 1.</paragraph>
+ </section>
+ <section id="imsin">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148431"><bookmark_value>IMSIN function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSIN" id="bm_id3153716" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148431" role="heading" level="2" oldref="136">IMSIN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152591" role="paragraph" l10n="U" oldref="137"><ahelp hid="HID_AAI_FUNC_IMSIN">The result is the sine of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149822" role="heading" level="3" l10n="U"
+ oldref="138">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150387" role="code" l10n="U" oldref="139">IMSIN("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3150613" role="heading" level="3" l10n="U"
+ oldref="141">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154310" role="paragraph" l10n="U" oldref="142">
+ <item type="input">=IMSIN("3+4j")</item> returns 3.85+27.02j (rounded).</paragraph>
+ </section>
+ <section id="imsub">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3163826"><bookmark_value>IMSUB function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSUB" id="bm_id3152481" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3163826" role="heading" level="2" oldref="143">IMSUB</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149277" role="paragraph" l10n="U" oldref="144"><ahelp hid="HID_AAI_FUNC_IMSUB">The result is the subtraction of two complex numbers.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149264" role="heading" level="3" l10n="U"
+ oldref="145">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149710" role="code" l10n="U" oldref="146">IMSUB("ComplexNumber1"; "ComplexNumber2")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3155833" role="heading" level="3" l10n="U"
+ oldref="148">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150963" role="paragraph" l10n="U" oldref="149">
+ <item type="input">=IMSUB("13+4j";"5+3j")</item> returns 8+j.</paragraph>
+ </section>
+ <section id="imsum">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156312"><bookmark_value>IMSUM function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSUM" id="bm_id3149454" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3156312" role="heading" level="2" oldref="150">IMSUM</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153215" role="paragraph" l10n="U" oldref="151"><ahelp hid="HID_AAI_FUNC_IMSUM">The result is the sum of up to 29 complex numbers.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156095" role="heading" level="3" l10n="U"
+ oldref="152">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152930" role="code" l10n="U" oldref="153">IMSUM("ComplexNumber1"; "ComplexNumber2"; ...)</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3154640" role="heading" level="3" l10n="U"
+ oldref="155">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147081" role="paragraph" l10n="U" oldref="156">
+ <item type="input">=IMSUM("13+4j";"5+3j")</item> returns 18+7j.</paragraph>
+ </section>
+ <section id="imsqrt">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147570"><bookmark_value>IMSQRT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSQRT" id="bm_id3151189" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147570" role="heading" level="2" oldref="167">IMSQRT</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156131" role="paragraph" l10n="U" oldref="168"><ahelp hid="HID_AAI_FUNC_IMSQRT">The result is the square root of a complex number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145202" role="heading" level="3" l10n="U"
+ oldref="169">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150760" role="code" l10n="U" oldref="170">IMSQRT("ComplexNumber")</paragraph>
+ <embed href="text/scalc/01/04060116.xhp#complex"/>
+ <paragraph xml-lang="en-US" id="hd_id3147268" role="heading" level="3" l10n="U"
+ oldref="172">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152807" role="paragraph" l10n="U" oldref="173">
+ <item type="input">=IMSQRT("3+4i")</item> returns 2+1i.</paragraph>
+ </section>
+ <section id="complexfunc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154054"><bookmark_value>COMPLEX function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COMPLEX" id="bm_id3156116" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3154054" role="heading" level="2" oldref="157">COMPLEX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156111" role="paragraph" l10n="U" oldref="158"><ahelp hid="HID_AAI_FUNC_COMPLEX">The result is a complex number which is returned from a real coefficient and an imaginary coefficient.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154744" role="heading" level="3" l10n="U"
+ oldref="159">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155999" role="code" l10n="U" oldref="160">COMPLEX(RealNum; INum; Suffix)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153626" role="paragraph" l10n="U" oldref="161">
+ <emph>RealNum</emph> is the real coefficient of the complex number.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149135" role="paragraph" l10n="U" oldref="162">
+ <emph>INum</emph> is the imaginary coefficient of the complex number.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155849" role="paragraph" l10n="U" oldref="163">
+ <emph>Suffix</emph> is a list of options, "i" or "j".</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145659" role="heading" level="3" l10n="U"
+ oldref="164">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3143229" role="paragraph" l10n="U" oldref="165">
+ <item type="input">=COMPLEX(3;4;"j")</item> returns 3+4j.</paragraph>
+ </section>
+ <section id="oct2bin">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155103"><bookmark_value>OCT2BIN function</bookmark_value>
+ <bookmark_value>converting;octal numbers, into binary numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2BIN" id="bm_id3149290" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155103" role="heading" level="2" l10n="E"
+ oldref="217">OCT2BIN</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3146898" role="paragraph" l10n="U" oldref="218"><ahelp hid="HID_AAI_FUNC_OCT2BIN">The result is the binary number for the octal number entered.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146088" role="heading" level="3" l10n="U"
+ oldref="219">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154303" role="code" l10n="U" oldref="220">OCT2BIN(Number; Places)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156013" role="paragraph" l10n="U" oldref="221">
+ <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153984" role="paragraph" l10n="U" oldref="222">
+ <emph>Places</emph> is the number of places to be output.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147493" role="heading" level="3" l10n="U"
+ oldref="223">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147260" role="paragraph" l10n="U" oldref="224">
+ <item type="input">=OCT2BIN(3;3)</item> returns 011.</paragraph>
+ </section>
+ <section id="oct2dec">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152791"><bookmark_value>OCT2DEC function</bookmark_value>
+ <bookmark_value>converting;octal numbers, into decimal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2DEZ" id="bm_id3151168" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3152791" role="heading" level="2" oldref="225">OCT2DEC</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3149199" role="paragraph" l10n="U" oldref="226"><ahelp hid="HID_AAI_FUNC_OCT2DEZ">The result is the decimal number for the octal number entered.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159337" role="heading" level="3" l10n="U"
+ oldref="227">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153902" role="code" l10n="U" oldref="228">OCT2DEC(Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155326" role="paragraph" l10n="U" oldref="229">
+ <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154698" role="heading" level="3" l10n="U"
+ oldref="230">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154930" role="paragraph" l10n="U" oldref="231">
+ <item type="input">=OCT2DEC(144)</item> returns 100.</paragraph>
+ </section>
+ <section id="oct2hex">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155391"><bookmark_value>OCT2HEX function</bookmark_value>
+ <bookmark_value>converting;octal numbers, into hexadecimal numbers</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2HEX" id="bm_id3149904" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3155391" role="heading" level="2" oldref="232">OCT2HEX</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148831" role="paragraph" l10n="U" oldref="233"><ahelp hid="HID_AAI_FUNC_OCT2HEX"> The result is the hexadecimal number for the octal number entered.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146988" role="heading" level="3" l10n="U"
+ oldref="234">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150523" role="code" l10n="U" oldref="235">OCT2HEX(Number; Places)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3159162" role="paragraph" l10n="U" oldref="236">
+ <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145420" role="paragraph" l10n="U" oldref="237">
+ <emph>Places</emph> is the number of places to be output.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150504" role="heading" level="3" l10n="U"
+ oldref="238">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3148802" role="paragraph" l10n="U" oldref="239">
+ <item type="input">=OCT2HEX(144;4)</item> returns 0064.</paragraph>
+ </section>
+ <section id="convertadd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148446"><bookmark_value>CONVERT_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_CONVERT" id="bm_id3150773" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3148446" role="heading" level="2" l10n="CHG"
+ oldref="175">CONVERT_ADD</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154902" role="paragraph" l10n="U" oldref="176"><ahelp hid="HID_AAI_FUNC_CONVERT">Converts a value from one unit of measure to the corresponding value in another unit of measure.</ahelp> Enter the units of measures directly as text in quotation marks or as a reference. If you enter the units of measure in cells, they must correspond exactly with the following list which is case sensitive: For example, in order to enter a lower case l (for liter) in a cell, enter the apostrophe ' immediately followed by l.</paragraph>
+ <table id="tbl_id3149771">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153055" role="tablehead" l10n="U" oldref="177">Property</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147234" role="tablehead" l10n="U" oldref="178">Units</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147512" role="tablecontent" l10n="U" oldref="179">Weight</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148476" role="tablecontent" l10n="U" oldref="180"><emph>g</emph>, sg, lbm, <emph>u</emph>, ozm, stone, ton, grain, pweight, hweight, shweight, brton</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155361" role="tablecontent" l10n="U" oldref="181">Length</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148925" role="tablecontent" l10n="U" oldref="182"><emph>m</emph>, mi, Nmi, in, ft, yd, ang, Pica, ell, <emph>parsec</emph>, <emph>lightyear</emph>, survey_mi</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3158429" role="tablecontent" l10n="U" oldref="183">Time</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150707" role="tablecontent" l10n="U" oldref="184">yr, day, hr, mn, <emph>sec</emph>, <emph>s</emph></paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153238" role="tablecontent" l10n="U" oldref="185">Pressure</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3166437" role="tablecontent" l10n="U" oldref="186"><emph>Pa</emph>, <emph>atm</emph>, <emph>at</emph>, <emph>mmHg</emph>, Torr, psi</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3152944" role="tablecontent" l10n="U" oldref="187">Force</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155582" role="tablecontent" l10n="U" oldref="188"><emph>N</emph>, <emph>dyn</emph>, <emph>dy</emph>, lbf, <emph>pond</emph></paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153686" role="tablecontent" l10n="U" oldref="189">Energy</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153386" role="tablecontent" l10n="U" oldref="190"><emph>J</emph>, <emph>e</emph>, <emph>c</emph>, <emph>cal</emph>, <emph>eV</emph>, <emph>ev</emph>, HPh, <emph>Wh</emph>, <emph>wh</emph>, flb, BTU, btu</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154100" role="tablecontent" l10n="U" oldref="191">Power</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149915" role="tablecontent" l10n="U" oldref="192"><emph>W</emph>, <emph>w</emph>, HP, PS</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148988" role="tablecontent" l10n="U" oldref="193">Field strength</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148616" role="tablecontent" l10n="U" oldref="194"><emph>T</emph>, <emph>ga</emph></paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151120" role="tablecontent" l10n="U" oldref="195">Temperature</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148659" role="tablecontent" l10n="U" oldref="196">C, F, <emph>K</emph>, <emph>kel</emph>, Reau, Rank</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154610" role="tablecontent" l10n="U" oldref="197">Volume</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149423" role="tablecontent" l10n="U" oldref="198"><emph>l</emph>, <emph>L</emph>, <emph>lt</emph>, tsp, tbs, oz, cup, pt, us_pt, qt, gal, <emph>m3</emph>, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3, barrel, bushel, regton, Schooner, Middy, Glass</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149244" role="tablecontent" l10n="U" oldref="199">Area</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150425" role="tablecontent" l10n="U" oldref="200"><emph>m2</emph>, mi2, Nmi2, in2, ft2, yd2, <emph>ang2</emph>, Pica2, Morgen, <emph>ar</emph>, acre, ha</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150629" role="tablecontent" l10n="U" oldref="201">Speed</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159246" role="tablecontent" l10n="U" oldref="202"><emph>m/s</emph>, <emph>m/sec</emph>, m/h, mph, kn, admkn</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150789" role="tablecontent" l10n="U" oldref="201">Information</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3159899" role="tablecontent" l10n="U" oldref="202"><emph>bit</emph>, <emph>byte</emph></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <paragraph xml-lang="en-US" id="par_id3143277" role="paragraph" l10n="U" oldref="203">Units of measure in <emph>bold</emph> can be preceded by a prefix character from the following list:</paragraph>
+ <table id="tbl_id3144759">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148422" role="tablehead" l10n="U" oldref="204">Prefix</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3148423" role="tablehead">Multiplier</paragraph>
+</tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149490" role="tablecontent">Y (yotta)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149931" role="tablecontent">10^24</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149491" role="tablecontent">Z (zetta)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149932" role="tablecontent">10^21</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149492" role="tablecontent">E (exa)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149933" role="tablecontent">10^18</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149493" role="tablecontent">P (peta)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149934" role="tablecontent">10^15</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149494" role="tablecontent">T (tera)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149935" role="tablecontent">10^12</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149495" role="tablecontent">G (giga)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149936" role="tablecontent">10^9</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149496" role="tablecontent">M (mega)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149937" role="tablecontent">10^6</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149497" role="tablecontent">k (kilo)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149938" role="tablecontent">10^3</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149498" role="tablecontent">h (hecto)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149939" role="tablecontent">10^2</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149499" role="tablecontent">e (deca)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149940" role="tablecontent">10^1</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149500" role="tablecontent">d (deci)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3143940" role="tablecontent">10^-1</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149501" role="tablecontent">c (centi)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149941" role="tablecontent">10^-2</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149502" role="tablecontent">m (milli)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149942" role="tablecontent">10^-3</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149503" role="tablecontent">u (micro)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149943" role="tablecontent">10^-6</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149504" role="tablecontent">n (nano)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149944" role="tablecontent">10^-9</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149505" role="tablecontent">p (pico)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149945" role="tablecontent">10^-12</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149506" role="tablecontent">f (femto)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149946" role="tablecontent">10^-15</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149507" role="tablecontent">a (atto)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149947" role="tablecontent">10^-18</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149508" role="tablecontent">z (zepto)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149948" role="tablecontent">10^-21</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149509" role="tablecontent">y (yocto)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3149949" role="tablecontent">10^-24</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph xml-lang="en-US" id="par_id0908200903061174" role="paragraph">Information units "bit" and "byte" may also be prefixed by one of the following IEC 60027-2 / IEEE 1541 prefixes:</paragraph>
+ <table id="tbl_id3144749">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id0908200903090966" role="code" l10n="NEW">ki kibi 1024</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903090958" role="code" l10n="NEW">Mi mebi 1048576</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903090936" role="code" l10n="NEW">Gi gibi 1073741824</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903090975" role="code" l10n="NEW">Ti tebi 1099511627776</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903090930" role="code" l10n="NEW">Pi pebi 1125899906842620</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903091070" role="code" l10n="NEW">Ei exbi 1152921504606850000</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903091097" role="code" l10n="NEW">Zi zebi 1180591620717410000000</paragraph>
+ <paragraph xml-lang="en-US" id="par_id0908200903091010" role="code" l10n="NEW">Yi yobi 1208925819614630000000000</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+ <paragraph xml-lang="en-US" id="hd_id3146125" role="heading" level="3" l10n="U"
+ oldref="209">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153695" role="code" l10n="U" oldref="210">CONVERT_ADD(Number; "FromUnit"; "ToUnit")</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3147522" role="paragraph" l10n="U" oldref="211">
+ <emph>Number</emph> is the number to be converted.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154472" role="paragraph" l10n="U" oldref="212">
+ <emph>FromUnit</emph> is the unit from which conversion is taking place.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3153790" role="paragraph" l10n="U" oldref="213">
+ <emph>ToUnit</emph> is the unit to which conversion is taking place. Both units must be of the same type.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156270" role="heading" level="3" l10n="U"
+ oldref="214">Examples</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3156336" role="paragraph" l10n="U" oldref="215">
+ <item type="input">=CONVERT_ADD(10;"HP";"PS") </item>returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154834" role="paragraph" l10n="U" oldref="216">
+ <item type="input">=CONVERT_ADD(10;"km";"mi") </item>returns, rounded to two decimal places, 6.21. 10 kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.</paragraph>
+ </section>
+ <section id="factdouble">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147096"><bookmark_value>FACTDOUBLE function</bookmark_value>
+ <bookmark_value>factorials;numbers with increments of two</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_FACTDOUBLE" id="bm_id3150950" localize="false"/>
+<paragraph xml-lang="en-US" id="hd_id3147096" role="heading" level="2" oldref="36">FACTDOUBLE</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3151309" role="paragraph" l10n="CHG" oldref="37"><ahelp hid="HID_AAI_FUNC_FACTDOUBLE">Returns the double factorial of a number.</ahelp></paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154666" role="heading" level="3" l10n="U"
+ oldref="38">Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3155121" role="code" l10n="U" oldref="39">FACTDOUBLE(Number)</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3158440" role="paragraph" l10n="CHG" oldref="40">Returns <emph>Number</emph>
+ <emph>!!</emph>, the double factorial of <emph>Number</emph>, where <emph>Number</emph> is an integer greater than or equal to zero.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2480849" role="paragraph" l10n="NEW">For even numbers FACTDOUBLE(n) returns:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4181951" role="paragraph" l10n="NEW">2*4*6*8* ... *n</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2927335" role="paragraph" l10n="NEW">For odd numbers FACTDOUBLE(n) returns:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id2107303" role="paragraph" l10n="NEW">1*3*5*7* ... *n</paragraph>
+ <paragraph xml-lang="en-US" id="par_id4071779" role="paragraph" l10n="NEW">FACTDOUBLE(0) returns 1 by definition.</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154622" role="heading" level="3" l10n="U"
+ oldref="42">Example</paragraph>
+ <paragraph xml-lang="en-US" id="par_id7844477" role="paragraph" l10n="NEW">
+ <item type="input">=FACTDOUBLE(5)</item> returns 15.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3154116" role="paragraph" l10n="U" oldref="43">
+ <item type="input">=FACTDOUBLE(6)</item> returns 48.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id6478469" role="paragraph" l10n="NEW">
+ <item type="input">=FACTDOUBLE(0)</item> returns 1.</paragraph><comment>see also FACT, MULTINOMIAL, PRODUCT </comment>
+</section>
+</sort>
+<section id="Section1">
+ <embed href="text/scalc/01/04060100.xhp#drking"/>
+ </section>
+ </body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060118.xhp b/source/text/scalc/01/04060118.xhp
new file mode 100644
index 0000000000..a0efc2347d
--- /dev/null
+++ b/source/text/scalc/01/04060118.xhp
@@ -0,0 +1,607 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060118xml" indexer="include">
+<title id="tit" xml-lang="en-US">Financial Functions Part Three</title>
+<filename>/text/scalc/01/04060118.xhp</filename>
+</topic>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3146780" xml-lang="en-US" level="1" l10n="U" oldref="1">Financial Functions Part Three</paragraph>
+<sort>
+<section id="oddfprice">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145112"><bookmark_value>ODDFPRICE function</bookmark_value>
+<bookmark_value>prices;securities with irregular first interest date</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFPRICE" id="bm_id3146107" localize="false"/>
+<paragraph role="heading" id="hd_id3145112" xml-lang="en-US" level="2" oldref="71">ODDFPRICE</paragraph>
+<paragraph role="paragraph" id="par_id3147250" xml-lang="en-US" l10n="U" oldref="72"><ahelp hid="HID_AAI_FUNC_ODDFPRICE">Calculates the price per 100 currency units par value of a security, if the first interest date falls irregularly.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153074" xml-lang="en-US" level="3" l10n="U" oldref="73">Syntax</paragraph>
+<paragraph role="code" id="par_id3146098" xml-lang="en-US" l10n="U" oldref="74">ODDFPRICE(Settlement; Maturity; Issue; FirstCoupon; Rate; Yield; Redemption; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3153337" xml-lang="en-US" l10n="U" oldref="75">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149051" xml-lang="en-US" l10n="U" oldref="76">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3147297" xml-lang="en-US" l10n="U" oldref="77">
+<emph>Issue</emph> is the date of issue of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3150393" xml-lang="en-US" l10n="U" oldref="78">
+<emph>FirstCoupon</emph> is the first interest date of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3147402" xml-lang="en-US" l10n="U" oldref="79">
+<emph>Rate</emph> is the annual rate of interest.</paragraph>
+<paragraph role="paragraph" id="par_id3151387" xml-lang="en-US" l10n="U" oldref="80">
+<emph>Yield</emph> is the annual yield of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3153023" xml-lang="en-US" l10n="U" oldref="81">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<paragraph role="paragraph" id="par_id3150539" xml-lang="en-US" l10n="U" oldref="82">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+</section>
+<section id="oddfyield">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157871"><bookmark_value>ODDFYIELD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFYIELD" id="bm_id3149723" localize="false"/>
+<paragraph role="heading" id="hd_id3157871" xml-lang="en-US" level="2" oldref="87">ODDFYIELD</paragraph>
+<paragraph role="paragraph" id="par_id3147414" xml-lang="en-US" l10n="U" oldref="88"><ahelp hid="HID_AAI_FUNC_ODDFYIELD">Calculates the yield of a security if the first interest date falls irregularly.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150651" xml-lang="en-US" level="3" l10n="U" oldref="89">Syntax</paragraph>
+<paragraph role="code" id="par_id3152982" xml-lang="en-US" l10n="U" oldref="90">ODDFYIELD(Settlement; Maturity; Issue; FirstCoupon; Rate; Price; Redemption; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3157906" xml-lang="en-US" l10n="U" oldref="91">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3150026" xml-lang="en-US" l10n="U" oldref="92">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3149012" xml-lang="en-US" l10n="U" oldref="93">
+<emph>Issue</emph> is the date of issue of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3148725" xml-lang="en-US" l10n="U" oldref="94">
+<emph>FirstCoupon</emph> is the first interest period of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3150465" xml-lang="en-US" l10n="U" oldref="95">
+<emph>Rate</emph> is the annual rate of interest.</paragraph>
+<paragraph role="paragraph" id="par_id3146940" xml-lang="en-US" l10n="U" oldref="96">
+<emph>Price</emph> is the price of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="97">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<paragraph role="paragraph" id="par_id3148888" xml-lang="en-US" l10n="U" oldref="98">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+</section>
+<section id="oddlprice">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153933"><bookmark_value>ODDLPRICE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLPRICE" id="bm_id3145596" localize="false"/>
+<paragraph role="heading" id="hd_id3153933" xml-lang="en-US" level="2" oldref="103">ODDLPRICE</paragraph>
+<paragraph role="paragraph" id="par_id3145145" xml-lang="en-US" l10n="U" oldref="104"><ahelp hid="HID_AAI_FUNC_ODDLPRICE">Calculates the price per 100 currency units par value of a security, if the last interest date falls irregularly.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3152784" xml-lang="en-US" level="3" l10n="U" oldref="105">Syntax</paragraph>
+<paragraph role="code" id="par_id3155262" xml-lang="en-US" l10n="U" oldref="106">ODDLPRICE(Settlement; Maturity; LastInterest; Rate; Yield; Redemption; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3149689" xml-lang="en-US" l10n="U" oldref="107">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3148753" xml-lang="en-US" l10n="U" oldref="108">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3150861" xml-lang="en-US" l10n="U" oldref="109">
+<emph>LastInterest</emph> is the last interest date of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3155831" xml-lang="en-US" l10n="U" oldref="110">
+<emph>Rate</emph> is the annual rate of interest.</paragraph>
+<paragraph role="paragraph" id="par_id3153328" xml-lang="en-US" l10n="U" oldref="111">
+<emph>Yield</emph> is the annual yield of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149186" xml-lang="en-US" l10n="U" oldref="112">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<paragraph role="paragraph" id="par_id3149726" xml-lang="en-US" l10n="U" oldref="113">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3153111" xml-lang="en-US" level="3" l10n="U" oldref="114">Example</paragraph>
+<paragraph role="paragraph" id="par_id3152999" xml-lang="en-US" l10n="U" oldref="115">Settlement date: February 7 1999, maturity date: June 15 1999, last interest: October 15 1998. Interest rate: 3.75 per cent, yield: 4.05 per cent, redemption value: 100 currency units, frequency of payments: half-yearly = 2, basis: = 0</paragraph>
+<paragraph role="paragraph" id="par_id3148567" xml-lang="en-US" l10n="U" oldref="116">The price per 100 currency units per value of a security, which has an irregular last interest date, is calculated as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3150332" xml-lang="en-US" l10n="CHG" oldref="117">=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829.</paragraph>
+</section>
+<section id="oddlyield">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153564"><bookmark_value>ODDLYIELD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLYIELD" id="bm_id3153732" localize="false"/>
+<paragraph role="heading" id="hd_id3153564" xml-lang="en-US" level="2" oldref="118">ODDLYIELD</paragraph>
+<paragraph role="paragraph" id="par_id3158002" xml-lang="en-US" l10n="U" oldref="119"><ahelp hid="HID_AAI_FUNC_ODDLYIELD">Calculates the yield of a security if the last interest date falls irregularly.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3147366" xml-lang="en-US" level="3" l10n="U" oldref="120">Syntax</paragraph>
+<paragraph role="code" id="par_id3150018" xml-lang="en-US" l10n="U" oldref="121">ODDLYIELD(Settlement; Maturity; LastInterest; Rate; Price; Redemption; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3159132" xml-lang="en-US" l10n="U" oldref="122">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3150134" xml-lang="en-US" l10n="U" oldref="123">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3145245" xml-lang="en-US" l10n="U" oldref="124">
+<emph>LastInterest</emph> is the last interest date of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3151014" xml-lang="en-US" l10n="U" oldref="125">
+<emph>Rate</emph> is the annual rate of interest.</paragraph>
+<paragraph role="paragraph" id="par_id3149003" xml-lang="en-US" l10n="U" oldref="126">
+<emph>Price</emph> is the price of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3148880" xml-lang="en-US" l10n="U" oldref="127">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<paragraph role="paragraph" id="par_id3155622" xml-lang="en-US" l10n="U" oldref="128">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3145303" xml-lang="en-US" level="3" l10n="U" oldref="129">Example</paragraph>
+<paragraph role="paragraph" id="par_id3145350" xml-lang="en-US" l10n="U" oldref="130">Settlement date: April 20 1999, maturity date: June 15 1999, last interest: October 15 1998. Interest rate: 3.75 per cent, price: 99.875 currency units, redemption value: 100 currency units, frequency of payments: half-yearly = 2, basis: = 0</paragraph>
+<paragraph role="paragraph" id="par_id3157990" xml-lang="en-US" l10n="U" oldref="131">The yield of the security, that has an irregular last interest date, is calculated as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3150572" xml-lang="en-US" l10n="CHG" oldref="132">=ODDLYIELD("1999-04-20";"1999-06-15"; "1998-10-15"; 0.0375; 99.875; 100;2;0) returns 0.044873 or 4.4873%.</paragraph>
+</section>
+<section id="vdb">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148768"><bookmark_value>calculating;variable declining depreciations</bookmark_value>
+<bookmark_value>depreciations;variable declining</bookmark_value>
+<bookmark_value>VDB function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VDB" id="bm_id3145624" localize="false"/>
+<paragraph role="heading" id="hd_id3148768" xml-lang="en-US" level="2" oldref="222">VDB</paragraph>
+<paragraph role="paragraph" id="par_id3154636" xml-lang="en-US" l10n="U" oldref="223"><ahelp hid="HID_FUNC_VDB">Returns the depreciation of an asset for a specified or partial period using a variable declining balance method.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155519" xml-lang="en-US" level="3" l10n="U" oldref="224">Syntax</paragraph>
+<paragraph role="code" id="par_id3149025" xml-lang="en-US" l10n="U" oldref="225">VDB(Cost; Salvage; Life; S; End; Factor; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3150692" xml-lang="en-US" l10n="U" oldref="226">
+<emph>Cost</emph> is the initial value of an asset.</paragraph>
+<paragraph role="paragraph" id="par_id3155369" xml-lang="en-US" l10n="U" oldref="227">
+<emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
+<paragraph role="paragraph" id="par_id3154954" xml-lang="en-US" l10n="U" oldref="228">
+<emph>Life</emph> is the depreciation duration of the asset.</paragraph>
+<paragraph role="paragraph" id="par_id3152817" xml-lang="en-US" l10n="U" oldref="229">
+<emph>S</emph> is the start of the depreciation. A must be entered in the same date unit as the duration.</paragraph>
+<paragraph role="paragraph" id="par_id3153221" xml-lang="en-US" l10n="U" oldref="230">
+<emph>End</emph> is the end of the depreciation.</paragraph>
+<paragraph role="paragraph" id="par_id3147536" xml-lang="en-US" l10n="CHG" oldref="231">
+<emph>Factor</emph> (optional) is the depreciation factor. Factor = 2 is double rate depreciation.</paragraph>
+<paragraph role="paragraph" id="par_id3154865" xml-lang="en-US" l10n="CHG" oldref="232">
+<emph>Type </emph>is an optional parameter. Type = 1 means a switch to linear depreciation. In Type = 0 no switch is made.</paragraph>
+<paragraph role="paragraph" id="par_idN10A0D" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3148429" xml-lang="en-US" level="3" l10n="U" oldref="233">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153927" xml-lang="en-US" l10n="U" oldref="234">What is the declining-balance double-rate depreciation for a period if the initial cost is 35,000 currency units and the value at the end of the depreciation is 7,500 currency units. The depreciation period is 3 years. The depreciation from the 10th to the 20th period is calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3155991" xml-lang="en-US" l10n="U" oldref="235">
+<item type="input">=VDB(35000;7500;36;10;20;2)</item> = 8603.80 currency units. The depreciation during the period between the 10th and the 20th period is 8,603.80 currency units.</paragraph>
+</section>
+<section id="xirr">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147485"><bookmark_value>calculating;internal rates of return, irregular payments</bookmark_value>
+<bookmark_value>internal rates of return;irregular payments</bookmark_value>
+<bookmark_value>XIRR function</bookmark_value>
+</bookmark><comment>mw changed "calculating;..." and "internal rates of return"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XIRR" id="bm_id3083443" localize="false"/>
+<paragraph role="heading" id="hd_id3147485" xml-lang="en-US" level="2" oldref="193">XIRR</paragraph>
+<paragraph role="paragraph" id="par_id3145614" xml-lang="en-US" l10n="U" oldref="194"><ahelp hid="HID_AAI_FUNC_XIRR">Calculates the internal rate of return for a list of payments which take place on different dates.</ahelp> The calculation is based on a 365 days per year basis, ignoring leap years.</paragraph>
+<paragraph role="paragraph" id="par_idN10E62" xml-lang="en-US">If the payments take place at regular intervals, use the IRR function.</paragraph>
+<paragraph role="heading" id="hd_id3146149" xml-lang="en-US" level="3" l10n="U" oldref="195">Syntax</paragraph>
+<paragraph role="code" id="par_id3149826" xml-lang="en-US" l10n="U" oldref="196">XIRR(Values; Dates; Guess)</paragraph>
+<paragraph role="paragraph" id="par_id3163821" xml-lang="en-US" l10n="U" oldref="197">
+<emph>Values</emph> and <emph>Dates</emph> refer to a series of payments and the series of associated date values. The first pair of dates defines the start of the payment plan. All other date values must be later, but need not be in any order. The series of values must contain at least one negative and one positive value (receipts and deposits).</paragraph>
+<paragraph role="paragraph" id="par_id3149708" xml-lang="en-US" l10n="U" oldref="198">
+<emph>Guess</emph> (optional) is a guess that can be input for the internal rate of return. The default is 10%.</paragraph>
+<paragraph role="heading" id="hd_id3145085" xml-lang="en-US" level="3" l10n="U" oldref="199">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149273" xml-lang="en-US" l10n="U" oldref="200">Calculation of the internal rate of return for the following five payments:</paragraph>
+<table id="tbl_id3152970">
+<tablerow>
+<tablecell>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155838" xml-lang="en-US" l10n="U" oldref="305">A</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3152934" xml-lang="en-US" l10n="U" oldref="306">B</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154638" xml-lang="en-US" l10n="U" oldref="307">C</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147083" xml-lang="en-US" l10n="U" oldref="308">1</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151187" xml-lang="en-US" l10n="CHG" oldref="309">2001-01-01</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145212" xml-lang="en-US" l10n="U" oldref="201">-<item type="input">10000</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3146856" xml-lang="en-US" l10n="U" oldref="202">
+<item type="input">Received</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153277" xml-lang="en-US" l10n="U" oldref="310">2</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154052" xml-lang="en-US" l10n="CHG" oldref="203">2001-01-02</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3151297" xml-lang="en-US" l10n="U" oldref="204">
+<item type="input">2000</item>
+</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149985" xml-lang="en-US" l10n="U" oldref="205">
+<item type="input">Deposited</item>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3154744" xml-lang="en-US" l10n="U" oldref="311">3</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3153151" xml-lang="en-US" l10n="CHG" oldref="206">2001-03-15</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3145657" xml-lang="en-US" l10n="U" oldref="207">2500</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3155101" xml-lang="en-US" l10n="U" oldref="312">4</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3146894" xml-lang="en-US" l10n="CHG" oldref="208">2001-05-12</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3143231" xml-lang="en-US" l10n="U" oldref="209">5000</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell>
+<paragraph role="paragraph" id="par_id3156012" xml-lang="en-US" l10n="U" oldref="313">5</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3149758" xml-lang="en-US" l10n="CHG" oldref="210">2001-08-10</paragraph>
+</tablecell>
+<tablecell>
+<paragraph role="paragraph" id="par_id3147495" xml-lang="en-US" l10n="U" oldref="211">1000</paragraph>
+</tablecell>
+<tablecell>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3152793" xml-lang="en-US" l10n="U" oldref="212">=XIRR(B1:B5; A1:A5; 0.1) returns 0.1828.</paragraph>
+</section>
+<section id="xnpv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149198"><bookmark_value>XNPV function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XNPV" id="bm_id3151172" localize="false"/>
+<paragraph role="heading" id="hd_id3149198" xml-lang="en-US" level="2" oldref="213">XNPV</paragraph>
+<paragraph role="paragraph" id="par_id3153904" xml-lang="en-US" l10n="U" oldref="214"><ahelp hid="HID_AAI_FUNC_XNPV">Calculates the capital value (net present value)for a list of payments which take place on different dates.</ahelp> The calculation is based on a 365 days per year basis, ignoring leap years.</paragraph>
+<paragraph role="paragraph" id="par_idN11138" xml-lang="en-US">If the payments take place at regular intervals, use the NPV function.</paragraph>
+<paragraph role="heading" id="hd_id3155323" xml-lang="en-US" level="3" l10n="U" oldref="215">Syntax</paragraph>
+<paragraph role="code" id="par_id3150117" xml-lang="en-US" l10n="U" oldref="216">XNPV(Rate; Values; Dates)</paragraph>
+<paragraph role="paragraph" id="par_id3153100" xml-lang="en-US" l10n="U" oldref="217">
+<emph>Rate</emph> is the internal rate of return for the payments.</paragraph>
+<paragraph role="paragraph" id="par_id3155395" xml-lang="en-US" l10n="U" oldref="218">
+<emph>Values</emph> and <emph>Dates</emph> refer to a series of payments and the series of associated date values. The first pair of dates defines the start of the payment plan. All other date values must be later, but need not be in any order. The series of values must contain at least one negative and one positive value (receipts and deposits)</paragraph>
+<paragraph role="heading" id="hd_id3148832" xml-lang="en-US" level="3" l10n="U" oldref="219">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150525" xml-lang="en-US" l10n="U" oldref="220">Calculation of the net present value for the above-mentioned five payments for a notional internal rate of return of 6%.</paragraph>
+<paragraph role="paragraph" id="par_id3149910" xml-lang="en-US" l10n="U" oldref="221">
+<item type="input">=XNPV(0.06;B1:B5;A1:A5)</item> returns 323.02.</paragraph>
+</section>
+<section id="rri">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148822"><bookmark_value>calculating;rates of return</bookmark_value>
+<bookmark_value>RRI function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZGZ" id="bm_id3146996" localize="false"/>
+<paragraph role="heading" id="hd_id3148822" xml-lang="en-US" level="2" oldref="237">RRI</paragraph>
+<paragraph role="paragraph" id="par_id3154293" xml-lang="en-US" l10n="U" oldref="238"><ahelp hid="HID_FUNC_ZGZ">Calculates the interest rate resulting from the profit (return) of an investment.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148444" xml-lang="en-US" level="3" l10n="U" oldref="239">Syntax</paragraph>
+<paragraph role="code" id="par_id3148804" xml-lang="en-US" l10n="U" oldref="240">RRI(P; PV; FV)</paragraph>
+<paragraph role="paragraph" id="par_id3154901" xml-lang="en-US" l10n="U" oldref="241">
+<emph>P</emph> is the number of periods needed for calculating the interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="242">
+<emph>PV</emph> is the present (current) value. The cash value is the deposit of cash or the current cash value of an allowance in kind. As a deposit value a positive value must be entered; the deposit must not be 0 or &lt;0.</paragraph>
+<paragraph role="paragraph" id="par_id3149771" xml-lang="en-US" l10n="U" oldref="243">
+<emph>FV</emph> determines what is desired as the cash value of the deposit.</paragraph>
+<paragraph role="heading" id="hd_id3148941" xml-lang="en-US" level="3" l10n="U" oldref="244">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154212" xml-lang="en-US" l10n="U" oldref="245">For four periods (years) and a cash value of 7,500 currency units, the interest rate of the return is to be calculated if the future value is 10,000 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3150775" xml-lang="en-US" l10n="U" oldref="246">
+<item type="input">=RRI(4;7500;10000)</item> = 7.46 %</paragraph>
+<paragraph role="paragraph" id="par_id3145413" xml-lang="en-US" l10n="U" oldref="247">The interest rate must be 7.46 % so that 7,500 currency units will become 10,000 currency units.</paragraph>
+</section>
+<section id="rate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154267"><bookmark_value>calculating;constant interest rates</bookmark_value>
+<bookmark_value>constant interest rates</bookmark_value>
+<bookmark_value>RATE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINS" id="bm_id3153581" localize="false"/>
+<paragraph role="heading" id="hd_id3154267" xml-lang="en-US" level="2" oldref="249">RATE</paragraph>
+<paragraph role="paragraph" id="par_id3151052" xml-lang="en-US" l10n="U" oldref="250"><ahelp hid="HID_FUNC_ZINS">Returns the constant interest rate per period of an annuity.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154272" xml-lang="en-US" level="3" l10n="U" oldref="251">Syntax</paragraph>
+<paragraph role="code" id="par_id3158423" xml-lang="en-US" l10n="U" oldref="252">RATE(NPer; Pmt; PV; FV; Type; Guess)</paragraph>
+<paragraph role="paragraph" id="par_id3148910" xml-lang="en-US" l10n="U" oldref="253">
+<emph>NPer</emph> is the total number of periods, during which payments are made (payment period).</paragraph>
+<paragraph role="paragraph" id="par_id3148925" xml-lang="en-US" l10n="U" oldref="254">
+<emph>Pmt</emph> is the constant payment (annuity) paid during each period.</paragraph>
+<paragraph role="paragraph" id="par_id3149160" xml-lang="en-US" l10n="U" oldref="255">
+<emph>PV</emph> is the cash value in the sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3166456" xml-lang="en-US" l10n="U" oldref="256">
+<emph>FV</emph> (optional) is the future value, which is reached at the end of the periodic payments.</paragraph>
+<paragraph role="paragraph" id="par_id3153243" xml-lang="en-US" l10n="U" oldref="257">
+<emph>Type</emph> (optional) is the due date of the periodic payment, either at the beginning or at the end of a period.</paragraph>
+<paragraph role="paragraph" id="par_id3146949" xml-lang="en-US" l10n="U" oldref="258">
+<emph>Guess</emph> (optional) determines the estimated value of the interest with iterative calculation.</paragraph>
+<paragraph role="paragraph" id="par_idN10E2A" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3149791" xml-lang="en-US" level="3" l10n="U" oldref="259">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150706" xml-lang="en-US" l10n="U" oldref="260">What is the constant interest rate for a payment period of 3 periods if 10 currency units are paid regularly and the present cash value is 900 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3155586" xml-lang="en-US" l10n="U" oldref="261">
+<item type="input">=RATE(3;10;900)</item> = -121% The interest rate is therefore 121%.</paragraph>
+</section>
+<section id="intrate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149106"><bookmark_value>INTRATE function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_INTRATE" id="bm_id3152944" localize="false"/>
+<paragraph role="heading" id="hd_id3149106" xml-lang="en-US" level="2" oldref="60">INTRATE</paragraph>
+<paragraph role="paragraph" id="par_id3149918" xml-lang="en-US" l10n="U" oldref="61"><ahelp hid="HID_AAI_FUNC_INTRATE">Calculates the annual interest rate that results when a security (or other item) is purchased at an investment value and sold at a redemption value. No interest is paid.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149974" xml-lang="en-US" level="3" l10n="U" oldref="62">Syntax</paragraph>
+<paragraph role="code" id="par_id3149800" xml-lang="en-US" l10n="U" oldref="63">INTRATE(Settlement; Maturity; Investment; Redemption; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="64">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3148988" xml-lang="en-US" l10n="U" oldref="65">
+<emph>Maturity</emph> is the date on which the security is sold.</paragraph>
+<paragraph role="paragraph" id="par_id3154604" xml-lang="en-US" l10n="U" oldref="66">
+<emph>Investment</emph> is the purchase price.</paragraph>
+<paragraph role="paragraph" id="par_id3154337" xml-lang="en-US" l10n="U" oldref="67">
+<emph>Redemption</emph> is the selling price.</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3145380" xml-lang="en-US" level="3" l10n="U" oldref="68">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149426" xml-lang="en-US" l10n="CHG" oldref="69">A painting is bought on 1990-01-15 for 1 million and sold on 2002-05-05 for 2 million. The basis is daily balance calculation (basis = 3). What is the average annual level of interest?</paragraph>
+<paragraph role="paragraph" id="par_id3151125" xml-lang="en-US" l10n="CHG" oldref="70">=INTRATE("1990-01-15"; "2002-05-05"; 1000000; 2000000; 3) returns 8.12%.</paragraph>
+</section>
+<section id="coupncd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148654"><bookmark_value>COUPNCD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNCD" id="bm_id3148413" localize="false"/>
+<paragraph role="heading" id="hd_id3148654" xml-lang="en-US" level="2" oldref="163">COUPNCD</paragraph>
+<paragraph role="paragraph" id="par_id3149927" xml-lang="en-US" l10n="U" oldref="164"><ahelp hid="HID_AAI_FUNC_COUPNCD">Returns the date of the first interest date after the settlement date. Format the result as a date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153317" xml-lang="en-US" level="3" l10n="U" oldref="165">Syntax</paragraph>
+<paragraph role="code" id="par_id3150423" xml-lang="en-US" l10n="U" oldref="166">COUPNCD(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3150628" xml-lang="en-US" l10n="U" oldref="167">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3153536" xml-lang="en-US" l10n="U" oldref="168">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3145313" xml-lang="en-US" l10n="U" oldref="169">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3155424" xml-lang="en-US" level="3" l10n="U" oldref="170">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154794" xml-lang="en-US" l10n="CHG" oldref="171">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) when is the next interest date?</paragraph>
+<paragraph role="paragraph" id="par_id3159251" xml-lang="en-US" l10n="CHG" oldref="172">=COUPNCD("2001-01-25"; "2001-11-15"; 2; 3) returns 2001-05-15.</paragraph>
+</section>
+<section id="coupdays">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143281"><bookmark_value>COUPDAYS function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYS" id="bm_id3144759" localize="false"/>
+<paragraph role="heading" id="hd_id3143281" xml-lang="en-US" level="2" oldref="143">COUPDAYS</paragraph>
+<paragraph role="paragraph" id="par_id3149488" xml-lang="en-US" l10n="U" oldref="144"><ahelp hid="HID_AAI_FUNC_COUPDAYS">Returns the number of days in the current interest period in which the settlement date falls.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="3" l10n="U" oldref="145">Syntax</paragraph>
+<paragraph role="code" id="par_id3149585" xml-lang="en-US" l10n="U" oldref="146">COUPDAYS(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3152767" xml-lang="en-US" l10n="U" oldref="147">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3151250" xml-lang="en-US" l10n="U" oldref="148">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3146126" xml-lang="en-US" l10n="U" oldref="149">
+<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3153705" xml-lang="en-US" level="3" l10n="U" oldref="150">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US" l10n="CHG" oldref="151">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how many days are there in the interest period in which the settlement date falls?</paragraph>
+<paragraph role="paragraph" id="par_id3156338" xml-lang="en-US" l10n="CHG" oldref="152">=COUPDAYS("2001-01-25"; "2001-11-15"; 2; 3) returns 181.</paragraph>
+</section>
+<section id="coupdaysnc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154832"><bookmark_value>COUPDAYSNC function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYSNC" id="bm_id3150941" localize="false"/>
+<paragraph role="heading" id="hd_id3154832" xml-lang="en-US" level="2" oldref="153">COUPDAYSNC</paragraph>
+<paragraph role="paragraph" id="par_id3147100" xml-lang="en-US" l10n="U" oldref="154"><ahelp hid="HID_AAI_FUNC_COUPDAYSNC">Returns the number of days from the settlement date until the next interest date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3151312" xml-lang="en-US" level="3" l10n="U" oldref="155">Syntax</paragraph>
+<paragraph role="code" id="par_id3155121" xml-lang="en-US" l10n="U" oldref="156">COUPDAYSNC(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3158440" xml-lang="en-US" l10n="U" oldref="157">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3146075" xml-lang="en-US" l10n="U" oldref="158">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3154620" xml-lang="en-US" l10n="U" oldref="159">
+<emph>Frequency </emph>is number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3155604" xml-lang="en-US" level="3" l10n="U" oldref="160">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148671" xml-lang="en-US" l10n="CHG" oldref="161">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how many days are there until the next interest payment?</paragraph>
+<paragraph role="paragraph" id="par_id3156158" xml-lang="en-US" l10n="CHG" oldref="162">=COUPDAYSNC("2001-01-25"; "2001-11-15"; 2; 3) returns 110.</paragraph>
+</section>
+<section id="coupdaybs">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150408"><bookmark_value>COUPDAYBS function</bookmark_value>
+<bookmark_value>durations;first interest payment until settlement date</bookmark_value>
+<bookmark_value>securities;first interest payment until settlement date</bookmark_value>
+</bookmark><comment>mw added "durations;" and "securities;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYBS" id="bm_id3153775" localize="false"/>
+<paragraph role="heading" id="hd_id3150408" xml-lang="en-US" level="2" oldref="133">COUPDAYBS</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="134"><ahelp hid="HID_AAI_FUNC_COUPDAYBS">Returns the number of days from the first day of interest payment on a security until the settlement date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156142" xml-lang="en-US" level="3" l10n="U" oldref="135">Syntax</paragraph>
+<paragraph role="code" id="par_id3159083" xml-lang="en-US" l10n="U" oldref="136">COUPDAYBS(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3146907" xml-lang="en-US" l10n="U" oldref="137">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3159390" xml-lang="en-US" l10n="U" oldref="138">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3154414" xml-lang="en-US" l10n="U" oldref="139">
+<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3153880" xml-lang="en-US" level="3" l10n="U" oldref="140">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150592" xml-lang="en-US" l10n="CHG" oldref="141">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how many days is this?</paragraph>
+<paragraph role="paragraph" id="par_id3151103" xml-lang="en-US" l10n="CHG" oldref="142">=COUPDAYBS("2001-01-25"; "2001-11-15"; 2; 3) returns 71.</paragraph>
+</section>
+<section id="couppcd">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152957"><bookmark_value>COUPPCD function</bookmark_value>
+<bookmark_value>dates;interest date prior to settlement date</bookmark_value>
+</bookmark><comment>mw added "dates;"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPPCD" id="bm_id3149553" localize="false"/>
+<paragraph role="heading" id="hd_id3152957" xml-lang="en-US" level="2" oldref="183">COUPPCD</paragraph>
+<paragraph role="paragraph" id="par_id3153678" xml-lang="en-US" l10n="U" oldref="184"><ahelp hid="HID_AAI_FUNC_COUPPCD">Returns the date of the interest date prior to the settlement date. Format the result as a date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156269" xml-lang="en-US" level="3" l10n="U" oldref="185">Syntax</paragraph>
+<paragraph role="code" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="186">COUPPCD(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3150989" xml-lang="en-US" l10n="U" oldref="187">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3154667" xml-lang="en-US" l10n="U" oldref="188">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3154569" xml-lang="en-US" l10n="U" oldref="189">
+<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3150826" xml-lang="en-US" level="3" l10n="U" oldref="190">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148968" xml-lang="en-US" l10n="CHG" oldref="191">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) what was the interest date prior to purchase?</paragraph>
+<paragraph role="paragraph" id="par_id3149992" xml-lang="en-US" l10n="CHG" oldref="192">=COUPPCD("2001-01-25"; "2001-11-15"; 2; 3) returns 2000-15-11.</paragraph>
+</section>
+<section id="coupnum">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150673"><bookmark_value>COUPNUM function</bookmark_value>
+<bookmark_value>number of coupons</bookmark_value>
+</bookmark><comment>mw added "number..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNUM" id="bm_id3153348" localize="false"/>
+<paragraph role="heading" id="hd_id3150673" xml-lang="en-US" level="2" oldref="173">COUPNUM</paragraph>
+<paragraph role="paragraph" id="par_id3154350" xml-lang="en-US" l10n="U" oldref="174"><ahelp hid="HID_AAI_FUNC_COUPNUM">Returns the number of coupons (interest payments) between the settlement date and the maturity date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3148400" xml-lang="en-US" level="3" l10n="U" oldref="175">Syntax</paragraph>
+<paragraph role="code" id="par_id3153200" xml-lang="en-US" l10n="U" oldref="176">COUPNUM(Settlement; Maturity; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3159406" xml-lang="en-US" l10n="U" oldref="177">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3155864" xml-lang="en-US" l10n="U" oldref="178">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3154720" xml-lang="en-US" l10n="U" oldref="179">
+<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3149319" xml-lang="en-US" level="3" l10n="U" oldref="180">Example</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="CHG" oldref="181">A security is purchased on 2001-01-25; the date of maturity is 2001-11-15. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how many interest dates are there?</paragraph>
+<paragraph role="paragraph" id="par_id3150640" xml-lang="en-US" l10n="CHG" oldref="182">=COUPNUM("2001-01-25"; "2001-11-15"; 2; 3) returns 2.</paragraph>
+</section>
+<section id="ipmt">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149339"><bookmark_value>IPMT function</bookmark_value>
+<bookmark_value>periodic amortizement rates</bookmark_value>
+</bookmark><comment>mw added "periodic..."</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINSZ" id="bm_id3149737" localize="false"/>
+<paragraph role="heading" id="hd_id3149339" xml-lang="en-US" level="2" oldref="263">IPMT</paragraph>
+<paragraph role="paragraph" id="par_id3154522" xml-lang="en-US" l10n="U" oldref="264"><ahelp hid="HID_FUNC_ZINSZ">Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153266" xml-lang="en-US" level="3" l10n="U" oldref="265">Syntax</paragraph>
+<paragraph role="code" id="par_id3151283" xml-lang="en-US" l10n="U" oldref="266">IPMT(Rate; Period; NPer; PV; FV; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3147313" xml-lang="en-US" l10n="U" oldref="267">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3145158" xml-lang="en-US" l10n="U" oldref="268">
+<emph>Period</emph> is the period, for which the compound interest is calculated. Period=NPER if compound interest for the last period is calculated.</paragraph>
+<paragraph role="paragraph" id="par_id3147577" xml-lang="en-US" l10n="U" oldref="269">
+<emph>NPer</emph> is the total number of periods, during which annuity is paid.</paragraph>
+<paragraph role="paragraph" id="par_id3156211" xml-lang="en-US" l10n="U" oldref="270">
+<emph>PV</emph> is the present cash value in sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3151213" xml-lang="en-US" l10n="U" oldref="271">
+<emph>FV</emph> (optional) is the desired value (future value) at the end of the periods.</paragraph>
+<paragraph role="paragraph" id="par_id3154195" xml-lang="en-US" l10n="U" oldref="272">
+<emph>Type</emph> is the due date for the periodic payments.</paragraph>
+<paragraph role="heading" id="hd_id3150102" xml-lang="en-US" level="3" l10n="U" oldref="273">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149438" xml-lang="en-US" l10n="U" oldref="274">What is the interest rate during the fifth period (year) if the constant interest rate is 5% and the cash value is 15,000 currency units? The periodic payment is seven years.</paragraph>
+<paragraph role="paragraph" id="par_id3150496" xml-lang="en-US" l10n="U" oldref="275">
+<item type="input">=IPMT(5%;5;7;15000)</item> = -352.97 currency units. The compound interest during the fifth period (year) is 352.97 currency units.</paragraph>
+</section>
+<section id="fv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151205"><bookmark_value>calculating;future values</bookmark_value>
+<bookmark_value>future values;constant interest rates</bookmark_value>
+<bookmark_value>FV function</bookmark_value>
+</bookmark><comment>mw made "future values..." a two level entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZW" id="bm_id3156049" localize="false"/>
+<paragraph role="heading" id="hd_id3151205" xml-lang="en-US" level="2" oldref="277">FV</paragraph>
+<paragraph role="paragraph" id="par_id3154140" xml-lang="en-US" l10n="U" oldref="278"><ahelp hid="HID_FUNC_ZW">Returns the future value of an investment based on periodic, constant payments and a constant interest rate (Future Value).</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155178" xml-lang="en-US" level="3" l10n="U" oldref="279">Syntax</paragraph>
+<paragraph role="code" id="par_id3145215" xml-lang="en-US" l10n="U" oldref="280">FV(Rate; NPer; Pmt; PV; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="281">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3156029" xml-lang="en-US" l10n="U" oldref="282">
+<emph>NPer</emph> is the total number of periods (payment period).</paragraph>
+<paragraph role="paragraph" id="par_id3151322" xml-lang="en-US" l10n="U" oldref="283">
+<emph>Pmt</emph> is the annuity paid regularly per period.</paragraph>
+<paragraph role="paragraph" id="par_id3145256" xml-lang="en-US" l10n="U" oldref="284">
+<emph>PV</emph> (optional) is the (present) cash value of an investment.</paragraph>
+<paragraph role="paragraph" id="par_id3150999" xml-lang="en-US" l10n="U" oldref="285">
+<emph>Type</emph> (optional) defines whether the payment is due at the beginning or the end of a period.</paragraph>
+<paragraph role="paragraph" id="par_idN114D8" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3146800" xml-lang="en-US" level="3" l10n="U" oldref="286">Example</paragraph>
+<paragraph role="paragraph" id="par_id3146813" xml-lang="en-US" l10n="U" oldref="287">What is the value at the end of an investment if the interest rate is 4% and the payment period is two years, with a periodic payment of 750 currency units. The investment has a present value of 2,500 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3149302" xml-lang="en-US" l10n="U" oldref="288">
+<item type="input">=FV(4%;2;750;2500) </item>= -4234.00 currency units. The value at the end of the investment is 4234.00 currency units.</paragraph>
+</section>
+<section id="fvschedule">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155912"><bookmark_value>FVSCHEDULE function</bookmark_value>
+<bookmark_value>future values;varying interest rates</bookmark_value>
+</bookmark><comment>mw added "future values"</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_FVSCHEDULE" id="bm_id3155341" localize="false"/>
+<paragraph role="heading" id="hd_id3155912" xml-lang="en-US" level="2" oldref="51">FVSCHEDULE</paragraph>
+<paragraph role="paragraph" id="par_id3163726" xml-lang="en-US" l10n="U" oldref="52"><ahelp hid="HID_AAI_FUNC_FVSCHEDULE">Calculates the accumulated value of the starting capital for a series of periodically varying interest rates.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149571" xml-lang="en-US" level="3" l10n="U" oldref="53">Syntax</paragraph>
+<paragraph role="code" id="par_id3148891" xml-lang="en-US" l10n="U" oldref="54">FVSCHEDULE(Principal; Schedule)</paragraph>
+<paragraph role="paragraph" id="par_id3148904" xml-lang="en-US" l10n="U" oldref="55">
+<emph>Principal</emph> is the starting capital.</paragraph>
+<paragraph role="paragraph" id="par_id3148562" xml-lang="en-US" l10n="U" oldref="56">
+<emph>Schedule</emph> is a series of interest rates, for example, as a range H3:H5 or as a (List) (see example).</paragraph>
+<paragraph role="heading" id="hd_id3147288" xml-lang="en-US" level="3" l10n="U" oldref="57">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148638" xml-lang="en-US" l10n="U" oldref="58">1000 currency units have been invested in for three years. The interest rates were 3%, 4% and 5% per annum. What is the value after three years?</paragraph>
+<paragraph role="paragraph" id="par_id3156358" xml-lang="en-US" l10n="U" oldref="59">
+<item type="input">=FVSCHEDULE(1000;{0.03;0.04;0.05})</item> returns 1124.76.</paragraph>
+</section>
+<section id="nper">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156435"><bookmark_value>calculating;number of payment periods</bookmark_value>
+<bookmark_value>payment periods;number of</bookmark_value>
+<bookmark_value>number of payment periods</bookmark_value>
+<bookmark_value>NPER function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZZR" id="bm_id3154917" localize="false"/>
+<paragraph role="heading" id="hd_id3156435" xml-lang="en-US" level="2" oldref="290">NPER</paragraph>
+<paragraph role="paragraph" id="par_id3152363" xml-lang="en-US" l10n="U" oldref="291"><ahelp hid="HID_FUNC_ZZR">Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3147216" xml-lang="en-US" level="3" l10n="U" oldref="292">Syntax</paragraph>
+<paragraph role="code" id="par_id3155934" xml-lang="en-US" l10n="U" oldref="293">NPER(Rate; Pmt; PV; FV; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3155946" xml-lang="en-US" l10n="U" oldref="294">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3149042" xml-lang="en-US" l10n="U" oldref="295">
+<emph>Pmt</emph> is the constant annuity paid in each period.</paragraph>
+<paragraph role="paragraph" id="par_id3153134" xml-lang="en-US" l10n="U" oldref="296">
+<emph>PV</emph> is the present value (cash value) in a sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3154398" xml-lang="en-US" l10n="U" oldref="297">
+<emph>FV</emph> (optional) is the future value, which is reached at the end of the last period.</paragraph>
+<paragraph role="paragraph" id="par_id3145127" xml-lang="en-US" l10n="U" oldref="298">
+<emph>Type</emph> (optional) is the due date of the payment at the beginning or at the end of the period.</paragraph>
+<paragraph role="paragraph" id="par_idN1166C" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3155795" xml-lang="en-US" level="3" l10n="U" oldref="299">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147378" xml-lang="en-US" l10n="U" oldref="300">How many payment periods does a payment period cover with a periodic interest rate of 6%, a periodic payment of 153.75 currency units and a present cash value of 2.600 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3156171" xml-lang="en-US" l10n="U" oldref="301">
+<item type="input">=NPER(6%;153.75;2600)</item> = -12,02. The payment period covers 12.02 periods.</paragraph>
+</section>
+</sort>
+<paragraph role="paragraph" id="par_id3150309" xml-lang="en-US" l10n="U" oldref="314"><link href="text/scalc/01/04060103.xhp" name="Back to Financial Functions Part One">Back to Financial Functions Part One</link></paragraph>
+<paragraph role="paragraph" id="par_id3153163" xml-lang="en-US" l10n="U" oldref="315"><link href="text/scalc/01/04060119.xhp" name="Back to Financial Functions Part Two">Back to Financial Functions Part Two</link></paragraph>
+<embed href="text/scalc/01/04060100.xhp#drking"/>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/04060119.xhp b/source/text/scalc/01/04060119.xhp
new file mode 100644
index 0000000000..9525851bef
--- /dev/null
+++ b/source/text/scalc/01/04060119.xhp
@@ -0,0 +1,619 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************
+ -->
+
+
+<meta>
+<topic id="textscalc0104060119xml" indexer="include">
+<title id="tit" xml-lang="en-US">Financial Functions Part Two</title>
+<filename>/text/scalc/01/04060119.xhp</filename>
+</topic>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3149052" xml-lang="en-US" level="1" l10n="U" oldref="1">Financial Functions Part Two</paragraph>
+<section id="howtoget">
+<embed href="text/scalc/00/00000404.xhp#eikafi"/>
+</section>
+<paragraph role="paragraph" id="par_id3148742" xml-lang="en-US" l10n="U" oldref="343"><link href="text/scalc/01/04060103.xhp" name="Back to Financial Functions Part One">Back to Financial Functions Part One</link></paragraph>
+<paragraph role="paragraph" id="par_id3151341" xml-lang="en-US" l10n="U" oldref="344"><link href="text/scalc/01/04060118.xhp" name="Forward to Financial Functions Part Three">Forward to Financial Functions Part Three</link></paragraph>
+<sort order="asc">
+<section id="ppmt">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150026"><bookmark_value>PPMT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KAPZ" id="bm_id3145827" localize="false"/>
+<paragraph role="heading" id="hd_id3150026" xml-lang="en-US" level="2" l10n="U" oldref="238">PPMT</paragraph>
+<paragraph role="paragraph" id="par_id3146942" xml-lang="en-US" l10n="U" oldref="239"><ahelp hid="HID_FUNC_KAPZ">Returns for a given period the payment on the principal for an investment that is based on periodic and constant payments and a constant interest rate.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3150459" xml-lang="en-US" level="3" l10n="U" oldref="240">Syntax</paragraph>
+<paragraph role="code" id="par_id3146878" xml-lang="en-US" l10n="U" oldref="241">PPMT(Rate; Period; NPer; PV; FV; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3151228" xml-lang="en-US" l10n="U" oldref="242">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3148887" xml-lang="en-US" l10n="U" oldref="243">
+<emph>Period</emph> is the amortizement period. P = 1 for the first and P = NPer for the last period.</paragraph>
+<paragraph role="paragraph" id="par_id3148436" xml-lang="en-US" l10n="U" oldref="244">
+<emph>NPer</emph> is the total number of periods during which annuity is paid.</paragraph>
+<paragraph role="paragraph" id="par_id3153035" xml-lang="en-US" l10n="U" oldref="245">
+<emph>PV</emph> is the present value in the sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3147474" xml-lang="en-US" l10n="U" oldref="246">
+<emph>FV</emph> (optional) is the desired (future) value.</paragraph>
+<paragraph role="paragraph" id="par_id3144744" xml-lang="en-US" l10n="U" oldref="247">
+<emph>Type</emph> (optional) defines the due date. F = 1 for payment at the beginning of a period and F = 0 for payment at the end of a period.</paragraph>
+<paragraph role="paragraph" id="par_idN1067C" xml-lang="en-US" l10n="NEW">
+<embedvar href="text/scalc/00/00000004.xhp#optional"/>
+</paragraph>
+<paragraph role="heading" id="hd_id3148582" xml-lang="en-US" level="3" l10n="U" oldref="248">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154811" xml-lang="en-US" l10n="CHG" oldref="249">How high is the periodic monthly payment at an annual interest rate of 8.75% over a period of 3 years? The cash value is 5,000 currency units and is always paid at the beginning of a period. The future value is 8,000 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3149246" xml-lang="en-US" l10n="U" oldref="250">
+<item type="input">=PPMT(8.75%/12;1;36;5000;8000;1)</item> = -350.99 currency units.</paragraph>
+</section>
+<section id="cumprinc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3146139"><bookmark_value>calculating; total amortizement rates</bookmark_value>
+<bookmark_value>total amortizement rates</bookmark_value>
+<bookmark_value>amortization installment</bookmark_value>
+<bookmark_value>repayment installment</bookmark_value>
+<bookmark_value>CUMPRINC function</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KUMKAPITAL" id="bm_id3148754" localize="false"/>
+<paragraph role="heading" id="hd_id3146139" xml-lang="en-US" level="2" oldref="252">CUMPRINC</paragraph>
+<paragraph role="paragraph" id="par_id3150140" xml-lang="en-US" l10n="U" oldref="253"><ahelp hid="HID_FUNC_KUMKAPITAL">Returns the cumulative interest paid for an investment period with a constant interest rate.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149188" xml-lang="en-US" level="3" l10n="U" oldref="254">Syntax</paragraph>
+<paragraph role="code" id="par_id3148733" xml-lang="en-US" l10n="U" oldref="255">CUMPRINC(Rate; NPer; PV; S; E; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3150864" xml-lang="en-US" l10n="U" oldref="256">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3166052" xml-lang="en-US" l10n="U" oldref="257">
+<emph>NPer</emph> is the payment period with the total number of periods. NPER can also be a non-integer value.</paragraph>
+<paragraph role="paragraph" id="par_id3150007" xml-lang="en-US" l10n="U" oldref="258">
+<emph>PV</emph> is the current value in the sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3153112" xml-lang="en-US" l10n="U" oldref="259">
+<emph>S</emph> is the first period.</paragraph>
+<paragraph role="paragraph" id="par_id3146847" xml-lang="en-US" l10n="U" oldref="260">
+<emph>E</emph> is the last period.</paragraph>
+<paragraph role="paragraph" id="par_id3145167" xml-lang="en-US" l10n="U" oldref="261">
+<emph>Type</emph> is the due date of the payment at the beginning or end of each period.</paragraph>
+<paragraph role="heading" id="hd_id3154502" xml-lang="en-US" level="3" l10n="U" oldref="262">Example</paragraph>
+<paragraph role="paragraph" id="par_id3153570" xml-lang="en-US" l10n="U" oldref="263">What are the payoff amounts if the yearly interest rate is 5.5% for 36 months? The cash value is 15,000 currency units. The payoff amount is calculated between the 10th and 18th period. The due date is at the end of the period.</paragraph>
+<paragraph role="paragraph" id="par_id3149884" xml-lang="en-US" l10n="U" oldref="264">
+<item type="input">=CUMPRINC(5.5%/12;36;15000;10;18;0)</item> = -3669.74 currency units. The payoff amount between the 10th and 18th period is 3669.74 currency units.</paragraph>
+</section>
+<section id="cumprinc_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150019"><bookmark_value>CUMPRINC_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_CUMPRINC" id="bm_id3154330" localize="false"/>
+<paragraph role="heading" id="hd_id3150019" xml-lang="en-US" level="2" oldref="182">CUMPRINC_ADD</paragraph>
+<paragraph role="paragraph" id="par_id3145246" xml-lang="en-US" l10n="U" oldref="183"><ahelp hid="HID_AAI_FUNC_CUMPRINC"> Calculates the cumulative redemption of a loan in a period.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph role="heading" id="hd_id3153047" xml-lang="en-US" level="3" l10n="U" oldref="184">Syntax</paragraph>
+<paragraph role="code" id="par_id3157970" xml-lang="en-US" l10n="U" oldref="185">CUMPRINC_ADD(Rate; NPer; PV; StartPeriod; EndPeriod; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3145302" xml-lang="en-US" l10n="U" oldref="186">
+<emph>Rate</emph> is the interest rate for each period.</paragraph>
+<paragraph role="paragraph" id="par_id3151017" xml-lang="en-US" l10n="U" oldref="187">
+<emph>NPer</emph> is the total number of payment periods. The rate and NPER must refer to the same unit, and thus both be calculated annually or monthly.</paragraph>
+<paragraph role="paragraph" id="par_id3155620" xml-lang="en-US" l10n="U" oldref="188">
+<emph>PV</emph> is the current value.</paragraph>
+<paragraph role="paragraph" id="par_id3145352" xml-lang="en-US" l10n="U" oldref="189">
+<emph>StartPeriod</emph> is the first payment period for the calculation.</paragraph>
+<paragraph role="paragraph" id="par_id3157986" xml-lang="en-US" l10n="U" oldref="190">
+<emph>EndPeriod</emph> is the last payment period for the calculation.</paragraph>
+<paragraph role="paragraph" id="par_id3150570" xml-lang="en-US" l10n="U" oldref="191">
+<emph>Type</emph> is the maturity of a payment at the end of each period (Type = 0) or at the start of the period (Type = 1).</paragraph>
+<paragraph role="heading" id="hd_id3150269" xml-lang="en-US" level="3" l10n="U" oldref="192">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148774" xml-lang="en-US" l10n="U" oldref="193">The following mortgage loan is taken out on a house:</paragraph>
+<paragraph role="paragraph" id="par_id3150661" xml-lang="en-US" l10n="U" oldref="194">Rate: 9.00 per cent per annum (9% / 12 = 0.0075), Duration: 30 years (payment periods = 30 * 12 = 360), NPV: 125000 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3155512" xml-lang="en-US" l10n="U" oldref="195">How much will you repay in the second year of the mortgage (thus from periods 13 to 24)?</paragraph>
+<paragraph role="paragraph" id="par_id3149394" xml-lang="en-US" l10n="U" oldref="196">
+<item type="input">=CUMPRINC_ADD(0.0075;360;125000;13;24;0)</item> returns -934.1071</paragraph>
+<paragraph role="paragraph" id="par_id3149026" xml-lang="en-US" l10n="U" oldref="197">In the first month you will be repaying the following amount:</paragraph>
+<paragraph role="paragraph" id="par_id3154636" xml-lang="en-US" l10n="U" oldref="198">
+<item type="input">=CUMPRINC_ADD(0.0075;360;125000;1;1;0)</item> returns -68.27827</paragraph>
+</section>
+<section id="cumipmt">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155370"><bookmark_value>calculating; accumulated interests</bookmark_value>
+<bookmark_value>accumulated interests</bookmark_value>
+<bookmark_value>CUMIPMT function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KUMZINSZ" id="bm_id3148593" localize="false"/>
+<paragraph role="heading" id="hd_id3155370" xml-lang="en-US" level="2" oldref="266">CUMIPMT</paragraph>
+<paragraph role="paragraph" id="par_id3158411" xml-lang="en-US" l10n="U" oldref="267"><ahelp hid="HID_FUNC_KUMZINSZ">Calculates the cumulative interest payments, that is, the total interest, for an investment based on a constant interest rate.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3155814" xml-lang="en-US" level="3" l10n="U" oldref="268">Syntax</paragraph>
+<paragraph role="code" id="par_id3147536" xml-lang="en-US" l10n="U" oldref="269">CUMIPMT(Rate; NPer; PV; S; E; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3150475" xml-lang="en-US" l10n="U" oldref="270">
+<emph>Rate</emph> is the periodic interest rate.</paragraph>
+<paragraph role="paragraph" id="par_id3153921" xml-lang="en-US" l10n="U" oldref="271">
+<emph>NPer</emph> is the payment period with the total number of periods. NPER can also be a non-integer value.</paragraph>
+<paragraph role="paragraph" id="par_id3153186" xml-lang="en-US" l10n="U" oldref="272">
+<emph>PV</emph> is the current value in the sequence of payments.</paragraph>
+<paragraph role="paragraph" id="par_id3156259" xml-lang="en-US" l10n="U" oldref="273">
+<emph>S</emph> is the first period.</paragraph>
+<paragraph role="paragraph" id="par_id3155990" xml-lang="en-US" l10n="U" oldref="274">
+<emph>E</emph> is the last period.</paragraph>
+<paragraph role="paragraph" id="par_id3149777" xml-lang="en-US" l10n="U" oldref="275">
+<emph>Type</emph> is the due date of the payment at the beginning or end of each period.</paragraph>
+<paragraph role="heading" id="hd_id3153723" xml-lang="en-US" level="3" l10n="U" oldref="276">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147478" xml-lang="en-US" l10n="U" oldref="277">What are the interest payments at a yearly interest rate of 5.5 %, a payment period of monthly payments for 2 years and a current cash value of 5,000 currency units? The start period is the 4th and the end period is the 6th period. The payment is due at the beginning of each period.</paragraph>
+<paragraph role="paragraph" id="par_id3149819" xml-lang="en-US" l10n="U" oldref="278">
+<item type="input">=CUMIPMT(5.5%/12;24;5000;4;6;1)</item> = -57.54 currency units. The interest payments for between the 4th and 6th period are 57.54 currency units.</paragraph>
+</section>
+<section id="cumipmt_add">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3083280"><bookmark_value>CUMIPMT_ADD function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_CUMIPMT" id="bm_id3154312" localize="false"/>
+<paragraph role="heading" id="hd_id3083280" xml-lang="en-US" level="2" oldref="165">CUMIPMT_ADD</paragraph>
+<paragraph role="paragraph" id="par_id3152482" xml-lang="en-US" l10n="U" oldref="166"><ahelp hid="HID_AAI_FUNC_CUMIPMT">Calculates the accumulated interest for a period.</ahelp></paragraph>
+<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
+<paragraph role="heading" id="hd_id3149713" xml-lang="en-US" level="3" l10n="U" oldref="167">Syntax</paragraph>
+<paragraph role="code" id="par_id3145087" xml-lang="en-US" l10n="U" oldref="168">CUMIPMT_ADD(Rate; NPer; PV; StartPeriod; EndPeriod; Type)</paragraph>
+<paragraph role="paragraph" id="par_id3149277" xml-lang="en-US" l10n="U" oldref="169">
+<emph>Rate</emph> is the interest rate for each period.</paragraph>
+<paragraph role="paragraph" id="par_id3149270" xml-lang="en-US" l10n="U" oldref="170">
+<emph>NPer</emph> is the total number of payment periods. The rate and NPER must refer to the same unit, and thus both be calculated annually or monthly.</paragraph>
+<paragraph role="paragraph" id="par_id3152967" xml-lang="en-US" l10n="U" oldref="171">
+<emph>PV</emph> is the current value.</paragraph>
+<paragraph role="paragraph" id="par_id3156308" xml-lang="en-US" l10n="U" oldref="172">
+<emph>StartPeriod</emph> is the first payment period for the calculation.</paragraph>
+<paragraph role="paragraph" id="par_id3149453" xml-lang="en-US" l10n="U" oldref="173">
+<emph>EndPeriod</emph> is the last payment period for the calculation.</paragraph>
+<paragraph role="paragraph" id="par_id3150962" xml-lang="en-US" l10n="U" oldref="174">
+<emph>Type</emph> is the maturity of a payment at the end of each period (Type = 0) or at the start of the period (Type = 1).</paragraph>
+<paragraph role="heading" id="hd_id3152933" xml-lang="en-US" level="3" l10n="U" oldref="175">Example</paragraph>
+<paragraph role="paragraph" id="par_id3156324" xml-lang="en-US" l10n="U" oldref="176">The following mortgage loan is taken out on a house:</paragraph>
+<paragraph role="paragraph" id="par_id3147566" xml-lang="en-US" l10n="U" oldref="177">Rate: 9.00 per cent per annum (9% / 12 = 0.0075), Duration: 30 years (NPER = 30 * 12 = 360), Pv: 125000 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3151272" xml-lang="en-US" l10n="U" oldref="178">How much interest must you pay in the second year of the mortgage (thus from periods 13 to 24)?</paragraph>
+<paragraph role="paragraph" id="par_id3156130" xml-lang="en-US" l10n="U" oldref="179">
+<item type="input">=CUMIPMT_ADD(0.0075;360;125000;13;24;0)</item> returns -11135.23.</paragraph>
+<paragraph role="paragraph" id="par_id3150764" xml-lang="en-US" l10n="U" oldref="180">How much interest must you pay in the first month?</paragraph>
+<paragraph role="paragraph" id="par_id3146857" xml-lang="en-US" l10n="U" oldref="181">
+<item type="input">=CUMIPMT_ADD(0.0075;360;125000;1;1;0)</item> returns -937.50.</paragraph>
+</section>
+<section id="price">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150878"><bookmark_value>PRICE function</bookmark_value>
+<bookmark_value>prices; fixed interest securities</bookmark_value>
+<bookmark_value>sales values;fixed interest securities</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_PRICE" id="bm_id3153279" localize="false"/>
+<paragraph role="heading" id="hd_id3150878" xml-lang="en-US" level="2" oldref="9">PRICE</paragraph>
+<paragraph role="paragraph" id="par_id3153210" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_AAI_FUNC_PRICE">Calculates the market value of a fixed interest security with a par value of 100 currency units as a function of the forecast yield.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154646" xml-lang="en-US" level="3" l10n="U" oldref="11">Syntax</paragraph>
+<paragraph role="code" id="par_id3152804" xml-lang="en-US" l10n="U" oldref="12">PRICE(Settlement; Maturity; Rate; Yield; Redemption; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3156121" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149983" xml-lang="en-US" l10n="U" oldref="14">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3153755" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Rate</emph> is the annual nominal rate of interest (coupon interest rate)</paragraph>
+<paragraph role="paragraph" id="par_id3155999" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Yield</emph> is the annual yield of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3156114" xml-lang="en-US" l10n="U" oldref="17">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<paragraph role="paragraph" id="par_id3155846" xml-lang="en-US" l10n="U" oldref="18">
+<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3153148" xml-lang="en-US" level="3" l10n="U" oldref="19">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150260" xml-lang="en-US" l10n="CHG" oldref="20">A security is purchased on 1999-02-15; the maturity date is 2007-11-15. The nominal rate of interest is 5.75%. The yield is 6.5%. The redemption value is 100 currency units. Interest is paid half-yearly (frequency is 2). With calculation on basis 0, the price is as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3147273" xml-lang="en-US" l10n="CHG" oldref="21">=PRICE("1999-02-15"; "2007-11-15"; 0.0575; 0.065; 100; 2; 0) returns 95.04287.</paragraph>
+</section>
+<section id="pricedisc">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3151297"><bookmark_value>PRICEDISC function</bookmark_value>
+<bookmark_value>prices;non-interest-bearing securities</bookmark_value>
+<bookmark_value>sales values;non-interest-bearing securities</bookmark_value>
+</bookmark><comment>mw added two entries</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_PRICEDISC" id="bm_id3143236" localize="false"/>
+<paragraph role="heading" id="hd_id3151297" xml-lang="en-US" level="2" oldref="22">PRICEDISC</paragraph>
+<paragraph role="paragraph" id="par_id3155100" xml-lang="en-US" l10n="U" oldref="23"><ahelp hid="HID_AAI_FUNC_PRICEDISC">Calculates the price per 100 currency units of par value of a non-interest- bearing security.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149294" xml-lang="en-US" level="3" l10n="U" oldref="24">Syntax</paragraph>
+<paragraph role="code" id="par_id3146084" xml-lang="en-US" l10n="U" oldref="25">PRICEDISC(Settlement; Maturity; Discount; Redemption; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3159179" xml-lang="en-US" l10n="U" oldref="26">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3154304" xml-lang="en-US" l10n="U" oldref="27">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3156014" xml-lang="en-US" l10n="U" oldref="28">
+<emph>Discount</emph> is the discount of a security as a percentage.</paragraph>
+<paragraph role="paragraph" id="par_id3147489" xml-lang="en-US" l10n="U" oldref="29">
+<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3152794" xml-lang="en-US" level="3" l10n="U" oldref="30">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149198" xml-lang="en-US" l10n="CHG" oldref="31">A security is purchased on 1999-02-15; the maturity date is 1999-03-01. Discount in per cent is 5.25%. The redemption value is 100. When calculating on basis 2 the price discount is as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3151178" xml-lang="en-US" l10n="CHG" oldref="32">=PRICEDISC("1999-02-15"; "1999-03-01"; 0.0525; 100; 2) returns 99.79583.</paragraph>
+</section>
+<section id="pricemat">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154693"><bookmark_value>PRICEMAT function</bookmark_value>
+<bookmark_value>prices;interest-bearing securities</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_PRICEMAT" id="bm_id3150118" localize="false"/>
+<paragraph role="heading" id="hd_id3154693" xml-lang="en-US" level="2" oldref="33">PRICEMAT</paragraph>
+<paragraph role="paragraph" id="par_id3153906" xml-lang="en-US" l10n="U" oldref="34"><ahelp hid="HID_AAI_FUNC_PRICEMAT">Calculates the price per 100 currency units of par value of a security, that pays interest on the maturity date.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3154933" xml-lang="en-US" level="3" l10n="U" oldref="35">Syntax</paragraph>
+<paragraph role="code" id="par_id3155393" xml-lang="en-US" l10n="U" oldref="36">PRICEMAT(Settlement; Maturity; Issue; Rate; Yield; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3153102" xml-lang="en-US" l10n="U" oldref="37">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3150530" xml-lang="en-US" l10n="U" oldref="38">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3149903" xml-lang="en-US" l10n="U" oldref="39">
+<emph>Issue</emph> is the date of issue of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3148828" xml-lang="en-US" l10n="U" oldref="40">
+<emph>Rate</emph> is the interest rate of the security on the issue date.</paragraph>
+<paragraph role="paragraph" id="par_id3146993" xml-lang="en-US" l10n="U" oldref="41">
+<emph>Yield</emph> is the annual yield of the security.</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3150507" xml-lang="en-US" level="3" l10n="U" oldref="42">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154289" xml-lang="en-US" l10n="U" oldref="43">Settlement date: February 15 1999, maturity date: April 13 1999, issue date: November 11 1998. Interest rate: 6.1 per cent, yield: 6.1 per cent, basis: 30/360 = 0.</paragraph>
+<paragraph role="paragraph" id="par_id3154905" xml-lang="en-US" l10n="U" oldref="44">The price is calculated as follows:</paragraph>
+<paragraph role="paragraph" id="par_id3158409" xml-lang="en-US" l10n="CHG" oldref="45">=PRICEMAT("1999-02-15";"1999-04-13";"1998-11-11"; 0.061; 0.061;0) returns 99.98449888.</paragraph>
+</section>
+<section id="duration">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148448"><bookmark_value>calculating; durations</bookmark_value>
+<bookmark_value>durations;calculating</bookmark_value>
+<bookmark_value>DURATION function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LAUFZEIT" id="bm_id3154208" localize="false"/>
+<paragraph role="heading" id="hd_id3148448" xml-lang="en-US" level="2" l10n="U" oldref="280">DURATION</paragraph>
+<paragraph role="paragraph" id="par_id3153056" xml-lang="en-US" l10n="CHG" oldref="281"><ahelp hid="HID_FUNC_LAUFZEIT">Calculates the number of periods required by an investment to attain the desired value.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3145421" xml-lang="en-US" level="3" l10n="U" oldref="282">Syntax</paragraph>
+<paragraph role="code" id="par_id3148933" xml-lang="en-US" l10n="U" oldref="283">DURATION(Rate; PV; FV)</paragraph>
+<paragraph role="paragraph" id="par_id3148801" xml-lang="en-US" l10n="U" oldref="284">
+<emph>Rate</emph> is a constant. The interest rate is to be calculated for the entire duration (duration period). The interest rate per period is calculated by dividing the interest rate by the calculated duration. The internal rate for an annuity is to be entered as Rate/12.</paragraph>
+<paragraph role="paragraph" id="par_id3147239" xml-lang="en-US" l10n="U" oldref="285">
+<emph>PV</emph> is the present (current) value. The cash value is the deposit of cash or the current cash value of an allowance in kind. As a deposit value a positive value must be entered; the deposit must not be 0 or &lt;0.</paragraph>
+<paragraph role="paragraph" id="par_id3147515" xml-lang="en-US" l10n="U" oldref="286">
+<emph>FV</emph> is the expected value. The future value determines the desired (future) value of the deposit.</paragraph>
+<paragraph role="heading" id="hd_id3153579" xml-lang="en-US" level="3" l10n="U" oldref="287">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148480" xml-lang="en-US" l10n="U" oldref="288">At an interest rate of 4.75%, a cash value of 25,000 currency units and a future value of 1,000,000 currency units, a duration of 79.49 payment periods is returned. The periodic payment is the resulting quotient from the future value and the duration, in this case 1,000,000/79.49=12,850.20.</paragraph>
+</section>
+<section id="sln">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148912"><bookmark_value>calculating;linear depreciations</bookmark_value>
+<bookmark_value>depreciations;linear</bookmark_value>
+<bookmark_value>linear depreciations</bookmark_value>
+<bookmark_value>straight-line depreciations</bookmark_value>
+<bookmark_value>SLN function</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LIA" id="bm_id3154275" localize="false"/>
+<paragraph role="heading" id="hd_id3148912" xml-lang="en-US" level="2" l10n="U" oldref="290">SLN</paragraph>
+<paragraph role="paragraph" id="par_id3149154" xml-lang="en-US" l10n="U" oldref="291"><ahelp hid="HID_FUNC_LIA">Returns the straight-line depreciation of an asset for one period.</ahelp> The amount of the depreciation is constant during the depreciation period.</paragraph>
+<paragraph role="heading" id="hd_id3153240" xml-lang="en-US" level="3" l10n="U" oldref="292">Syntax</paragraph>
+<paragraph role="code" id="par_id3166456" xml-lang="en-US" l10n="U" oldref="293">SLN(Cost; Salvage; Life)</paragraph>
+<paragraph role="paragraph" id="par_id3146955" xml-lang="en-US" l10n="U" oldref="294">
+<emph>Cost</emph> is the initial cost of an asset.</paragraph>
+<paragraph role="paragraph" id="par_id3149796" xml-lang="en-US" l10n="U" oldref="295">
+<emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
+<paragraph role="paragraph" id="par_id3166444" xml-lang="en-US" l10n="U" oldref="296">
+<emph>Life</emph> is the depreciation period determining the number of periods in the depreciation of the asset.</paragraph>
+<paragraph role="heading" id="hd_id3155579" xml-lang="en-US" level="3" l10n="U" oldref="297">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154098" xml-lang="en-US" l10n="U" oldref="298">Office equipment with an initial cost of 50,000 currency units is to be depreciated over 7 years. The value at the end of the depreciation is to be 3,500 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3153390" xml-lang="en-US" l10n="U" oldref="299">
+<item type="input">=SLN(50000;3,500;84)</item> = 553.57 currency units. The periodic monthly depreciation of the office equipment is 553.57 currency units.</paragraph>
+</section>
+<section id="mduration">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153739"><bookmark_value>MDURATION function</bookmark_value>
+<bookmark_value>Macauley duration</bookmark_value>
+</bookmark><comment>mw added one entry</comment>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_MDURATION" id="bm_id3153750" localize="false"/>
+<paragraph role="heading" id="hd_id3153739" xml-lang="en-US" level="2" oldref="217">MDURATION</paragraph>
+<paragraph role="paragraph" id="par_id3149923" xml-lang="en-US" l10n="U" oldref="218"><ahelp hid="HID_AAI_FUNC_MDURATION">Calculates the modified Macauley duration of a fixed interest security in years.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149964" xml-lang="en-US" level="3" l10n="U" oldref="219">Syntax</paragraph>
+<paragraph role="code" id="par_id3148987" xml-lang="en-US" l10n="U" oldref="220">MDURATION(Settlement; Maturity; Coupon; Yield; Frequency; Basis)</paragraph>
+<paragraph role="paragraph" id="par_id3148619" xml-lang="en-US" l10n="U" oldref="221">
+<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149805" xml-lang="en-US" l10n="U" oldref="222">
+<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
+<paragraph role="paragraph" id="par_id3154338" xml-lang="en-US" l10n="U" oldref="223">
+<emph>Coupon</emph> is the annual nominal rate of interest (coupon interest rate)</paragraph>
+<paragraph role="paragraph" id="par_id3148466" xml-lang="en-US" l10n="U" oldref="224">
+<emph>Yield</emph> is the annual yield of the security.</paragraph>
+<paragraph role="paragraph" id="par_id3149423" xml-lang="en-US" l10n="U" oldref="225">
+<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
+<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
+<paragraph role="heading" id="hd_id3154602" xml-lang="en-US" level="3" l10n="U" oldref="226">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148652" xml-lang="en-US" l10n="CHG" oldref="227">A security is purchased on 2001-01-01; the maturity date is 2006-01-01. The nominal rate of interest is 8%. The yield is 9.0%. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how long is the modified duration?</paragraph>
+<paragraph role="paragraph" id="par_id3145378" xml-lang="en-US" l10n="CHG" oldref="228">=MDURATION("2001-01-01"; "2006-01-01"; 0.08; 0.09; 2; 3) returns 4.02 years.</paragraph>
+</section>
+<section id="npv">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149242"><bookmark_value>calculating;net present values</bookmark_value>
+<bookmark_value>net present values</bookmark_value>
+<bookmark_value>NPV function</bookmark_value>
+</bookmark>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NBW" id="bm_id3148417" localize="false"/>
+<paragraph role="heading" id="hd_id3149242" xml-lang="en-US" level="2" l10n="U" oldref="301">NPV</paragraph>
+<paragraph role="paragraph" id="par_id3145308" xml-lang="en-US" l10n="CHG" oldref="302"><ahelp hid="HID_FUNC_NBW">Returns the present value of an investment based on a series of periodic cash flows and a discount rate. To get the net present value, subtract the cost of the project (the initial cash flow at time zero) from the returned value.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149937" xml-lang="en-US" level="3" l10n="U" oldref="303">Syntax</paragraph>
+<paragraph role="code" id="par_id3153321" xml-lang="en-US" l10n="U" oldref="304">NPV(Rate; Value1; Value2; ...)</paragraph>
+<paragraph role="paragraph" id="par_id3150630" xml-lang="en-US" l10n="U" oldref="305">
+<emph>Rate</emph> is the discount rate for a period.</paragraph>
+<paragraph role="paragraph" id="par_id3150427" xml-lang="en-US" l10n="U" oldref="306">
+<emph>Value1;...</emph> are up to 30 values, which represent deposits or withdrawals.</paragraph>
+<paragraph role="heading" id="hd_id3153538" xml-lang="en-US" level="3" l10n="U" oldref="307">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154800" xml-lang="en-US" l10n="CHG" oldref="308">What is the net present value of periodic payments of 10, 20 and 30 currency units with a discount rate of 8.75%. At time zero the costs were payed as -40 currency units.</paragraph>
+<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US" l10n="CHG" oldref="309">
+<item type="input">=NPV(8.75%;10;20;30)</item> = 49.43 currency units. The net present value is the returned value minus the initial costs of 40 currency units, therefore 9.43 currency units.</paragraph>
+<