1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
|
<html>
<head>
<title>OpenOffice.org %PRODUCT_RELEASE% SDK - Developer's Guide Examples</title>
<link rel="stylesheet" type="text/css"
href="../../docs/sdk_styles.css">
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="author" content="Jürgen Schmidt">
<meta name="created" content="2004-12-14">
</head>
<body class="sdkbody">
<a name="examples"></a>
<table class="table1" cellpadding="0">
<tbody>
<tr style="background-image:url(../../docs/images/sdk_head-2.png); backgorund-position: bottom; ">
<td class="background" colspan="3" align="left"><img src="../../docs/images/sdk_head-1.png" width="800" height="120" usemap="#Map" border="0"></td>
</tr>
<tr>
<td colspan="3"><img class="nothing10"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td colspan="3"><img class="nothing1"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1">Developer's Guide
Examples</td>
<td align="right"> <a href="../examples.html"
title="link to the examples overview"><img class="navigate"
src="../../docs/images/nav_left.png"></a> <a href="../../index.html"
title="link to the SDK start page"><img class="navigate"
src="../../docs/images/nav_home.png"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="3">
<p>The <a
href="http://doc.services.openoffice.org/wiki/index.php/Documentation/DevGuide/OpenOffice.org_Developers_Guide"
title="link to the Developer's Guide in the Wiki">Developer's Guide</a>
comes with a wide range of examples from all application areas which
shows the use of the API in the context of the different functional
areas. Furthermore the examples can be used as a first starting point
to modify an existing example to their own needs.</p>
<p>Some fo the examples need a running office
instance listening on a port. If this is necessary you will get further
information in the makefiles.</p>
<p>All examples marked with a <img
src="../../docs/images/bluball.gif"> are executable and be started
using a run target in the makefile. The name of the binary (C++) can
differ compared to the source file, please see the run target in the
appropriate makefile. Some of the examples which create a component
have no run target. In these cases a document is provided which
instantiates and runs the component (see the makefile output). Also the
Basic examples provide documents which use and shows the implemented
functionality. The database and forms examples need a running database,
please see the description below. But note that is not described in
detail how to create a working data source (see the office help).</p>
</td>
</tr>
<tr>
<td><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table3">
<tbody>
<tr valign="top">
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#FirstSteps"
title="link to the First Steps examples">First Steps</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#ProfessionalUNO"
title="link to the Professional UNO examples">Professional UNO</a></td>
<td class="content10"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Components"
title="link to the Components examples">Writing UNO components</a></td>
</tr>
<tr valign="top">
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#OfficeDevelopment"
title="link to the Office Development examples">Office Development</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Text" title="link to the Text examples">Text
Documents</a></td>
<td class="content10"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Spreadsheet"
title="link to the Spreadsheet examples">Spreadsheet Documents</a></td>
</tr>
<tr valign="top">
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Drawing"
title="link to the Drawing And Presentation examples">Drawing and
Presentation Documents</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Charts"
title="link to the Charts examples">Charts</a></td>
<td class="content10"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#BasicandDialogs"
title="link to the Basic And Dialogs examples">OpenOffice.org %PRODUCT_RELEASE% Basic and
Dialogs</a></td>
</tr>
<tr valign="top">
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Database"
title="link to the Database examples">Database Access</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Forms"
title="link to the Forms examples">Forms</a></td>
<td class="content10"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#UniversalContentBroker%28UCB%29"
title="link to the Universal Content Broker examples">Universal
Content Broker (UCB)</a></td>
</tr>
<tr valign="top">
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Configuration"
title="link to the Configuration examples">Configuration Management</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#OfficeBean"
title="link to the OOoBean examples">Office Bean</a></td>
<td class="content10"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#Accessibility"
title="link to the Accessibility examples">Accessibility</a></td>
</tr>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#ScriptingFramework" title="link to the Scripting Framework examples">Scripting Framework</a></td>
<td class="content4"></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"></td>
<td><a href="#GraphicalUserInterfaces" title="link to the Graphical UserInterfaces examples">Graphical User Interfaces</a></td>
<td class="content10"></td>
<td class="content3"></td>
<td></td>
<tr>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="FirstSteps">FirstSteps
examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Text Document Examples</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./FirstSteps/FirstUnoContact.java"
title="link to FirstSteps/FirstUnoContact.java">FirstUnoContact</a></td>
<td class="cell80">Shows how to initialize UNO and
get a remote office service manager from a running OpenOffice.org %PRODUCT_RELEASE% in a
different process space.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./FirstSteps/FirstLoadComponent.java"
title="link to FirstSteps/FirstLoadComponent.java">FirstLoadComponent</a></td>
<td class="cell80">Demonstrates how to load a
component into OpenOffice.org %PRODUCT_RELEASE% by a Java application.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./FirstSteps/HelloTextTableShape.java"
title="link to FirstSteps/HelloTextTableShape.java">HelloTextTableShape</a></td>
<td class="cell80">Performs some generic text and
shape operations on a text document, a spreadsheet document and a
drawing document.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="ProfessionalUNO">Professional UNO examples1</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Lifetime Examples</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/Lifetime/MyUnoObject.java"
title="link to ProfUNO/Lifetime/MyUnoObject.java">MyUnoObject</a></td>
<td class="cell80">Shows that it depends on the
implementation of the Java VM whether finalize() will be called or not.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/Lifetime/object_lifetime.cxx"
title="link to ProfUNO/Lifetime/object_lifetime.java">object_lifetime.cxx
(ProfUnoLifetime)</a></td>
<td class="cell80">Shows the UNO reference counting
mechanism in C++.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Interprocess Connection Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/InterprocessConn/ConnectionAwareClient.java"
title="link to ProfUNO/InterprocessConn/ConnectionAwareClient/.java">ConnectionAwareClient</a></td>
<td class="cell80">Implements a client which is aware
of losing connection to OpenOffice.org %PRODUCT_RELEASE%.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/InterprocessConn/UrlResolver.java"
title="link to ProfUNO/InterProcessConn/UrlResolver.java">UrlResolver</a></td>
<td class="cell80">Builds a connection to
OpenOffice.org %PRODUCT_RELEASE% using the URL given on the command line. This example
shows the usage of <a
href="../../docs/common/ref/com/sun/star/bridge/XUnoUrlResolver.html"
title="link to the reference documentation of com.sun.star.bridge.XUnoResolver"><code>XUnoUrlResolver</code></a>.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">C++ Binding Examples</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/CppBinding/office_connect.cxx"
title="link to ProfUNO/CppBinding/office_connect.java">office_connect.cxx</a></td>
<td class="cell80">Builds a connection to
OpenOffice.org %PRODUCT_RELEASE% using C++.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/CppBinding/string_samples.cxx"
title="link to ProfUNO/Cppbinding/string_samples.java">string_samples.cxx</a></td>
<td class="cell80">Demonstrates usage of RTL string
classes <a href="../../docs/cpp/ref/names/rtl/c-OString.html"
title="link to the reference documentation of rtl::OString"><code>OString</code></a>,
<a href="../../docs/cpp/ref/names/rtl/c-OUString.html"
title="link to the reference documentation of rtl::OUString"><code>OUString</code></a>
and <a href="../../docs/cpp/ref/names/rtl/c-OUStringBuffer.html"
title="link to the reference documentation of rtl::OUStringBuffer"><code>OUStringBuffer</code></a>.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">SimpleBootstrap Java Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/SimpleBootstrap_java/SimpleBootstrap_java.java"
title="link to ProfUNO/SimpleBootstrap_java/SimpleBootstrap_java.java">SimpleBootstrap_java.java</a></td>
<td class="cell80">Shows the transparent use of
office UNO components from Java. The remote office component context is
obtained by using the <code>com.sun.star.comp.helper.Bootstrap.bootstrap()</code>
method, which bootstraps the component context from a UNO installation.</td>
</tr>
<tr>
<td class="cell20"><a
href="./ProfUNO/SimpleBootstrap_java/manifest.mf"
title="link to ProfUNO/SimpleBootstrap_java/manifest.mf"> manifest.mf</a></td>
<td class="cell80">Contains the additional manifest
file entries.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">SimpleBootstrap C++ Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx"
title="link to ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx">SimpleBootstrap_cpp.cxx</a></td>
<td class="cell80">Shows the transparent use of
office UNO components from C++. The remote office component context is
obtained by using the <code>::cppu::bootstrap()</code> function, which
bootstraps the component context from a UNO installation.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Deployment Features</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"> <a
href="./Components/SimpleLicense/description.xml"
title="link to Components/SimpleLicense/description.xml">description.xml</a></td>
<td class="cell80">Demonstrates how license files can be embedded, so that they are shown to the user during installation.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Components">Writing
UNO components examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Jobs Addon Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/JobsAddon/AsyncJob.java"
title="link to Components/Addons/JobsAddon/AsyncJob.java">AsyncJob</a></td>
<td class="cell80">An java example showing how a job
can analyze the given arguments and how the environment can be
detected, in which the job is executed.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/JobsAddon/Jobs.xcu"
title="link to Components/Addons/JobsAddon/Jobs.xcu">Jobs.xcu</a></td>
<td class="cell80">Contains the example job
configuration.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/JobsAddon/Addons.xcu"
title="link to Components/Addons/JobsAddon/Addons.xcu">Addons.xcu</a></td>
<td class="cell80">Contains the configuration entries
for the Jobs addon where different entries are configured.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">ProtocolHandler Addon Java</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java"
title="link to Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java">ProtocolHandlerAddon</a></td>
<td class="cell80">Implements a ProtocolHandler addon
component in Java.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
<td class="cell80">Contains the ProtocolHandler
configuration.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
<td class="cell80">Contains the configuration entries
for the ProtocolHandler addon where different entries are configured.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">ProtocolHandler Addon C++</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx">addon.cxx</a></td>
<td class="cell80">Implements a ProtocolHandler addon
component in C++.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx">addon.hxx</a></td>
<td class="cell80">Contains the class definition of
the c++ ProtocolHandler example.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/component.cxx"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/component.cxx">component.cxx</a></td>
<td class="cell80">Implements the administrative
component functions (component_writeInfo, component_getFactory).</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
<td class="cell80">Contains the ProtocolHandler
configuration.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"
title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
<td class="cell80">Contains the configuration entries
for the ProtocolHandler addon where different entries are configured.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Java Component Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif"> <a
href="./Components/JavaComponent/TestJavaComponent.java"
title="link to Components/JavaComponent/TestJavaComponent.java">TestJavaComponent</a></td>
<td class="cell80">Demonstrates how to extend the
service provider with a new factory and instantiates the example
components.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/JavaComponent/TestComponentA.java"
title="link to Components/JavaComponent/TestComponentA.java">TestComponentA</a></td>
<td class="cell80">Shows a simple demo component
which implements <a
href="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"
title="link to the reference documentation of com.sun.star.lang.XTypeProvider"><code>XTypeProvider</code></a>,
<a
href="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"
title="link to the reference documentation of com.sun.star.lang.XServicedInfo">
<code>XServiceInfo</code></a> and an own interface <code>XSomethingA</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/JavaComponent/TestComponentB.java"
title="link to Components/JavaComponent/TestComponentB.java">TestComponentB</a></td>
<td class="cell80">Shows a simple demo component
which implements <a
href="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"
title="link to the reference documentation of com.sun.star.lang.XTypeProvider">
<code>XTypeProvider</code></a>, <a
href="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"
title="link to the reference documentation of com.sun.star.lang.XServiceInfo"><code>XServiceInfo</code></a>
and an own interface <code>XSomethingB</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/JavaComponent/TestServiceProvider.java"
title="link to Components/JavaComponent/TestServiceProvider.java">TestServiceProvider</a></td>
<td class="cell80">Implements a factory (service
provider) which can create the two test components.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">C++ Component Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif"> <a
href="./Components/CppComponent/TestCppComponent.cxx"
title="link to Components/CppComponent/TestCppComponent.cxx">TestCppComponent.cxx</a></td>
<td class="cell80">Shows how to create new instances
of the demo services and calls some methods of the demo interface.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/CppComponent/service1_impl.cxx"
title="link to Components/CppComponent/service1_impl.cxx">service1_impl.cxx</a></td>
<td class="cell80">Implements a simple UNO service
with an own interface in C++.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/CppComponent/service2_impl.cxx"
title="link to Components/CppComponent/service2_impl.cxx">service2_impl.cxx</a></td>
<td class="cell80">Implements another simple UNO
service in C++.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Thumbs Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Thumbs/org/openoffice/comp/test/ImageShrink.java"
title="link to Components/Thumbs/org/openoffice/comp/test/ImageShrink.java">ImageShrink</a></td>
<td class="cell80">Contains a framework for a
component which scales images in a directory and stores them to another
directory. This code does not really do anything, it just contains the
framework.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/Thumbs/org/openoffice/comp/test/Thumbs.java"
title="link to Components/Thumbs/org/openoffice/comp/test/Thumbs.java">Thumbs</a></td>
<td class="cell80">This example registers a factory
for the image shrink component and instantiates it.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Dialog Component Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif"> <a
href="./Components/DialogComponent/DialogComponent.java"
title="link to Components/DialogComponent/DialogComponent.java">DialogComponent.java</a></td>
<td class="cell80">Implements a component accessing a dialog created
with the OpenOffice.org %PRODUCT_RELEASE% Basic IDE. The component provides methods that
can be bound to dialog respectively control events .</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/DialogComponent/XTestDialogHandler.idl"
title="link to Components/DialogComponent/XTestDialogHandler.idl">XTestDialogHandler.idl</a></td>
<td class="cell80">Interface implementing a createDialog method showing the
dialog and some methods to be used as event handler for the dialog.
</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/DialogComponent/TestDialogHandler.idl"
title="link to Components/DialogComponent/TestDialogHandler.idl">TestDialogHandler.idl</a></td>
<td class="cell80">
Service definition for the component implementing
its own interface <code>XTestDialogHandler</code>.
</td>
</tr>
<tr>
<td class="cell20"><a
href="./Components/DialogComponent/DialogComponent.odt"
title="link to Components/DialogComponent/DialogComponent.odt">DialogComponent.odt</a></td>
<td class="cell80">Document containing Basic code to
instantiate the Dialog Components and a Dialog containing
controls with events bound to methods supported by the
Dialog Component.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="OfficeDevelopment">Office Development examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Ascii Filter Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java"
title="link to OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java">AsciiReplaceFilter</a></td>
<td class="cell80">Implements an example for an
import/export filter service.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java"
title="link to OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java">FilterOptions</a></td>
<td class="cell80">Offers some helper methods to
analyze and prepare the arguments of the filter method.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/AsciiFilter/TypeDetection.xcu"
title="link to OfficeDev/FilterDevelopment/AsciiFilter/TypeDetection.xcu">TypeDetection.xcu</a></td>
<td class="cell80">Contains the necessary
configuration items for the AsciiReplaceFilter.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">FlatXmlFilter C++ Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx">FlatXml.cxx</a></td>
<td class="cell80">Implements an import/export filter
storing the data in one xml stream instead of the normal three streams
in for example an .odt file. The example is implemented in C++.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXmlFilter_cpp.xcu"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXmlFilter_cpp.xcu">FlatXmlFilter_cpp.xcu</a></td>
<td class="cell80">Contains the necessary
configuration items for the C++ flat xml filter.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">FlatXmlFilter Java Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java">FlatXml</a></td>
<td class="cell80">Implements an import/export filter
storing the data in one xml stream instead of the normal three streams
in for example an .odt file. The example is implemented in Java.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXmlFilter_java.xcu"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXmlFilter_java.xcu">FlatXmlFilter_java.xcu</a></td>
<td class="cell80">Contains the necessary
configuration items for the Java flat xml filter.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">FlatXml FilterDetection Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx">filterdetect.cxx</a></td>
<td class="cell80">Implements an example filter
detection for the flat xml filter. The example is implemented in C++.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx">filterdetect.hxx</a></td>
<td class="cell80">Contains the class definition of
the filter detection example.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx">fdcomp.cxx</a></td>
<td class="cell80">Implements the administrative
component functions (component_writeInfo, component_getFactory).</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/FlatXmlTypeDetection.xcu"
title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/FlatXmlTypeDetection.xcu">FlatXmlTypeDetection.xcu</a></td>
<td class="cell80">Contains the necessary
configuration items for the C++ flat xml type detection.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Desktop Environment Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/CustomizeView.java"
title="link to OfficeDev/DesktopEnvironment/CustomizeView.java">CustomizeView</a></td>
<td class="cell80">Offers a view which allows hiding
and showing of the menubar, toolbar and objectbar of the related
document component.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/DesktopEnvironment/Desk.java"
title="link to OfficeDev/DesktopEnvironment/Desk.java">Desk</a></td>
<td class="cell80">This is the main part of a demo
application based on the framework APIs. It mainly shows the mechanisms
to load, store and convert documents, as well as dispatch and dispatch
interception. It integrates windows from OpenOffice.org %PRODUCT_RELEASE% via system
window handle. This is the same mechanism as used by the OOoBean, but
the OOoBean itself is not used here, just the JNI window handle access.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/DocumentView.java"
title="link to OfficeDev/DesktopEnvironment/DocumentView.java">DocumentView</a></td>
<td class="cell80">Deals with the application window
and it's actions.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/FunctionHelper.java"
title="link to OfficeDev/DesktopEnvironment/FunctionHelper.java">FunctionHelper</a></td>
<td class="cell80">This helper comprises all
OpenOffice.org %PRODUCT_RELEASE% API calls. Thus it is possible to learn about these
aspects separately from the rest of the application example.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/IOnewayLink.java"
title="link to OfficeDev/DesktopEnvironment/IOnewayLink.java">IOnewayLink</a></td>
<td class="cell80">This is an interface to receive
asynchronous events from UNO oneway calls.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/IShutdownListener.java"
title="link to OfficeDev/DesktopEnvironment/IShutdownListener.java">IShutdownListener</a></td>
<td class="cell80">This is a listener interface to
clean up on shutdown of OpenOffice.org %PRODUCT_RELEASE%.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/Interceptor.java"
title="link to OfficeDev/DesktopEnvironment/Interceptor.java">Interceptor</a></td>
<td class="cell80">This implements a dispatch
interceptor for a specific URL.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java"
title="link to OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java">JavaWindowPeerFake</a></td>
<td class="cell80">Fakes an <a
href="../../docs/common/ref/com/sun/star/awt/XWindowPeer.html"
title=" link to the reference documentation of com.sun.star.awt.XWindowPeer"><code>XWindowPeer</code></a>
for the Java native window handle to create a child window for the
office frame.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/NativeView.java"
title="link to OfficeDev/DesktopEnvironment/NativeView.java">NativeView</a></td>
<td class="cell80">Implements native JNI methods to
get the window handle of the Java window.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/OfficeConnect.java"
title=" link to OfficeDev/DesktopEnvironment/OfficeConnect.java">OfficeConnect</a></td>
<td class="cell80">Builds the remote bridge to
OpenOffice.org %PRODUCT_RELEASE% and exports its UNO service manager for the Java side of
the application.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/OnewayExecutor.java"
title="link to OfficeDev/DesktopEnvironment/OnewayExecutor.java">OnewayExecutor</a></td>
<td class="cell80">Implements <code>IOnewayLink</code>
to decouple asynchronous oneway calls in the Java process.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/StatusListener.java"
title="link to OfficeDev/DesktopEnvironment/StatusListener.java">StatusListener</a></td>
<td class="cell80">Implements a listener for a <a
href="../../docs/common/ref/com/sun/star/frame/FeatureStateEvent.html"
title="link to the reference documentation of com.sun.star.frame.FeatureStateEvent">
<code>FeatureStateEvent</code></a>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/StatusView.java"
title="link to OfficeDev/DesktopEnvironment/StatusView.java">StatusView</a></td>
<td class="cell80">Shows the current status for which
the application is registered as an event listener.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DesktopEnvironment/ViewContainer.java"
title="link to OfficeDev/DesktopEnvironment/ViewContainer.java">ViewContainer</a></td>
<td class="cell80">Performs a clean up on the Java
side on OpenOffice.org %PRODUCT_RELEASE% shutdown.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Office Development Examples</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/OfficeConnect.java"
title="link to OfficeDev/OfficeConnect.java">OfficeConnect</a></td>
<td class="cell80">Builds the remote bridge to
OpenOffice.org %PRODUCT_RELEASE% and exports its UNO service manager to the Java side.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/ContextMenuInterceptor.java"
title="link to OfficeDev/ContextMenuInterceptor.java">ContextMenuInterceptor</a></td>
<td class="cell80">This example shows a context menu
interceptor that creates a new menu entry that has a sub menu. This sub
menu is in inserted into the context menu on the topmost position. It
provides some helper functions to the user that are reachable through
the menu Help.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/MenuElement.java"
title="link to OfficeDev/MenuElement.java">MenuElement</a></td>
<td class="cell80">A helper class for the context
menu interceptor example. It determines the menu element type.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/Number_Formats.java"
title="link to OfficeDev/Number_Formats.java">Number_Formats</a></td>
<td class="cell80">Demonstrates the use of number
formats in a spreadsheet document.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Termination Test Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/TerminationTest/TerminationTest.java"
title="link to OfficeDev/TerminationTest/TerminationTest.java">TerminationTest</a></td>
<td class="cell80">This example uses the
TerminateListener and shows the use of them in a running program.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/TerminationTest/TerminateListener.java"
title="link to OfficeDev/TerminationTest/TerminateListener.java">TerminateListener</a></td>
<td class="cell80">An example implementation of <a
href="../../docs/common/ref/com/sun/star/frame/XTerminateListener.html"
title="link to the reference documentation of com.sun.star.frame.XTerminationListener">
<code>XTerminateListener</code></a>. It is called
when OpenOffice.org %PRODUCT_RELEASE% terminates.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Clipboard Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/Clipboard/Clipboard.java"
title="link to OfficeDev/Clipboard/Clipboard.java">Clipboard</a></td>
<td class="cell80">Demonstrates the usage of the
clipboard service by registering a clipboard listener, getting a list
of formats from the current clipboard content and copying some data to
the clipboard.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Clipboard/ClipboardListener.java"
title="link to OfficeDev/Clipboard/ClipboardListener.java">ClipboardListener</a></td>
<td class="cell80">Implements a clipboard listener
for the Clipboard example. In such a class, actions can be implemented
which happen whenever the clipboard content changes.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Clipboard/ClipboardOwner.java"
title="link to OfficeDev/Clipboard/ClipboardOwner.java">ClipboardOwner</a></td>
<td class="cell80">Implements a clipboard owner for
the Clipboard example. This class is notified when it loses ownership
of the clipboard.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Clipboard/TextTransferable.java"
title="link to OfficeDev/Clipboard/TextTransferable.java">TextTransferable</a></td>
<td class="cell80">Implements a data object for the
Clipboard example. Such classes supply clients with data in a variety
of formats.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Linguistic Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeDev/Linguistic/LinguisticExamples.java"
title="link to OfficeDev/Linguistic/LinguisticExamples.java">LinguisticExamples</a></td>
<td class="cell80">A short example that uses most of
the functionality from the OpenOffice.org %PRODUCT_RELEASE% linguistic API.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/OneInstanceFactory.java"
title="link to OfficeDev/Linguistic/OneInstanceFactory.java">OneInstanceFactory</a></td>
<td class="cell80">This class is used to provide a
service factory for the linguistic services. It enforces that the
actual implementations are only instantiated once.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/PropChgHelper.java"
title="link to OfficeDev/Linguistic/PropChgHelper.java">PropChgHelper</a></td>
<td class="cell80">The base class for several
property change helpers which are used to keep track of the changes of
the service relevant linguistic properties. It is also used by the
thesaurus directly.</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/PropChgHelper_Hyph.java"
title="link to OfficeDev/Linguistic/PropChgHelper_Hyph.java">PropChgHelper_Hyph</a></td>
<td class="cell80">The property change helper that is
tracking the hyphenation relevant properties.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/PropChgHelper_Spell.java"
title="link to OfficeDev/Linguistic/PropChgHelper_Spell.java">PropChgHelper_Spell</a></td>
<td class="cell80">The property change helper that is
tracking the spell checking relevant properties.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/SampleHyphenator.java"
title="link to OfficeDev/Linguistic/SampleHyphenator.java">SampleHyphenator</a></td>
<td class="cell80">A simple implementation for a <a
href="../../docs/common/ref/com/sun/star/linguistic2/Hyphenator.html"
title="link to the reference documentation of com.sun.star.linguistic2.Hypenator"><code>Hyphenator</code></a>
service.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/SampleSpellChecker.java"
title="link to OfficeDev/Linguistic/SampleSpellChecker.java">SampleSpellChecker</a></td>
<td class="cell80">A simple implementation for a <a
href="../../docs/common/ref/com/sun/star/linguistic2/SpellChecker.html"
title="link to the reference documentation of com.sun.star.linguistic2.SpellChecker"><code>SpellChecker</code></a>
service.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/SampleThesaurus.java"
title="link to OfficeDev/Linguistic/SampleThesaurus.java">SampleThesaurus</a></td>
<td class="cell80">A simple implementation for a <a
href="../../docs/common/ref/com/sun/star/linguistic2/Thesaurus.html"
title="link to the reference documentation of com.sun.star.linguistic2.Thesaurus"><code>Thesaurus</code></a>
service.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/XHyphenatedWord_impl.java"
title="link to OfficeDev/Linguistic/XHyphenatedWord_impl.java">XHyphenatedWord_impl</a></td>
<td class="cell80">An object implementing the <a
href="../../docs/common/ref/com/sun/star/linguistic2/XHyphenatedWord.html"
title="link to the reference documentation of com.sun.star.linguistic2/XHyphenatedWord"><code>XHyphenatedWord</code></a>
interface. An instance of this type may be returned by the hyphenator.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/XMeaning_impl.java"
title="link to OfficeDev/Linguistic/XMeaning_impl.java">XMeaning_impl</a></td>
<td class="cell80">An object implementing the <a
href="../../docs/common/ref/com/sun/star/linguistic2/XMeaning.html"
title="link to the reference documentation of com.sun.star.linguistic2.XMeaning"><code>XMeaning</code></a>
interface. An instance of this type may be returned by the thesaurus.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/XPossibleHyphens_impl.java"
title="link to OfficeDev/Linguistic/XPossibleHyphens_impl.java">XPossibleHyphens_impl</a></td>
<td class="cell80">An object implementing the <a
href="../../docs/common/ref/com/sun/star/linguistic2/XPossibleHyphens.html"
title="link to the reference documentation of com.sun.star.linguistic2.XPossibleHyphens">
<code>XPossibleHyphens</code></a> interface. An
instance of this type may be returned by the hyphenator.</td>
</tr>
<tr>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/Linguistic/XSpellAlternatives_impl.java"
title="link to OfficeDev/Linguistic/XSpellAlternatives_impl.java">XSpellAlternatives_impl</a></td>
<td class="cell80">An object implementing the <a
href="../../docs/common/ref/com/sun/star/linguistic2/XSpellAlternatives.html"
title="link to the reference documentation of com.sun.star.linguistic2.XSpellAlternatives">
<code>XSpellAlternatives</code></a> interface. An
instance of this type may be returned by the spell checker.</td>
</tr>
<tr>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Path Settings Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/PathSettings/PathSettingsTest.java"
title="link to OfficeDev/PathSettings/PathSettingsTest.java">PathsettingsTest</a></td>
<td class="cell80">This code example creates the
service <a
href="../../docs/common/ref/com/sun/star/util/PathSettings.html"
title="link to the reference documentation of com.sun.star.util.PathSettingst">
<code>com.sun.star.util.PathSettings</code></a> and
retrieves all path properties from it. It shows how a developer can
change the path properties using the <a
href="../../docs/common/ref/com/sun/star/beans/XPropertySet.html"
title="link to the reference documentation of com.sun.star.beans.XPropertySet"><code>XPropertySet</code></a>
interface.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Path Substitution Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/PathSubstitution/PathSubstitutionTest.java"
title="link to OfficeDev/PathSubstitution/PathSubstitutionTest.java">PathSubstitutionTest</a></td>
<td class="cell80">This code example creates the path
substitution service <a
href="../../docs/common/ref/com/sun/star/util/PathSubstitution.html"
title="link to the reference documentation of com.sun.star.util.PathSubstitution">
<code>com.sun.star.util.PathSubstitution</code></a>
and retrieves the pre-defined Office path variables. It shows the
variable values on the screen. The reSubstiuteVariables function is
used to show how the service exchanges parts of a path with a path
variable supporting platform independent path usage.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Disable Commands Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./OfficeDev/DisableCommands/DisableCommandsTest.java"
title="link to OfficeDev/DisableCommands/DisableCommandsTest.java">DisableCommandsTest</a></td>
<td class="cell80">Implements an example showing how
a developer can use the configuration API to disable/enable commands at
runtime.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Text">Text
Documents examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Text/TextDocuments.java"
title="link to Text/TextDocuments.java">TextDocuments</a></td>
<td class="cell80">
<p>Demonstrates a wide variety of API functions in
text documents and text document views.</p>
<ul>
<li>use of templates</li>
<li>using the view cursor, including visible text
selections</li>
<li>changing the paragraph style</li>
<li>using various editing facilities like text
insertion</li>
<li>using various cursor interfaces</li>
<li>creating text contents, like tables, sections
and frames, well as text fields and columns</li>
<li>using stylesheets</li>
<li>applying numbering styles</li>
<li>using references, indexes, footnotes and
autotext</li>
<li>loading, storing and printing a text document</li>
</ul>
<p>Adjust the strings at the beginning of the class
definition to match your installation!</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Spreadsheet">Spreadsheet
Documents examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Spreadsheet/ExampleAddIn.java"
title="link to Spreadsheet/ExampleAddIn.java">ExampleAddIn</a></td>
<td class="cell80">Implements a simple add-in
component for spreadsheet documents. This component needs to be
deployed before it can be used.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Spreadsheet/ExampleDataPilotSource.java"
title="link to Spreadsheet/ExampleDataPilotSource.java">ExampleDataPilotSource</a></td>
<td class="cell80">Shows usage of a wide variety of
spreadsheet interfaces like <a
href="../../docs/common/ref/com/sun/star/sheet/XCellRangeData.html"
title="link to the reference documentation of com.sun.star.sheet.XCellRangeData">
<code>XCellRangeData</code></a>, <a
href="../../docs/common/ref/com/sun/star/sheet/XCellSeries.html"
title="link to the reference documentation of com.sun.star.sheet.XCellSeries"><code>XCellSeries</code></a>,
<a
href="../../docs/common/ref/com/sun/star/sheet/XArrayFormulaRange.html"
title="link to the reference documentation of com.sun.star.sheet.XArrayFormularRange"><code>XArrayFormulaRange</code></a>
and <a
href="../../docs/common/ref/com/sun/star/sheet/XMultipleOperation.html"
title="link to the reference documentation of com.sun.star.sheet.XMultipleOperation"><code>XMultipleOperations</code></a>
as well as named ranges, label ranges and data pilot.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Spreadsheet/GeneralTableSample.java"
title="link to Spreadsheet/GeneralTableSample.java">GeneralTableSample</a></td>
<td class="cell80">Executes some examples working on
generic tables.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Spreadsheet/SpreadsheetDocHelper.java"
title="link to Spreadsheet/SpreadsheetDocHelper.java">SpreadsheetDocHelper</a></td>
<td class="cell80">Defines a helper class for the
other examples to access spreadsheet documents, sheets and cells.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Spreadsheet/SpreadsheetSample.java"
title="link to Spreadsheet/SpreadsheetSample.java">SpreadsheetSample</a></td>
<td class="cell80">Executes some examples working on
a spreadsheet document.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Spreadsheet/ViewSample.java"
title="link to Spreadsheet/ViewSample.java">ViewSample</a></td>
<td class="cell80">Shows how to manipulate view
settings like splitting sheeting sheets and selecting cells.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Drawing">Drawing
and Presentation Documents examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/ChangeOrderDemo.java"
title="link to Drawing/ChangeOrderDemo.java">ChangeOrderDemo</a></td>
<td class="cell80">Shows how to change the painting
order of shapes.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/ControlAndSelectDemo.java"
title="link to Drawing/ControlAndSelectDemo.java">ControlAndSelectDemo</a></td>
<td class="cell80">Demonstrates the creation of a
control shape and selects it in the current view.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/CustomShowDemo.java"
title="link to Drawing/CustomShowDemo.java">CustomShowDemo</a></td>
<td class="cell80">Creates two custom shows and
selects one of these.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/DrawViewDemo.java"
title="link to Drawing/DrawViewDemo.java">DrawViewDemo</a></td>
<td class="cell80">Prints the view data properties
and the controller properties of a drawing view and shows an example of
setting such a property.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/DrawingDemo.java"
title="link to Drawing/DrawingDemo.java">DrawingDemo</a></td>
<td class="cell80">Creates several shapes on several
slides. Nice pattern included!</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/FillAndLineStyleDemo.java"
title="link to Drawing/FillAndLineStyleDemo.java">FillAndLineStyleDemo</a></td>
<td class="cell80">Demonstrates usage of area fill
and line style properties.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/GluePointDemo.java"
title="link to Drawing/GluePointDemo.java">GluePointDemo</a></td>
<td class="cell80">Creates two shapes with glue
points and connects them with two connectors.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/GraphicExportDemo.java"
title="link to Drawing/GraphicExportDemo.java">GraphicExportDemo</a></td>
<td class="cell80">Loads a drawing document and
exports it to a GIF file. Run this program with source URL, target URL
and page index on the command line, where the URLs are fully qualified
URLs.</td>
</tr>
<tr>
<td class="cell20"><a href="./Drawing/Helper.java"
title="link to Drawing/Helper.java">Helper</a></td>
<td class="cell80">Contains a helper class for the
other examples to connect to OpenOffice.org %PRODUCT_RELEASE% and open or create a drawing
document.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/LayerDemo.java" title="link to Drawing/LayerDemo.java">LayerDemo</a></td>
<td class="cell80">Creates shapes in different layers
to show how to protect shapes from modifications.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/ObjectTransformationDemo.java"
title="link to Drawing/ObjectTransformationDemo.java">ObjectTransformationDemo</a></td>
<td class="cell80">Shows geometric transformations on
a shape using a homogenous matrix.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/Organigram.java"
title="link to Drawing/Organigram.java">Organigram</a></td>
<td class="cell80">Demonstrates the creation of an
organigram consisting of shapes and connectors.</td>
</tr>
<tr>
<td class="cell20"><a href="./Drawing/PageHelper.java"
title="link to Drawing/PageHelper.java">PageHelper</a></td>
<td class="cell80">Contains a helper class for
accessing several kinds of draw pages in a presentation or drawing
document.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/PresentationDemo.java"
title="link to Drawing/PresentationDemo.java">PresentationDemo</a></td>
<td class="cell80">Creates a presentation and runs it
with some user interaction.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Drawing/ShapeHelper.java"
title="link to Drawing/ShapeHelper.java">ShapeHelper</a></td>
<td class="cell80">Contains a helper class for
accessing and creating shapes for the other examples.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Drawing/StyleDemo.java" title="link to Drawing/StyleDemo.java">StyleDemo</a></td>
<td class="cell80">Creates a shape and applies a
predefined shape stylesheet.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a href="./Drawing/TextDemo.java"
title="link to Drawing/TextDemo.java">TextDemo</a></td>
<td class="cell80">Demonstrates usage of text and
text styles in shapes.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Charts">Charts
examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a href="./Charts/CalcHelper.java"
title="link to Charts/CalcHelper.java">CalcHelper</a></td>
<td class="cell80">Contains some helper methods for
charts in spreadsheet documents, like accessing sheets by name,
inserting a chart into a sheet, filling cell ranges with random numbers
etc.</td>
</tr>
<tr>
<td class="cell20"><a href="./Charts/ChartHelper.java"
title="link to Charts/ChartHelper.java">ChartHelper</a></td>
<td class="cell80">Contains some helper methods for
charts, like creating a chart as an embedded object.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Charts/ChartInCalc.java"
title="link to Charts/ChartInCalc.java">ChartInCalc</a></td>
<td class="cell80">Demonstrates how to create an
embedded chart object with a random scatter chart within a spreadsheet.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Charts/ChartInDraw.java"
title="link to Charts/ChartInDraw.java">ChartInDraw</a></td>
<td class="cell80">Inserts a 3D-bar chart into a
drawing document.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Charts/ChartInWriter.java"
title="link to Charts/ChartInWriter.java">ChartInWriter</a></td>
<td class="cell80">Inserts an embedded chart object
with a random bar chart in a text document. This example does not
really work, because the API for embedding objects into text documents
is not implemented. To be more precise.</td>
</tr>
<tr>
<td class="cell20"><a href="./Charts/Helper.java"
title="link to Charts/Helper.java">Helper</a></td>
<td class="cell80">Shows how to connect to
OpenOffice.org %PRODUCT_RELEASE% and create text, drawing or spreadsheet document. This
class is used as a helper class for the other examples.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Charts/JavaSampleChartAddIn.java"
title="link to Charts/JavaSampleChartAddIn.java">JavaSampleChartAddIn</a></td>
<td class="cell80">Gives an example of how to
implement chart add-ins to create new or specialized diagram types. The
resulting component has to be deployed before it can be used.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Charts/ListenAtCalcRangeInDraw.java"
title="link to Charts/ListenAtCalcRangeInDraw.java">ListenAtCalcRangeInDraw</a></td>
<td class="cell80">This helper class is used to build
connection between an embedded chart object in a drawing document and a
data range in a spreadsheet document.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Charts/SelectionChangeListener.java"
title="link to Charts/SelectionChangeListener.java">SelectionChangeListener</a></td>
<td class="cell80">Shows how to register a handler
which is called when the selection within an embedded chart object
changes.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="BasicandDialogs">OpenOffice.org %PRODUCT_RELEASE% Basic and Dialogs examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./BasicAndDialogs/FirstStepsBasic.odt"
title="link to BasicAndDialogs/FirstStepsBasic.odt">FirstStepsBasic.odt</a></td>
<td class="cell80">This StarBasc example shows how to
create an own dialog which inserts a graphics object into a text
document.</td>
</tr>
<tr>
<td class="cell20"><a
href="./BasicAndDialogs/CreatingDialogs/SampleDialog.java"
title="link to BasicAndDialogs/CreatingDialogs/SampleDialog.java">SampleDialog</a></td>
<td class="cell80">This example builds a Java
component which creates a simple dialog.</td>
</tr>
<tr>
<td class="cell20"><a
href="./BasicAndDialogs/CreatingDialogs/CreatingDialogs.odt"
title="link to BasicAndDialogs/CreatingDialogs/CreatingDialogs.odt">CreatingDialogs.odt</a></td>
<td class="cell80">This document contains a simple
Basic macro which loads the SampleDialog component. The macro will be
executed by pressing a Push button.</td>
</tr>
<tr>
<td class="cell20"><a
href="./BasicAndDialogs/ToolkitControls/ToolkitControls"
title="link to BasicAndDialogs/ToolkitControls">ToolkitControls</a></td>
<td class="cell80">In this directory you find a Basic
library which implements several examples using toolkit controls. You
can easy pack this Basic library as a UNO package and can install it
using the package manager (see the makefile output).<br>
After the installation you will find a new library "ToolkitControls" in
the Basic IDE containing 4 modules and the necessary dialogs.<br>
<p>Select one of the following modules and press the
Run button: </p>
<ul>
<li>FileDialog = simple dialog which ask for a
filename (nothing else) </li>
<li>MultiPage = a more complex dialog with several
tab pages </li>
<li>ProgressBar = a dialog which shows a progress
bar </li>
<li>ScrollBar = a dialog which shows a scroll bar </li>
</ul>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Database">Database
Access examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
<tr>
<td colspan="3"> The Database examples use a SQL
database named "MYDB0" with write access. Make sure that you have a
data source operating on such a database in your office before you run
the example. </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Database Examples</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Database/CodeSamples.java"
title="link to Database/CodeSamples.java">CodeSamples</a></td>
<td class="cell80">Creates the connection to
OpenOffice.org %PRODUCT_RELEASE% and executes the code SalesMan samples for database API.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Database/OpenQuery.java"
title="link to Database/OpenQuery.java">OpenQuery</a></td>
<td class="cell80">Demonstrates the use of <a
href="../../docs/common/ref/com/sun/star/sdbc/XResultSetUpdate.html"
title="link to the reference documentation of com.sun.star.sdbc.XResultSetUpdate"><code>XResultSetUpdate</code></a>
and <a href="../../docs/common/ref/com/sun/star/sdbc/XRowUpdate.html"
title="link to the reference documentation of com.sun.star.sdbc.XRowUpdate">
<code>XRowUpdate</code></a>.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a href="./Database/RowSet.java"
title="link to Database/RowSet.java">RowSet</a></td>
<td class="cell80">Demonstrates the usage of a row
set.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/RowSetEventListener.java"
title="link to Database/RowSetEventListener.java">RowSetEventListener</a></td>
<td class="cell80">Demonstrates how to define
listener for the row set example.</td>
</tr>
<tr>
<td class="cell20"><a href="./Database/Sales.java"
title="link to Database/Sales.java">Sales</a></td>
<td class="cell80">Creates a simple database table.</td>
</tr>
<tr>
<td class="cell20"><a href="./Database/SalesMan.java"
title="link to Database/SalesMan.java">SalesMan</a></td>
<td class="cell80">Creates a simple database table.</td>
</tr>
<tr>
<td class="cell20"><a href="./Database/sdbcx.java"
title="link to Database/sdbcx.java">sdbcx</a></td>
<td class="cell80">Demonstrates the usage of the
SDBCX layer services.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Driver Skeleton Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/OSubComponent.hxx"
title="link to Database/DriverSkeleton/OSubComponent.hxx">OSubComponent.hxx</a></td>
<td class="cell80">Helper class to delegate special
dispose handling.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/OTypeInfo.hxx"
title="link to Database/DriverSkeleton/OTypeInfo.hxx">OTypeInfo.hxx</a></td>
<td class="cell80">Contains the database types from
the DatabaseMetaData getTypes call.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SConnection.hxx"
title="link to Database/DriverSkeleton/SConnection.hxx">SConnection.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the service <code>com.sun.star.sdbc.Connection</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SConnection.cxx"
title="link to Database/DriverSkeleton/SConnection.cxx">SConnection.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SConnection.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SDatabaseMetaData.hxx"
title="link to Database/DriverSkeleton/SDatabaseMetaData.hxx">SDatabaseMetaData.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the interface <code>com.sun.star.sdbc.XDatabaseMetaData</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SDatabaseMetaData.cxx"
title="link to Database/DriverSkeleton/SDatabaseMetaData.cxx">SDatabaseMetaData.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SDatabaseMetaData.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SDriver.hxx"
title="link to Database/DriverSkeleton/SDriver.hxx">SDriver.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the service <code>com.sun.star.sdbc.Driver</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SDriver.cxx"
title="link to Database/DriverSkeleton/SDriver.cxx">SDriver.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SDriver.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SPreparedStatement.hxx"
title="link to Database/DriverSkeleton/SPreparedStatement.hxx">SPreparedStatement.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the service <code>com.sun.star.sdbc.PreparedStatement</code>.
</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SPreparedStatement.cxx"
title="link to Database/DriverSkeleton/SPreparedStatement.cxx">SPreparedStatement.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SPreparedStatement.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SResultSet.hxx"
title="link to Database/DriverSkeleton/SResultSet.hxx">SResultSet.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the service <code>com.sun.star.sdbc.ResultSet</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SResultSet.cxx"
title="link to Database/DriverSkeleton/SResultSet.cxx">SResultSet.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SResultSet.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SResultSetMetaData.hxx"
title="link to Database/DriverSkeleton/SResultSetMetaData.hxx">SResultSetMetaData.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the interface <code>com.sun.star.sdbc.XResultSetMetaData</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SResultSetMetaData.cxx"
title="link to Database/DriverSkeleton/SResultSetMetaData.cxx">SResultSetMetaData.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SResultSetMetaData.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SServices.cxx"
title="link to Database/DriverSkeleton/SServices.cxx">SServices.cxx</a></td>
<td class="cell80">This file contains a class
implementing the service needed to register the driver.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SStatement.hxx"
title="link to Database/DriverSkeleton/SStatement.hxx">SStatement.hxx</a></td>
<td class="cell80">This file contains the declaration
of a class implementing the service <code>com.sun.star.sdbc.Statement</code>.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/SStatement.cxx"
title="link to Database/DriverSkeleton/SStatement.cxx">SStatement.cxx</a></td>
<td class="cell80">This file contains the
implementation of the class declared in SStatement.hxx.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/propertyids.hxx"
title="link to Database/DriverSkeleton/propertyids.hxx">propertyids.hxx</a></td>
<td class="cell80">Defines some common used strings
and declare a helper class for properties.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Database/DriverSkeleton/propertyids.cxx"
title="link to Database/DriverSkeleton/propertyids.cxx">propertyids.cxx</a></td>
<td class="cell80">Implements the property helper
class.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Forms">Forms
examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/BooleanValidator.java"
title="link to Forms/BooleanValidator.java">BooleanValidator</a></td>
<td class="cell80">The class <code>BooleanOperator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can veto certain radio button or check box
states.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/ButtonOperator.java"
title="link to Forms/ButtonOperator.java">ButtonOperator</a></td>
<td class="cell80">The form created by the sample
program contains various buttons which are tied to certain
functionality. The class ButtonOperator, well, operates these buttons.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/ComponentTreeTraversal.java"
title="link to Forms/ComponentTreeTraversal.java">ComponentTreeTraversal</a></td>
<td class="cell80">Helper classes for traveling
through a tree of <a
href="../../docs/common/ref/com/sun/star/form/FormComponent.html"
title="link to the reference documentation of com.sun.star.form.FormComponent">
<code>FormComponent's</code></a>.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/ControlLock.java"
title="link to Forms/ControlLock.java">ControlLock</a></td>
<td class="cell80">Helper class for implementing the
locking of control depending on the state of the underlying <a
href="../../docs/common/ref/com/sun/star/sdb/RowSet.html"
title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code></a>.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Forms/ControlValidation.java"
title="link to Forms/ControlValidation.java">ControlValidation</a></td>
<td class="cell80">This is the main class for the
control validation example. It creates a sample document, fills it with
controls, and attaches several validators to those controls</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/ControlValidator.java"
title="link to Forms/ControlValidator.java">ControlValidator</a></td>
<td class="cell80">Base class implementing the common
denominator for components <a
href="../../docs/common/ref/com/sun/star/form/validation/ValidatableControlModel.html"
title="link to the reference documentation of com.sun.star.form.validation.ValidatableControlModel">validating
form controls.</a></td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Forms/DataAwareness.java"
title="link to Forms/DataAwareness.java">DataAwareness</a></td>
<td class="cell80">This class implements the basic
example for a form working on a database. Two tables will be created
and a form (writer document) with a bussiness example will fill its
fields from these tables.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/DateValidator.java"
title="link to Forms/DateValidator.java">DateValidator</a></td>
<td class="cell80">The class <code>DateValidator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can check the content of a form date field. </td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/DocumentBasedExample.java"
title="link to Forms/DocumentBasedExample.java">DocumentBasedExample</a></td>
<td class="cell80">This class collects common
functionality of examples which require a document.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/DocumentHelper.java"
title="link to Forms/DocumentHelper.java">DocumentHelper</a></td>
<td class="cell80">Helper class for encapsulating
working with a document.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/DocumentType.java"
title="link to Forms/DocumentType.java">DocumentType</a></td>
<td class="cell80">A simple enumeration class for
classifying a document.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/DocumentViewHelper.java"
title="link to Forms/DocumentViewHelper.java">DocumentViewHelper</a></td>
<td class="cell80">Helper class for encapsulating
working with a view for a document.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/FLTools.java"
title="link to Forms/FLTools.java">FLTools</a></td>
<td class="cell80">Various small tools for the form
layer sample program.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/FormLayer.java"
title="link to Forms/FormLayer.java">FormLayer</a></td>
<td class="cell80">Helper class for accessing and
manipulating the form layer of a document.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/GridFieldValidator.java"
title="link to Forms/GridFieldValidator.java">GridFieldValidator</a></td>
<td class="cell80"><code>GridFieldValidator</code> is
responsible for validating the input in a specific grid control column.
This is not to be mixed up with the control-based validation as
described in the <a
href="../../docs/common/ref/com/sun/star/form/validation/module-ix.html"
title="link to the reference documentation of com.sun.star.form.validation">validation</a>
module. Instead, a <code>GridFieldValidator</code> assembles and uses
various other concepts.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/InteractionRequest.java"
title="link to Forms/InteractionRequest.java">InteractionRequest</a></td>
<td class="cell80">A simple implementation of a <a
href="../../docs/common/ref/com/sun/star/task/XInteractionRequest.html"
title="link to the reference documentation of com.sun.star.task.XInteractionRequest"><code>XInteractionRequest</code></a>.
Not tied to the form layer example, but a general helper.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/KeyGenerator.java"
title="link to Forms/KeyGenerator.java">KeyGenerator</a></td>
<td class="cell80">Helper class which is able to
generate (unique) keys for a (<a
href="../../docs/common/ref/com/sun/star/sdb/RowSet.html"
title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code>
</a>) column. An instance of this class can be tied
to a specific row set column. It then monitors the state of the
underlying row set, and upon inserting a new record into it (two
operation modi are possible here), it automatically inserts a newly
created (two modi, too) key into the column.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/ListSelectionValidator.java"
title="link to Forms/ListSelectionValidator.java">ListSelectionValidator</a></td>
<td class="cell80">The class <code>ListSelectionValidator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can veto certain selections in a list box
control.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/NumericValidator.java"
title="link to Forms/NumericValidator.java">NumericValidator</a></td>
<td class="cell80">The class <code>NumericValidator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can veto certain values in every control
which allows exchanging numerical values.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/SingleControlValidation.java"
title="link to Forms/SingleControlValidation.java">SingleControlValidation</a></td>
<td class="cell80">Though form documents feature
inbuilt mechanisms for visually indicating invalid control content (see
<a
href="../../docs/common/ref/com/sun/star/form/validation/module-ix.html"
title="link to the reference documentation of com.sun.star.form.validation"><code>com.sun.star.form.validation</code>
</a> for discussions about validity), the <a
href="./Forms/ControlValidation.java"
title="link to Forms/ControlValidation.java">ControlValidation</a>
example extends this. The validity state of every control in this
example, as well as possible explanations for invalidity, are displayed
in dedicated texts. The <code>SingleControlValidation</code> class
ties together a validatable control and those status texts.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/SpreadsheetDocument.java"
title="link to Forms/SpreadsheetDocument.java">SpreadsheetDocument</a></td>
<td class="cell80">A specialized <a
href="./Forms/DocumentHelper.java"
title="link to Forms/DocumentHelper.java"><code>DocumentHelper<code></code></code></a>
which represents a spreadsheet document, and offers some form related
functionality. For instance, this class allows the creation of <a
href="../../docs/common/ref/com/sun/star/table/CellValueBinding.html"
title="link to the reference documentation of com.sun.star.table.CellValueBinding">
<code>CellValueBinding</code></a> instances, which
can be used to couple the content of a form control with the content of
a spreadsheet cell.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Forms/SpreadsheetValueBinding.java"
title="link to Forms/SpreadsheetValueBinding.java">SpreadsheetValueBinding</a></td>
<td class="cell80">This example demonstrates how to
bind form controls to spreadsheet cells.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/SpreadsheetView.java"
title="link to Forms/SpreadsheetView.java">SpreadsheetView</a></td>
<td class="cell80">A specialized <a
href="./Forms/DocumentViewHelper.java"
title="link to Forms/DocumentViewHelper.java"><code>DocumentViewHelper</code></a>
which represents a view to a spreadsheet document.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/TableCellTextBinding.java"
title="link to Forms/TableCellTextBinding.java">TableCellTextBinding</a></td>
<td class="cell80">This class allows binding the
control of a form control with a table cell in a text document. For
this, it uses the mechanisms of the <a
href="../../docs/common/ref/com/sun/star/form/binding/module-ix.html"
title="link to the reference documentation of com.sun.star.form.binding">
<code>com.sun.star.form.binding</code></a> module.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/TextValidator.java"
title="link to Forms/TextValidator.java">TextValidator</a></td>
<td class="cell80">The class <code>TextValidator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can monitor a form text field.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Forms/TimeValidator.java"
title="link to Forms/TimeValidator.java">TimeValidator</a></td>
<td class="cell80">The class <code>TimeValidator</code>
implements an <a
href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
for a form control, which can monitor the content of a form time field.
</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/UNO.java"
title="link to Forms/UNO.java">UNO</a></td>
<td class="cell80">A small UNO-syntax related helper
class.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Forms/ValueBinding.java"
title="link to Forms/ValueBinding.java">ValueBinding</a></td>
<td class="cell80">An example how to bind the content
of a form control to a table cell in a text document.</td>
</tr>
<tr>
<td class="cell20"><a href="./Forms/WaitForInput.java"
title="link to Forms/WaitForInput.java">WaitForInput</a></td>
<td class="cell80">A pretty small helper for the
interactive examples, which notifies another instance when the user
pressed key on the console.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="UniversalContentBroker(UCB)">Universal Content Broker (UCB)
examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/ChildrenRetriever.java"
title="link to UCB/ChildrenRetriever.java">ChildrenRetriever</a></td>
<td class="cell80">Shows child entries of a given
folder. Try -help or -? on the command line to view optional parameters.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/DataStreamComposer.java"
title="link to UCB/DataStreamComposer.java">DataStreamComposer</a></td>
<td class="cell80">Demonstrates usage of the data
stream by copying the data from one UCB node to another.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/DataStreamRetriever.java"
title="link to UCB/DataStreamRetriever.java">DataStreamRetriever</a></td>
<td class="cell80">Shows how to obtain the data
stream from a document resource.</td>
</tr>
<tr>
<td class="cell20"><a href="./UCB/Helper.java"
title="link to UCB/Helper.java">Helper</a></td>
<td class="cell80">Some helper methods to access the
UCB which are used by the other examples.</td>
</tr>
<tr>
<td class="cell20"><a
href="./UCB/MyActiveDataSink.java"
title="link to UCB/MyActiveDataSink.java">MyActiveDataSink</a></td>
<td class="cell80">A helper class for the <code>DataStreamRetriever</code>
example which implements a data sink.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/PropertiesComposer.java"
title="link to UCB/PropertiesComposer.java">PropertiesComposer</a></td>
<td class="cell80">Shows how to set property values
of an UCB resource.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/PropertiesRetriever.java"
title="link to UCB/PropertiesRetriever.java">PropertiesRetriever</a></td>
<td class="cell80">Shows how to access property
values of an UCB resource.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/ResourceCreator.java"
title="link to UCB/ResourceCreator.java">ResourceCreator</a></td>
<td class="cell80">Creates a new file in an existing
file system folder.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/ResourceManager.java"
title="link to UCB/ResourceManager.java">ResourceManager</a></td>
<td class="cell80">Demonstrates how to copy and move
UCB resources.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./UCB/ResourceRemover.java"
title="link to UCB/ResourceRemover.java">ResourceRemover</a></td>
<td class="cell80">Demonstrates how to remove UCB
resources.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Configuration">Configuration
Management examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Config/ConfigExamples.java"
title="link to Config/ConfigExamples.java">ConfigExamples</a></td>
<td class="cell80">This example connects to a
OpenOffice.org %PRODUCT_RELEASE%, gets the configuration manager and accesses the
configuration in various ways.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="OfficeBean">Office
Bean example</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./OfficeBean/OOoBeanViewer.java"
title="link to OfficeBean/OOoBeanViewer.java">OOoBeanViewer</a></td>
<td class="cell80">Shows how to use the <code>OOoBean</code>
embedded in a Java AWT component. It shows how to load and store
documents as well as how to control toolbar visibility.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a name="Accessibility">Accessibility
examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20">Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/ConnectionTask.java"
title="link to Accessibility/ConnectionTask.java">ConnectionTask</a></td>
<td class="cell80">A timer task that tries to
(re-)connect to a running Office application. When it can not detect an
Office application that accepts connections then it waits for some time
and tries again.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/EventHandler.java"
title="link to Accessibility/EventHandler.java">EventHandler</a></td>
<td class="cell80">Handle all events that are used by
this tool. It is called by the EventListenerProxy class with somewhat
preprocessed events.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/EventListenerProxy.java"
title="link to Accessibility/EventListenerProxy.java">EventListenerProxy</a></td>
<td class="cell80">This proxy runs in its own thread
to avoid deadlocks with the Office it listens to. It waits for top
window events to be informed of new or removed top level windows and
for some accessibility events that are relevant to display the
currently focused object.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/GraphicalDisplay.java"
title="link to Accessibility/GraphicalDisplay.java">GraphicalDisplay</a></td>
<td class="cell80">This widget displays a graphical
representation of the currently focused object. The focused object is
painted as a green rectangle and its ancestors as gray rectangles to
give an impression of the relative location of the objects.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/IAccessibleObjectDisplay.java"
title="link to Accessibility/IAccessibleObjectDisplay.java">IAccessibleObjectDisplay</a></td>
<td class="cell80">This interface is implemented by
all classes that display the currently focused object, namely
GraphicalDisplay and TextualDisplay. It allows the owner of the display
classes to tell them to display a specific object: usually the focused
object.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/MessageArea.java"
title="link to Accessibility/MessageArea.java">MessageArea</a></td>
<td class="cell80">A text area that shows messages
about what the tools is currently doing.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/NameProvider.java"
title="link to Accessibility/NameProvider.java">NameProvider</a></td>
<td class="cell80">In contrast to the Java
Accessibility API which uses Strings for event types, roles, states,
and relation types, the UNO Accessibility API uses numbers for this
task. In order to present them to the user in a more readable form this
class returns the string name for each event, role, state, or relation.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/RegistrationThread.java"
title="link to Accessibility/RegistrationThread.java">RegistrationThread</a></td>
<td class="cell80">When a new window appears or an
existing one is removed the tool registers or unregisters at all the
window's children as accessibility event listener. This is handled by
RegistrationThread objects in their own threads so that the user
interface is not blocked.</td>
</tr>
<tr>
<td class="cell20"><img
src="../../docs/images/bluball.gif"> <a
href="./Accessibility/SSR.java" title="link to Accessibility/SSR.java">SSR</a></td>
<td class="cell80">The main class sets up the user
interface and starts the ConnectionTask object that eventually will
initiate a connection to a running Office application and in turn will
create RegistrationThread objects to register at all Office windows as
accessibility event listener and thus gets informed about the currently
focused object.</td>
</tr>
<tr>
<td class="cell20"><a
href="./Accessibility/TextualDisplay.java"
title="link to Accessibility/TextualDisplay.java">TextualDisplay</a></td>
<td class="cell80">Show some textual information
about the currently focused object like its name, description, and role.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="ScriptingFramework">Scripting Framework Examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a
href="./ScriptingFramework/SayHello/SayHello/SayHello.java"
title="link to ScriptingFramework/SayHello/SayHello/SayHello.java">SayHello</a></td>
<td class="cell80">A Scripting Framework Java macro
that opens a new Writer document and inserts the word Hello in it.</td>
</tr>
<tr>
<td class="cell20"><a
href="./ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java"
title="link to ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java">ScriptSelector</a></td>
<td class="cell80">A Scripting Framework Java macro
that opens a Java Swing dialog with a tree view of the macro hierarchy
for the Office application.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td class="content1"><img class="nothing8"
src="../../docs/images/nada.gif"></td>
<td>
<table class="table2">
<tbody>
<tr>
<td>
<table class="table3">
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="GraphicalUserInterfaces">Graphical User Interfaces</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"></a> <a
href="../../index.html" title="link to the SDK start page"><img
class="navigate" src="../../docs/images/nav_home.png"></a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table class="table4">
<tbody>
<tr class="thead">
<td class="cell20"> Example</td>
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/DialogDocument.java" title="link to GUI/DialogDocument.java">DialogDocument</a></td>
<td class="cell80">A sample showing how to display an office document in a dialog window.</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/Messagebox.java" title="link to GUI/MessageBox.java">MessageBox</a></td>
<td class="cell80">A sample showing how to display a simple message box.</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/UnoDialogSample.java" title="link to GUI/UnoDialogSample.java">UnoDialogSample</a></td>
<td class="cell80">A sample showing how to create various controls in a dialog (fixed text field, currency field, progress bar, fixed line, group box, edit field, time field, date field, pattern field, numeric field, progressbar, check box, radio button, list box, combo box, formatted field, file control, button control, roadmap control)</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/UnoDialogSample2.java" title="link to GUI/UnoDialogSample2.java">UnoDialogSample2</a></td>
<td class="cell80">A dialog sample showing how to use a roadmap control.</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/UnoMenu.java" title="link to GUI/UnoMenu.java">UnoMenu</a></td>
<td class="cell80">A sample showing a top window with some menus.</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/UnoMenu2.java" title="link to GUI/UnoMenu2.java">UnoMenu2</a></td>
<td class="cell80">A dialog sample showing how to use or work with a context menu.</td>
</tr>
<tr>
<td class="cell20"><img src="../../docs/images/bluball.gif">
<a href="./GUI/ImageControlSample.java" title="link to GUI/ImageControlSample.java">ImageControlSample2</a></td>
<td class="cell80">Dialog sample showing how to use an image control.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img class="nothing30"
src="../../docs/images/nada.gif"></td>
</tr>
<tr>
<td colspan="3"><img class="line"
src="../../docs/images/sdk_line-1.gif"></td>
</tr>
<tr>
<td colspan="3">
<div class="centertext">
<p><img class="oraclelogo" src="../../docs/images/odk-footer-logo.gif" title="Sponsored by Oracle" alt="Oracle Logo" />
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.<p>
</div>
</td>
</tr>
</tbody>
</table>
<map name="Map">
<area shape="rect" coords="10,68,93,105" href="http://www.oracle.com">
</map>
</body>
</html>
|