home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Product
/
Product.zip
/
WORDPRO6.EXE
/
AUTOSTY.SMZ
/
AUTOSTY.SMM
Wrap
INI File
|
1993-11-10
|
42KB
|
3,115 lines
[ver]
4
[sty]
[charset]
82
ANSI (Windows, IBM CP 1252)
[PanoseFontTable]
4
5
TimesNewRomanPS
257
257
257
257
257
Helvetica
2818
1029
514
514
1026
Helv
2818
1029
514
770
1026
Times New Roman
514
774
1029
517
1027
[revisions]
0
[recfile]
*
1
1
3
8
0
0
[lang]
1
[desc]
Automated style sheet engine
752974265
14
750620291
62
0
0
0
0
0
1
[prn]
QMS-PS 810
[port]
NW:\\SPEEDY\QMS
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[tag]
Function
1
[fnt]
Times New Roman
240
0
49153
[algn]
1
1
0
0
0
[spc]
33
0
1
0
0
1
100
[brk]
68
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
1
0
1
1
0
0
0
0
[nfmt]
272
1
3
.
,
$
Body Text
0
0
[tag]
Outline1
1
[fnt]
Times New Roman
240
0
49153
[algn]
1
1
0
0
0
[spc]
33
0
1
72
0
1
100
[brk]
16
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
1
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline1
0
0
[tag]
Outline2
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
216
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
2
0
1
1
0
16
0
0
[nfmt]
272
1
3
.
,
$
Outline2
0
0
[tag]
Outline3
30
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
432
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
3
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline3
0
0
[tag]
Outline4
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
648
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
4
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline4
0
0
[tag]
Outline5
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
864
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
5
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline5
0
0
[tag]
Outline6
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
1080
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
6
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline6
0
0
[tag]
Outline7
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
1296
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
7
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline7
0
0
[tag]
Outline8
1
[fnt]
Times New Roman
200
0
49152
[algn]
1
1
1512
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
8
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Outline8
0
0
[tag]
Footer
11
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
0
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
280
1
2
.
,
$
Footer
0
0
[tag]
Header
9
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
0
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
280
1
2
.
,
$
Header
0
0
[tag]
Title
8
[fnt]
Helvetica
280
0
49153
[algn]
1
1
0
0
0
[spc]
33
0
1
144
72
1
100
[brk]
16
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
1
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Title
0
0
[tag]
Subhead
7
[fnt]
Times New Roman
240
0
49155
[algn]
1
1
0
0
0
[spc]
33
0
1
72
72
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
2
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Subhead
0
0
[tag]
Number List
6
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
360
360
360
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
<*:>.
0
1
1
0
16
0
0
[nfmt]
272
1
2
.
,
$
Number List
0
0
[tag]
Bullet 1
5
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
288
288
288
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
<*5>
0
1
1
0
0
0
0
[nfmt]
280
1
2
.
,
$
Bullet 1
0
0
[tag]
Bullet
4
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
0
288
288
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
<*0>
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
$
Bullet
0
0
[tag]
Body Single
3
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
0
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
280
1
2
.
,
$
Body Single
0
0
[tag]
Body Text
2
[fnt]
Times New Roman
240
0
49152
[algn]
1
1
0
0
0
[spc]
33
0
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
0
1
1
144
144
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
280
1
2
.
,
$
Body Text
0
0
[lay]
Standard
513
[rght]
15840
12240
1
1440
1440
1
1440
1440
0
1
0
1
0
2
1
1440
10800
12
1
720
1
1440
1
2160
1
2880
1
3600
1
4320
1
5040
1
5760
1
6480
1
7200
1
7920
1
8640
[frght]
[lyfrm]
0
13184
0
14400
12240
15840
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
15840
12240
1
1440
792
1
14472
1440
0
1
0
0
0
0
1
1440
10800
2
2
4680
3
9360
[txt]
<:s>
>
[hrght]
[lyfrm]
0
11136
0
0
12240
1440
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
1440
12240
1
1440
72
1
792
1440
0
1
0
0
0
0
1
1440
10800
2
2
4680
3
9360
[txt]
<:s>
>
[elay]
[lay]
1
1537
[rght]
15840
12240
1
1440
1440
1
1440
1440
0
0
16777215
1
0
2
1
1440
10800
12
1
720
1
1440
1
2160
1
2880
1
3600
1
4320
1
5040
1
5760
1
6480
1
7200
1
7920
1
8640
[frght]
[lyfrm]
0
13184
0
14400
12240
15840
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
15840
12240
1
1440
792
1
14472
1440
0
0
16777215
0
0
0
1
1440
10800
2
2
4680
3
9360
[txt]
<:s><:#P30670848,P943718>
>
[hrght]
[lyfrm]
0
11136
0
0
12240
1440
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
1440
12240
1
1440
144
1
648
1440
0
0
16777215
0
0
0
1
1440
10800
1
3
9360
[txt]
<:s><:#P30670848,P943718>Automated Style Sheet Macro
>
[elay]
[l1]
1
[edoc]
@Outline1@<:s><:#P30670848,P943718>'declares & defines
@Outline2@<:s><:#P30670848,P786432><:X3,0;Include "amixlate.sam!autosty">'declares and defines
@Outline2@<:s>declare fillboxfields(target);
@Outline2@<:s>declare torchfields(target);
@Outline2@<:s>declare initcapit(string);
@Outline2@<:s>declare freeglobs(target);
@Outline2@<:s>declare collect.smm!main() alias collecto
@Outline2@<:s>define AS_ADDRESS1TXT "address2"
@Outline2@<:s>define AS_ADDRESS2TXT "address1"
@Outline2@<:s>define AS_ASPREFIX "as_"
@Outline2@<:s>define AS_DEFPREFIX "as_def"
@Outline2@<:s>define AS_ECHOTXT "echo"
@Outline2@<:s>define AS_USERPREFIX "as_user"
@Outline2@<:s>define BKMK_STARTTEXT "as_starttext"
@Outline2@<:s>define COLLECT_MACRO "collect.smm"
@Outline2@<:s>define DLGTITLE_DEFINFO "Personal Information"
@Outline2@<:s>define DLGTITLE_OPTINFO "Optional Information"
@Outline2@<:s>define ERR_NOTINNEWDOC "This macro is for automated style sheets. To use it, choose File/New and leave Run macro selected."
@Outline2@<:s>define GVAR_NUMGLOBS "numglobs"
@Outline2@<:s>define GVAR_TARGET "target"
@Outline2@<:s>define INIFILE "AMIPRO2.INI"
@Outline2@<:s>define INIKEY_AUTOSTY "AutoStyleSheets"
@Outline2@<:s>define INISECT_DATAGOOD "DataGood"
@Outline2@<:s>define INISECT_NOQUEST "NoQuestions"
@Outline2@<:s>define DEFBOX_HELPTEXT_1 "Type the information that you want to appear each time "
@Outline2@<:s>define DEFBOX_HELPTEXT_2 "you create this type of document. Choose OK to insert this information "
@Outline2@<:s>define DEFBOX_HELPTEXT_3 "into the current document only. Choose Save As to save this "
@Outline2@<:s>define DEFBOX_HELPTEXT_4 "information to a new style sheet."
@Outline2@<:s>define DEFBOX_HELPTEXT_5 ""
@Outline2@<:s>define DEFBOX_HELPSTRING "{L1}{L2}{L3}{L4}{L5}"
@Outline2@<:s>define OPTBOX_HELPTEXT_1 "Type the information you want to appear "
@Outline2@<:s>define OPTBOX_HELPTEXT_2 "in this document."
@Outline2@<:s>define OPTBOX_HELPTEXT_3 ""
@Outline2@<:s>define OPTBOX_HELPTEXT_4 ""
@Outline2@<:s>define OPTBOX_HELPTEXT_5 ""
@Outline2@<:s>define OPTBOX_HELPSTRING "{L1}{L2}{L3}{L4}{L5}"
@Outline2@<:s>define PFTXT_HERE " here"
@Outline2@<:s>define PFTXT_SSN " SSN "
@Outline2@<:s>define PFTXT_TYPE "type "<:X~3,0;Include "amixlate.sam!autosty">
@Outline1@<:s><:#P30670848,P943718>function main()
@Outline2@<:s><:#P30670848,P786432>goto debug
@Outline2@<:s><:#P30670848,P786432>'verify this is a clean untitled
@Outline3@<:s><:#P30670848,P786432>if GetOpenFileName$() !="" or Filechanged(0,0) != 0
@Outline3@<:s><:#P30670848,P786432> message(ERR_NOTINNEWDOC)
@Outline3@<:s><:#P30670848,P786432> exit function
@Outline3@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>hourglass(1)
@Outline2@<:s><:#P30670848,P786432>debug:
@Outline2@<:s><:#P30670848,P786432>ignorekeyboard(2)
@Outline2@<:s><:#P30670848,P786432>FieldShow(0)
@Outline2@<:s><:#P30670848,P786432>rmac=getrunningmacrofile$()
@Outline2@<:s><:#P30670848,P786432>'burn power fields if entry is in AMIPRO2.INI
@Outline3@<:s><:#P30670848,P786432>burnfields=getprofilestring$(INIKEY_AUTOSTY, INISECT_NOQUEST, INIFILE)
@Outline3@<:s><:#P30670848,P786432>if burnfields = 1
@Outline3@<:s><:#P30670848,P786432> torchfields(AS_ASPREFIX)
@Outline3@<:s><:#P30670848,P786432> exit function
@Outline3@<:s><:#P30670848,P786432>elseif burnfields = ""
@Outline3@<:s><:#P30670848,P786432> writeprofilestring(INIKEY_AUTOSTY, INISECT_NOQUEST, 0, INIFILE)
@Outline3@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>datagood=getprofilestring$(INIKEY_AUTOSTY, INISECT_DATAGOOD, INIFILE)
@Outline2@<:s><:#P30670848,P786432>if datagood != 1
@Outline2@<:s><:#P30670848,P786432> collector= COLLECT_MACRO
@Outline2@<:s><:#P30670848,P786432> calli collector()
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>cnt = GetPowerFieldCount(0)
@Outline2@<:s><:#P30670848,P786432>if (0 != cnt)
@Outline2@<:s><:#P30670848,P786432> result=fillboxfields(AS_DEFPREFIX)
@Outline2@<:s><:#P30670848,P786432> if result=0 or result = 2
@Outline3@<:s><:#P30670848,P786432> goto blowout
@Outline3@<:s><:#P30670848,P786432> endif
@Outline2@<:s><:#P30670848,P786432> result = fillboxfields(AS_USERPREFIX)
@Outline3@<:s><:#P30670848,P786432> if result=0 or result = 2
@Outline3@<:s><:#P30670848,P786432> goto blowout
@Outline3@<:s><:#P30670848,P786432> endif
@Outline2@<:s><:#P30670848,P786432>else
@Outline2@<:s><:#P30670848,P786432>' message("No fields")
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>blowout:
@Outline2@<:s><:#P30670848,P786432>torchfields(AS_ASPREFIX)
@Outline2@<:s><:#P30670848,P786432>mark=BKMK_STARTTEXT
@Outline2@<:s><:#P30670848,P786432>result=MarkBookMark(mark, 4002 )
@Outline2@<:s><:#P30670848,P786432>MarkBookMark(mark, 4004 )
@Outline2@<:s><:#P30670848,P786432>DocInfo("" "" 1 )
@Outline2@<:s><:#P30670848,P786432>hourglass(0)
@Outline2@<:s><:#P30670848,P786432>end function
@Outline1@<:s><:#P30670848,P943718>FUNCTION fillboxfields(target)
@Outline2@<:s><:#P30670848,P786432>'onerror blowout
@Outline2@<:s><:#P30670848,P786432>cnt = GetPowerFieldCount(0)
@Outline3@<:s><:#P30670848,P786432>if cnt = 0
@Outline3@<:s><:#P30670848,P786432> exit function
@Outline3@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>rmac=getrunningmacrofile$()
@Outline2@<:s><:#P30670848,P786432>allocglobalvar(GVAR_TARGET, 1)
@Outline2@<:s><:#P30670848,P786432>setglobalvar(GVAR_TARGET, target)
@Outline2@<:s><:#P30670848,P786432>dim fields(cnt)
@Outline2@<:s><:#P30670848,P786432>dim globvars(1)
@Outline2@<:s><:#P30670848,P786432>dim echovars(1)
@Outline2@<:s><:#P30670848,P786432>numglobs=0
@Outline2@<:s><:#P30670848,P786432>GetPowerFields(0, &fields)
@Outline2@<:s><:#P30670848,P786432>'load &globvars
@Outline3@<:s><:#P30670848,P786432>mergefieldspresent=0
@Outline3@<:s><:#P30670848,P786432>for i = 1 to cnt
@Outline3@<:s><:#P30670848,P786432> pftype = StrField$(fields(i), 2, ",") 'get the power field type
@Outline3@<:s><:#P30670848,P786432> if pftype=12 'there is a merge field in the doc.
@Outline3@<:s><:#P30670848,P786432> mergefieldspresent=1
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> pffield = StrField$(fields(i), 3, ",") 'get the power field
@Outline3@<:s><:#P30670848,P786432> varname=StrField$(pffield, 3, " ") 'get the name of the variable in the PF
@Outline3@<:s><:#P30670848,P786432> showtype=strfield$(varname, 6, "_")
@Outline3@<:s><:#P30670848,P786432> if lcase$(showtype)=AS_ADDRESS1TXT
@Outline3@<:s><:#P30670848,P786432> secondaddressline=1
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P1572864> echovar=strcat$(strfield$(varname, 1, "_"), "_", strfield$(varname, 2, "_"), "_", strfield$(varname, 3, "_"), "_", strfield$(varname, 4, "_"), "_", strfield$(varname, 5, "_"), "_", "echo_")
@Outline3@<:s><:#P30670848,P786432> targlen=len(target)
@Outline3@<:s><:#P30670848,P786432> if left$(varname, targlen)=target and showtype != AS_ECHOTXT
@Outline3@<:s><:#P30670848,P786432> numglobs=numglobs+1
@Outline3@<:s><:#P30670848,P786432> result=arrayinsert(&globvars, numglobs, fields(i))
@Outline3@<:s><:#P30670848,P786432> if result = 0
@Outline3@<:s><:#P30670848,P786432> goto blowout
@Outline3@<:s><:#P30670848,P786432> arrayinsert(&echovars, numglobs, echovar)
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432>next
@Outline3@<:s><:#P30670848,P786432>'determine if we have any suitable PFs
@Outline4@<:s><:#P30670848,P786432>if numglobs=0
@Outline4@<:s><:#P30670848,P786432> fillboxfields = 3 'this attempt failed, but don't blow out completely
@Outline4@<:s><:#P30670848,P786432> exit function
@Outline4@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>'fill dialog box with labels & pre-build
@Outline3@<:s><:#P30670848,P786432>allocglobalvar(GVAR_NUMGLOBS, 1)
@Outline3@<:s><:#P30670848,P786432>setglobalvar(GVAR_NUMGLOBS, numglobs)
@Outline3@<:s><:#P30670848,P786432>arraysort(&globvars, 3, "_") 'sort the array on varnum
@Outline3@<:s><:#P30670848,P786432>for i = 1 to numglobs
@Outline3@<:s><:#P30670848,P786432> pffield = StrField$(globvars(i), 3, ",") 'get the power field
@Outline3@<:s><:#P30670848,P786432> varname=StrField$(pffield, 3, " ") 'get the name of the variable in the PF
@Outline3@<:s><:#P30670848,P786432> quotechar=chr$(34)
@Outline3@<:s><:#P30670848,P786432> varlabel=StrField$(globvars(i), 2, quotechar) 'get the label for the variable
@Outline3@<:s><:#P30670848,P786432> showtype=strfield$(varname, 6, "_")
@Outline3@<:s><:#P30670848,P786432> profilestringstuff=""
@Outline3@<:s><:#P30670848,P786432> if showtype != (-1) and showtype != AS_ECHOTXT and showtype != ""
@Outline3@<:s><:#P30670848,P786432> profilestringstuff=getprofilestring$(INIKEY_AUTOSTY, showtype, INIFILE)
@Outline3@<:s><:#P30670848,P786432> if lcase$(showtype) = AS_ADDRESS2TXT and secondaddressline !=1
@Outline3@<:s><:#P30670848,P786432> address2=getprofilestring$(INIKEY_AUTOSTY, "Address2", INIFILE)
@Outline3@<:s><:#P30670848,P786432> if address2 != ""
@Outline3@<:s><:#P30670848,P786432> profilestringstuff=strcat$(profilestringstuff, ", " address2)
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> allocglobalvar(varname, 1)
@Outline3@<:s><:#P30670848,P1572864> echovar=strcat$(strfield$(varname, 1, "_"), "_", strfield$(varname, 2, "_"), "_", strfield$(varname, 3, "_"), "_", strfield$(varname, 4, "_"), "_", strfield$(varname, 5, "_"), "_", "echo_")
@Outline3@<:s><:#P30670848,P786432> allocglobalvar(echovar, 1)
@Outline3@<:s><:#P30670848,P786432> if lcase$(left$(varlabel, 5)) = PFTXT_TYPE
@Outline3@<:s><:#P30670848,P786432> lenwithouttype=len(varlabel) - 5
@Outline3@<:s><:#P30670848,P786432> varlabel=right$(varlabel, lenwithouttype)
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> if lcase$(right$(varlabel, 5)) = PFTXT_HERE
@Outline3@<:s><:#P30670848,P786432> lenwithouthere=len(varlabel) - 5
@Outline3@<:s><:#P30670848,P786432> varlabel=left$(varlabel, lenwithouthere)
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432> varlabel=initcapit(varlabel)
@Outline3@<:s><:#P30670848,P786432> filledit(1000 + i, "{varlabel}:")
@Outline3@<:s><:#P30670848,P786432> filledit(8000 + i, profilestringstuff)
@Outline3@<:s><:#P30670848,P786432>next
@Outline3@<:s><:#P30670848,P786432>SetDlgCallBack(0,"{rmac}!PreBuild")
@Outline2@<:s><:#P30670848,P786432><:ZDDE_BookMark6>amidir=GetAmiDirectory$()
@Outline2@<:s><:#P30670848,P786432>boxnum= numglobs
@Outline2@<:s><:#P30670848,P786432>'message("boxnum={boxnum}")
@Outline2@<:s><:#P30670848,P786432>box=dialogbox("{amidir}autosty.dlg"<:Z~DDE_BookMark6>, "autostyl{boxnum}")
@Outline2@<:s><:#P30670848,P786432>fillboxfields = box 'set this function's return value to the ID returned by the box
@Outline2@<:s><:#P30670848,P786432>if box= 0 or box =2
@Outline2@<:s><:#P30670848,P786432> goto blowout
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>'set global vars & update fields
@Outline3@<:s><:#P30670848,P786432>for i = 1 to numglobs
@Outline3@<:s><:#P30670848,P786432> contents=getdialogfield$(8000 +i)
@Outline3@<:s><:#P30670848,P786432> pfid = StrField$(globvars(i), 1, ",") 'get the power field id
@Outline3@<:s><:#P30670848,P786432> pftype = StrField$(globvars(i), 2, ",") 'get the power field type
@Outline3@<:s><:#P30670848,P786432> pffield = StrField$(globvars(i), 3, ",") 'get the power field
@Outline3@<:s><:#P30670848,P786432> varname=StrField$(pffield, 3, " ") 'get the name of the variable in the PF
@Outline3@<:s><:#P30670848,P1572864> echovar=strcat$(strfield$(varname, 1, "_"), "_", strfield$(varname, 2, "_"), "_", strfield$(varname, 3, "_"), "_", strfield$(varname, 4, "_"), "_", strfield$(varname, 5, "_"), "_", "echo_")
@Outline3@<:s><:#P30670848,P786432> setglobalvar(echovar, contents)
@Outline3@<:s><:#P30670848,P786432> setglobalvar(varname, contents)
@Outline3@<:s><:#P30670848,P786432> if mergefieldspresent=1
@Outline3@<:s><:#P30670848,P786432> result=GoToPowerField(pfid, pftype)
@Outline3@<:s><:#P30670848,P786432> FieldUpdate(pfid, pftype, pffield)
@Outline3@<:s><:#P30670848,P786432> FieldEvaluate()
@Outline3@<:s><:#P30670848,P786432> endif
@Outline3@<:s><:#P30670848,P786432>next
@Outline3@<:s><:#P30670848,P786432>if mergefieldspresent = 0
@Outline3@<:s><:#P30670848,P786432> fieldupdateall()
@Outline3@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>blowout:
@Outline3@<:s><:#P30670848,P786432> call torchfields(target)
@Outline3@<:s><:#P30670848,P786432> call freeglobs(target)
@Outline3@<:s><:#P30670848,P786432> freeglobalvar(GVAR_TARGET)
@Outline3@<:s><:#P30670848,P786432> freeglobalvar(GVAR_NUMGLOBS)
@Outline2@<:s><:#P30670848,P786432>if box=3
@Outline2@<:s><:#P30670848,P786432>' pause(008)
@Outline2@<:s><:#P30670848,P786432> setdlgcallback(0, "{rmac}!SaveAsStyleInit")
@Outline2@<:s><:#P30670848,P786432> 'result = SaveAsNewStyle
@Outline2@<:s><:#P30670848,P786432> result = SubClassDialog(305, 1022)
@Outline2@<:s><:#P30670848,P786432>
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>END FUNCTION
@Outline1@<:s><:#P30670848,P943718>function SaveAsStyleInit(hdlg, id, value)
@Outline2@<:s><:#P30670848,P786432>CB_withcontents=25550
@Outline2@<:s><:#P30670848,P786432>CB_runmacro=25551
@Outline2@<:s><:#P30670848,P786432>EB_runmacro=667
@Outline2@<:s><:#P30670848,P786432>setdlgitemtext(hdlg, cb_withcontents, 1)
@Outline2@<:s><:#P30670848,P786432>dlgenablecontrol(hdlg, cb_withcontents, 0)
@Outline2@<:s><:#P30670848,P786432>setdlgitemtext(hdlg, cb_runmacro, 1)
@Outline2@<:s><:#P30670848,P786432>dlgenablecontrol(hdlg, cb_runmacro, 0)
@Outline2@<:s><:#P30670848,P786432>setdlgitemtext(hdlg, EB_runmacro, "autosty.smm")
@Outline2@<:s><:#P30670848,P786432>dlgenablecontrol(hdlg, EB_runmacro, 0)
@Outline2@<:s><:#P30670848,P786432>end function
@Outline1@<:s><:#P30670848,P943718>FUNCTION freeglobs(target)
@Outline2@<:s><:#P30670848,P786432>'singlestep(0)
@Outline2@<:s><:#P30670848,P786432>targlen=len(target)
@Outline2@<:s><:#P30670848,P786432>numglobs=getglobalvarcount()
@Outline2@<:s><:#P30670848,P786432>dim globnuke(numglobs)
@Outline2@<:s><:#P30670848,P786432>getglobalvarnames(&globnuke)
@Outline2@<:s><:#P30670848,P786432>for i = 1 to numglobs
@Outline2@<:s><:#P30670848,P786432> if left$(globnuke(i), targlen)=target
@Outline2@<:s><:#P30670848,P786432> freeglobalvar(globnuke(i))
@Outline2@<:s><:#P30670848,P786432> endif
@Outline2@<:s><:#P30670848,P786432>next
@Outline2@<:s><:#P30670848,P786432>end function
@Outline1@<:s><:#P30670848,P943718><:ZDDE_BookMark1>FUNCTION torchfields(target)
@Outline2@<:s><:#P30670848,P786432>'singlestep(0)
@Outline2@<:s><:#P30670848,P786432>cnt = GetPowerFieldCount(0)
@Outline2@<:s><:#P30670848,P786432>if (0 != cnt)
@Outline2@<:s><:#P30670848,P786432> dim fields(cnt)
@Outline2@<:s><:#P30670848,P786432> GetPowerFields(0, &fields)
@Outline2@<:s><:#P30670848,P786432> for i = 1 to cnt
@Outline2@<:s><:#P30670848,P786432> pfid = StrField$(fields(i), 1, ",")
@Outline2@<:s><:#P30670848,P786432> pftype = StrField$(fields(i), 2, ",")
@Outline2@<:s><:#P30670848,P786432> pffield = StrField$(fields(i), 3, ",") 'get the power field
@Outline2@<:s><:#P30670848,P786432> varname=StrField$(pffield, 3, " ") 'get the name of the variable in the PF
@Outline2@<:s><:#P30670848,P786432> targlen=len(target)
@Outline2@<:s><:#P30670848,P786432> if left$(varname, targlen)=target
@Outline2@<:s><:#P30670848,P786432> 'message("FieldRemove({pfid},{pftype})", "Debug")
@Outline2@<:s><:#P30670848,P786432> FieldRemove(pfid, pftype);
@Outline2@<:s><:#P30670848,P786432> endif
@Outline2@<:s><:#P30670848,P786432> next
@Outline2@<:s><:#P30670848,P786432>else
@Outline2@<:s><:#P30670848,P786432>' message("No fields")
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>END FUNCTION<:Z~DDE_BookMark1>
<:s><:#P30670848,P943718>
<:s><:#P30670848,P943718>
<:s><:#P30670848,P943718>
<:s><:#P30670848,P943718>
@Outline1@<:s><:#P30670848,P943718>Function PreBuild(Hdlg,id,dummy)
@Outline2@<:s><:#P30670848,P786432>target=getglobalvar$(GVAR_TARGET)
@Outline2@<:s><:#P30670848,P786432>numglobs=getglobalvar$(GVAR_NUMGLOBS)
@Outline2@<:s><:#P30670848,P786432>'name the box and show the right buttons and static text
@Outline3@<:s><:#P30670848,P786432>CurStyleSheet = GetDocInfo$(3)
@Outline3@<:s><:#P30670848,P786432>CurStyleSheet = ucase$(CurStyleSheet)
@Outline3@<:s><:#P30670848,P786432>lb=chr$(091)
@Outline3@<:s><:#P30670848,P786432>rb=chr$(093)
@Outline3@<:s><:#P30670848,P786432>CurStyleSheet = strcat$(lb, CurStyleSheet, rb)
@Outline3@<:s><:#P30670848,P786432>if target =AS_DEFPREFIX
@Outline3@<:s><:#P30670848,P786432> DlgSetCaption(hdlg, DLGTITLE_DEFINFO)
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(Hdlg, 3, 0) ' show the save as button
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, 1060, 1) ' hide the 1060 field static text
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, 1050, 0)
@Outline3@<:s><:#P30670848,P786432> L1=DEFBOX_HELPTEXT_1
@Outline3@<:s><:#P30670848,P786432> L2=DEFBOX_HELPTEXT_2
@Outline3@<:s><:#P30670848,P786432> L3=DEFBOX_HELPTEXT_3
@Outline3@<:s><:#P30670848,P786432> L4=DEFBOX_HELPTEXT_4
@Outline3@<:s><:#P30670848,P786432> L5=DEFBOX_HELPTEXT_5
@Outline3@<:s><:#P30670848,P786432> helptext=DEFBOX_HELPSTRING
@Outline3@<:s><:#P30670848,P786432> setdlgitemtext(hdlg, 1050, helptext)
@Outline3@<:s><:#P30670848,P786432>else
@Outline3@<:s><:#P30670848,P786432> DlgSetCaption(hdlg, DLGTITLE_OPTINFO)
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(Hdlg, 3, 1) ' hide the save as button
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, 1050, 1) ' hide the 1050 field static text
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, 1060, 0)
@Outline3@<:s><:#P30670848,P786432> L1=OPTBOX_HELPTEXT_1
@Outline3@<:s><:#P30670848,P786432> L2=OPTBOX_HELPTEXT_2
@Outline3@<:s><:#P30670848,P786432> L3=OPTBOX_HELPTEXT_3
@Outline3@<:s><:#P30670848,P786432> L4=OPTBOX_HELPTEXT_4
@Outline3@<:s><:#P30670848,P786432> L5=OPTBOX_HELPTEXT_5
@Outline3@<:s><:#P30670848,P786432> helptext=OPTBOX_HELPSTRING
@Outline3@<:s><:#P30670848,P786432> setdlgitemtext(hdlg, 1060, helptext)
@Outline3@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>'hide static text and edit fields
@Outline3@<:s><:#P30670848,P786432>for i = (numglobs + 1) to 9
@Outline3@<:s><:#P30670848,P786432> stid=1000 + i
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, stid, 1)
@Outline3@<:s><:#P30670848,P786432> ebid=8000 + i
@Outline3@<:s><:#P30670848,P786432> DlgHideControl(hdlg, ebid, 1)
@Outline3@<:s><:#P30670848,P786432>next
@Outline2@<:s><:#P30670848,P786432>'size the box
@Outline3@<:s><:#P30670848,P786432>DIM rect(4)
@Outline3@<:s><:#P30670848,P786432>'GetWindowRect(hDlg,&rect)
@Outline3@<:s><:#P30670848,P786432>x=rect(1)
@Outline3@<:s><:#P30670848,P786432>y=rect(2)
@Outline3@<:s><:#P30670848,P786432>xL=rect(3)
@Outline3@<:s><:#P30670848,P786432>yL=rect(4)
@Outline3@<:s><:#P30670848,P786432>MoveBase=24
@Outline3@<:s><:#P30670848,P786432>moveshrink=MoveBase * (9-numglobs)
@Outline4@<:s><:#P30670848,P786432>if target=AS_DEFPREFIX
@Outline4@<:s><:#P30670848,P786432> moveshrink=moveshrink + 22
@Outline4@<:s><:#P30670848,P786432> max=145
@Outline4@<:s><:#P30670848,P786432>else
@Outline4@<:s><:#P30670848,P786432> moveshrink=moveshrink + 50 'shrink extra amount for less 1050 text
@Outline4@<:s><:#P30670848,P786432> max=217
@Outline4@<:s><:#P30670848,P786432>endif
@Outline4@<:s><:#P30670848,P786432>if moveshrink <;> max
@Outline4@<:s><:#P30670848,P786432> moveshrink = max
@Outline4@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>'move the helptext box
@Outline3@<:s><:#P30670848,P786432>'hwndCtrl=GetDlgItem(hdlg, 1050)
@Outline3@<:s><:#P30670848,P786432>DIM rect2(4)
@Outline3@<:s><:#P30670848,P786432>DIM rect3(4)
@Outline3@<:s><:#P30670848,P786432>'GetWindowRect(hwndCtrl,&rect2)
@Outline3@<:s><:#P30670848,P786432>'ScreenToClient(hDlg, &rect2) 'convert 1050's screen-relative coordinates to hdlg-relative coordinates
@Outline3@<:s><:#P30670848,P786432>'GetClientRect(hwndCtrl, &rect3) 'get xL & yL numbers (length & width of 1050)
@Outline3@<:s><:#P30670848,P786432>x=rect2(1)
@Outline3@<:s><:#P30670848,P786432>y=rect2(2)
@Outline3@<:s><:#P30670848,P786432>xL=rect3(3)
@Outline3@<:s><:#P30670848,P786432>yL=rect3(4)
@Outline3@<:s><:#P30670848,P786432>moveshrink=MoveBase * (9-numglobs)
@Outline4@<:s><:#P30670848,P786432>if target=AS_DEFPREFIX
@Outline4@<:s><:#P30670848,P786432> max=137
@Outline4@<:s><:#P30670848,P786432>else
@Outline4@<:s><:#P30670848,P786432> max=167
@Outline4@<:s><:#P30670848,P786432>endif
@Outline4@<:s><:#P30670848,P786432>if moveshrink <;> max
@Outline4@<:s><:#P30670848,P786432> moveshrink = max
@Outline4@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>END FUNCTION
@Outline1@<:s><:#P30670848,P943718>function initcapit(string)
@Outline2@<:s><:#P30670848,P786432>if instr(0, PFTXT_SSN, string) != 0
@Outline2@<:s><:#P30670848,P786432> initcapit=string
@Outline2@<:s><:#P30670848,P786432> exit function
@Outline2@<:s><:#P30670848,P786432>endif
@Outline2@<:s><:#P30670848,P786432>firstchar=left$(string, 1)
@Outline2@<:s><:#P30670848,P786432>restchars=lcase$(right$(string, (len(string) - 1)))
@Outline2@<:s><:#P30670848,P786432>initcapit=strcat$(firstchar, restchars)
@Outline2@<:s><:#P30670848,P786432>end function
@Outline2@<:s><:#P30670848,P786432>
>
[Embedded]
00031396
>
[macsum4] 7 76
main 0 0 8 39
fillboxfields 1374 1 28 85
SaveAsStyleInit 5695 3 4 204
freeglobs 6072 1 5 215
torchfields 6466 1 9 227
PreBuild 7127 3 25 252
initcapit 9572 1 3 333
[macse]
14 main
29 0 main
17 1
10 00000283
17 3
16 _$$2GetOpenFileName$
13
7 ""
18 1
16 _$$2FileChanged 0 0
13
5 0
18 1
1 2
11 00000268
17 4
0 3 "This macro is for automated style sheets. To use it, choose File/New and leave Run macro selected."
6 0
15
9
17 7
0 296 1
17 9
0 32 2
17 10
16 _$$4FieldShow 0
17 11
29 1 rmac
0 802
13
8 1
17 13
29 2 burnfields
0 286 "AutoStyleSheets" "NoQuestions" "AMIPRO2.INI"
13
8 2
17 14
6 2
5 1
18 0
11 00000534
17 15
16 torchfields "as_"
6 0
15
9
10 00000633
17 17
6 2
7 ""
18 0
11 00000633
17 18
0 287 "AutoStyleSheets" "NoQuestions" 0 "AMIPRO2.INI"
17 20
29 3 datagood
0 286 "AutoStyleSheets" "DataGood" "AMIPRO2.INI"
13
8 3
17 21
6 3
5 1
18 1
11 00000812
17 22
29 4 collector
7 "collect.smm"
8 4
17 23
16 "{4}"
17 25
29 5 cnt
0 1304 0
13
8 5
17 26
5 0
6 5
18 1
11 00001151
17 27
29 6 result
16 fillboxfields "as_def"
13
8 6
17 28
6 6
5 0
18 0
6 6
5 2
18 0
1 2
11 00001017
17 29
10 00001151
17 31
16 fillboxfields "as_user"
13
8 6
17 32
6 6
5 0
18 0
6 6
5 2
18 0
1 2
11 00001138
17 33
10 00001151
10 00001151
17 39
16 torchfields "as_"
17 40
29 7 mark
7 "as_starttext"
8 7
17 41
16 _$$4MarkBookMark "{7}" 4002
13
8 6
17 42
16 _$$4MarkBookMark "{7}" 4004
17 43
16 _$$1DocInfo "" "" 1
17 44
0 296 0
6 0
15
17 45
9
14 fillboxfields
29 0 target
29 1 fillboxfields
17 2
29 2 cnt
0 1304 0
13
8 2
17 3
6 2
5 0
18 0
11 00000133
6 1
15
9
17 6
29 3 rmac
0 802
13
8 3
17 7
0 271 "target" 1
17 8
0 264 "target" "{0}"
17 9
6 2
29 4 fields
21 4 [X]
17 10
5 1
29 5 globvars
21 5 [X]
17 11
5 1
29 6 echovars
21 6 [X]
17 12
29 7 numglobs
5 0
8 7
17 13
0 1305 0 &4
17 15
29 8 mergefieldspresent
5 0
8 8
29 9 i
5 1
8 9
17 16
6 2
6 9
18 2
12 00000520
10 00001414
5 1
6 9
3 0
8 9
10 00000438
17 17
29 10 pftype
6 9
22 4
0 20 [X] 2 ","
13
8 10
17 18
6 10
5 12
18 0
11 00000633
17 19
5 1
8 8
17 21
29 11 pffield
6 9
22 4
0 20 [X] 3 ","
13
8 11
17 22
29 12 varname
0 20 "{11}" 3 " "
13
8 12
17 23
29 13 showtype
0 20 "{12}" 6 "_"
13
8 13
17 24
0 17 "{13}"
13
7 "address2"
18 0
11 00000895
17 25
29 14 secondaddressline
5 1
8 14
17 27
29 15 echovar
0 20 "{12}" 1 "_"
13
0 20 "{12}" 2 "_"
13
0 20 "{12}" 3 "_"
13
0 20 "{12}" 4 "_"
13
0 20 "{12}" 5 "_"
13
0 16 [X] "_" [X] "_" [X] "_" [X] "_" [X] "_" "echo_"
13
8 15
17 28
29 16 targlen
0 14 "{0}"
13
8 16
17 29
0 806 "{12}" "{16}"
13
6 0
18 0
6 13
7 "echo"
18 1
1 1
11 00001401
17 30
6 7
5 1
3 0
8 7
17 31
29 17 result
6 9
22 4
0 1041 &5 "{7}" [X]
13
8 17
17 32
6 17
5 0
18 0
11 00001401
17 33
10 00004084
17 34
0 1041 &6 "{7}" "{15}"
10 00000487
17 39
6 7
5 0
18 0
11 00001479
17 40
5 3
8 1
6 1
15
9
17 44
0 271 "numglobs" 1
17 45
0 264 "numglobs" "{7}"
17 46
0 1043 &5 3 "_"
5 1
8 9
17 47
6 7
6 9
18 2
12 00001653
10 00003023
5 1
6 9
3 0
8 9
10 00001571
17 48
6 9
22 5
0 20 [X] 3 ","
13
8 11
17 49
0 20 "{11}" 3 " "
13
8 12
17 50
29 18 quotechar
0 39 34
13
8 18
17 51
29 19 varlabel
6 9
22 5
0 20 [X] 2 "{18}"
13
8 19
17 52
0 20 "{12}" 6 "_"
13
8 13
17 53
29 20 profilestringstuff
7 ""
8 20
17 54
6 13
5 -1
18 1
6 13
7 "echo"
18 1
6 13
7 ""
18 1
1 1
1 1
11 00002313
17 55
0 286 "AutoStyleSheets" "{13}" "AMIPRO2.INI"
13
8 20
17 56
0 17 "{13}"
13
7 "address1"
18 0
6 14
5 1
18 1
1 1
11 00002313
17 57
29 21 address2
0 286 "AutoStyleSheets" "Address2" "AMIPRO2.INI"
13
8 21
17 58
6 21
7 ""
18 1
11 00002313
17 59
0 16 "{20}" ", " "{21}"
13
8 20
17 63
0 271 "{12}" 1
17 64
0 20 "{12}" 1 "_"
13
0 20 "{12}" 2 "_"
13
0 20 "{12}" 3 "_"
13
0 20 "{12}" 4 "_"
13
0 20 "{12}" 5 "_"
13
0 16 [X] "_" [X] "_" [X] "_" [X] "_" [X] "_" "echo_"
13
8 15
17 65
0 271 "{15}" 1
17 66
0 806 "{19}" 5
13
0 17 [X]
13
7 "type "
18 0
11 00002716
17 67
29 22 lenwithouttype
0 14 "{19}"
13
5 5
3 1
8 22
17 68
0 807 "{19}" "{22}"
13
8 19
17 70
0 807 "{19}" 5
13
0 17 [X]
13
7 " here"
18 0
11 00002887
17 71
29 23 lenwithouthere
0 14 "{19}"
13
5 5
3 1
8 23
17 72
0 806 "{19}" "{23}"
13
8 19
17 74
16 initcapit "{19}"
13
8 19
17 75
5 1000
6 9
3 0
0 31 [X] "{19}:"
17 76
5 8000
6 9
3 0
0 31 [X] "{20}"
10 00001620
17 78
0 41 0 "{3}!PreBuild"
17 79
29 24 amidir
0 798
13
8 24
17 80
29 25 boxnum
6 7
8 25
17 82
29 26 box
0 26 "{24}autosty.dlg" "autostyl{25}"
13
8 26
17 83
6 26
8 1
17 84
6 26
5 0
18 0
6 26
5 2
18 0
1 2
11 00003287
17 85
10 00004084
5 1
8 9
17 88
6 7
6 9
18 2
12 00003379
10 00004030
5 1
6 9
3 0
8 9
10 00003297
17 89
29 27 contents
5 8000
6 9
3 0
0 27 [X]
13
8 27
17 90
29 28 pfid
6 9
22 5
0 20 [X] 1 ","
13
8 28
17 91
6 9
22 5
0 20 [X] 2 ","
13
8 10
17 92
6 9
22 5
0 20 [X] 3 ","
13
8 11
17 93
0 20 "{11}" 3 " "
13
8 12
17 94
0 20 "{12}" 1 "_"
13
0 20 "{12}" 2 "_"
13
0 20 "{12}" 3 "_"
13
0 20 "{12}" 4 "_"
13
0 20 "{12}" 5 "_"
13
0 16 [X] "_" [X] "_" [X] "_" [X] "_" [X] "_" "echo_"
13
8 15
17 95
0 264 "{15}" "{27}"
17 96
0 264 "{12}" "{27}"
17 97
6 8
5 1
18 0
11 00004017
17 98
16 _$$5GotoPowerField "{28}" "{10}"
13
8 17
17 99
16 _$$5FieldUpdate "{28}" "{10}" "{11}"
17 100
2 571 1
10 00003346
17 103
6 8
5 0
18 0
11 00004084
17 104
2 267 1
17 107
16 torchfields "{0}"
17 108
16 freeglobs "{0}"
17 109
0 266 "target"
17 110
0 266 "numglobs"
17 111
6 26
5 3
18 0
11 00004301
17 113
0 41 0 "{3}!SaveAsStyleInit"
17 115
0 71 305 1022
13
8 17
6 1
15
17 118
9
14 SaveAsStyleInit
29 0 hdlg
29 1 id
29 2 value
29 3 SaveAsStyleInit
17 1
29 4 CB_withcontents
5 25550
8 4
17 2
29 5 CB_runmacro
5 25551
8 5
17 3
29 6 EB_runmacro
5 667
8 6
17 4
0 43 "{0}" "{4}" 1
17 5
0 53 "{0}" "{4}" 0
17 6
0 43 "{0}" "{5}" 1
17 7
0 53 "{0}" "{5}" 0
17 8
0 43 "{0}" "{6}" "autosty.smm"
17 9
0 53 "{0}" "{6}" 0
6 3
15
17 10
9
14 freeglobs
29 0 target
29 1 freeglobs
17 2
29 2 targlen
0 14 "{0}"
13
8 2
17 3
29 3 numglobs
0 299
13
8 3
17 4
6 3
29 4 globnuke
21 4 [X]
17 5
0 300 &4
29 5 i
5 1
8 5
17 6
6 3
6 5
18 2
12 00000272
10 00000375
5 1
6 5
3 0
8 5
10 00000191
17 7
6 5
22 4
0 806 [X] "{2}"
13
6 0
18 0
11 00000362
17 8
6 5
22 4
0 266 [X]
10 00000239
6 1
15
17 11
9
14 torchfields
29 0 target
29 1 torchfields
17 2
29 2 cnt
0 1304 0
13
8 2
17 3
5 0
6 2
18 1
11 00000642
17 4
6 2
29 3 fields
21 3 [X]
17 5
0 1305 0 &3
29 4 i
5 1
8 4
17 6
6 2
6 4
18 2
12 00000269
10 00000629
5 1
6 4
3 0
8 4
10 00000188
17 7
29 5 pfid
6 4
22 3
0 20 [X] 1 ","
13
8 5
17 8
29 6 pftype
6 4
22 3
0 20 [X] 2 ","
13
8 6
17 9
29 7 pffield
6 4
22 3
0 20 [X] 3 ","
13
8 7
17 10
29 8 varname
0 20 "{7}" 3 " "
13
8 8
17 11
29 9 targlen
0 14 "{0}"
13
8 9
17 12
0 806 "{8}" "{9}"
13
6 0
18 0
11 00000616
17 14
16 _$$5FieldRemove "{5}" "{6}"
10 00000236
10 00000642
6 1
15
17 20
9
14 PreBuild
29 0 Hdlg
29 1 id
29 2 dummy
29 3 PreBuild
17 1
29 4 target
0 265 "target"
13
8 4
17 2
29 5 numglobs
0 265 "numglobs"
13
8 5
17 4
29 6 CurStyleSheet
16 _$$1GetDocInfo$ 3
13
8 6
17 5
0 18 "{6}"
13
8 6
17 6
29 7 lb
0 39 091
13
8 7
17 7
29 8 rb
0 39 093
13
8 8
17 8
0 16 "{7}" "{6}" "{8}"
13
8 6
17 9
6 4
7 "as_def"
18 0
11 00000964
17 10
0 75 "{0}" "Personal Information"
17 11
0 56 "{0}" 3 0
17 12
0 56 "{0}" 1060 1
17 13
0 56 "{0}" 1050 0
17 14
29 9 L1
7 "Type the information that you want to appear each time "
8 9
17 15
29 10 L2
7 "you create this type of document. Choose OK to insert this information "
8 10
17 16
29 11 L3
7 "into the current document only. Choose Save As to save this "
8 11
17 17
29 12 L4
7 "information to a new style sheet."
8 12
17 18
29 13 L5
7 ""
8 13
17 19
29 14 helptext
7 "{9}{10}{11}{12}{13}"
8 14
17 20
0 43 "{0}" 1050 "{14}"
10 00001301
17 22
0 75 "{0}" "Optional Information"
17 23
0 56 "{0}" 3 1
17 24
0 56 "{0}" 1050 1
17 25
0 56 "{0}" 1060 0
17 26
7 "Type the information you want to appear "
8 9
17 27
7 "in this document."
8 10
17 28
7 ""
8 11
17 29
7 ""
8 12
17 30
7 ""
8 13
17 31
7 "{9}{10}{11}{12}{13}"
8 14
17 32
0 43 "{0}" 1060 "{14}"
29 15 i
6 5
5 1
3 0
8 15
17 35
5 9
6 15
18 2
12 00001416
10 00001573
5 1
6 15
3 0
8 15
10 00001331
17 36
29 16 stid
5 1000
6 15
3 0
8 16
17 37
0 56 "{0}" "{16}" 1
17 38
29 17 ebid
5 8000
6 15
3 0
8 17
17 39
0 56 "{0}" "{17}" 1
10 00001381
17 42
5 4
29 18 rect
21 18 [X]
17 44
29 19 x
5 1
22 18
8 19
17 45
29 20 y
5 2
22 18
8 20
17 46
29 21 xL
5 3
22 18
8 21
17 47
29 22 yL
5 4
22 18
8 22
17 48
29 23 MoveBase
5 24
8 23
17 49
29 24 moveshrink
6 23
5 9
6 5
3 1
4 0
8 24
17 50
6 4
7 "as_def"
18 0
11 00001955
17 51
6 24
5 22
3 0
8 24
17 52
29 25 max
5 145
8 25
10 00002005
17 54
6 24
5 50
3 0
8 24
17 55
5 217
8 25
17 57
6 24
6 25
18 3
11 00002062
17 58
6 25
8 24
17 62
5 4
29 26 rect2
21 26 [X]
17 63
5 4
29 27 rect3
21 27 [X]
17 67
5 1
22 26
8 19
17 68
5 2
22 26
8 20
17 69
5 3
22 27
8 21
17 70
5 4
22 27
8 22
17 71
6 23
5 9
6 5
3 1
4 0
8 24
17 72
6 4
7 "as_def"
18 0
11 00002349
17 73
5 137
8 25
10 00002369
17 75
5 167
8 25
17 77
6 24
6 25
18 3
11 00002426
17 78
6 25
8 24
6 3
15
17 80
9
14 initcapit
29 0 string
29 1 initcapit
17 1
0 808 0 " SSN " "{0}"
13
5 0
18 1
11 00000128
17 2
6 0
8 1
6 1
15
9
17 5
29 2 firstchar
0 806 "{0}" 1
13
8 2
17 6
29 3 restchars
0 14 "{0}"
13
5 1
3 1
0 807 "{0}" [X]
13
0 17 [X]
13
8 3
17 7
0 16 "{2}" "{3}"
13
8 1
6 1
15
17 8
9
00031421