merge the formfield patch from ooo-build
[ooovba.git] / solenv / bin / fix_dxp_file.cmd
blob66149c1207ea45b8eedf992c97488cb892c1c74f
1 /* os2 build scripts
3 this script is used to process dxp files produced from .map
5 */
7 do while( lines())
9 l = linein()
11 l = strip(l)
12 l = strip(l,,X2C(9))
13 l = strip(l,,";")
14 if LEFT( l,4) \= 'Java' THEN l = '_'l
16 /* remove empty lines */
17 if l = '_' then l = ''
19 /* remove component_getDescriptionFunc, since it is already added by tg_def */
20 if l = '_component_getDescriptionFunc' then l = ''
21 if l = '_GetVersionInfo' then l = ''
23 /* remove GLOBAL symbols */
25 if WORDPOS( l, '_GLOBAL_') > 0 then l = ''
28 say l
30 end