CAPTION MAKER

for WordPerfect 5.0 and 5.1

Copyright 1989 by Karl M. Rowe (1)

Copyright 1989 by Karl M. Rowe (2)

ALL RIGHTS RESERVED

With the introduction of WordPerfect 5.0, there was brought to birth many more "schemes" for printing (legal) pleading paper in addition to those devised for use with previous versions of WordPerfect (e.g., version 4.2). "Pleading paper" is the style of paper used in California (and other states), which has a double-ruled line about 1-1/2 inches from the left margin and a single-ruled line about 1/2" from the right margin. The size of this paper is usually 8-1/2" x 11" or 8-1/2" x 14 and is usually numbered to the left of the double-ruled lines.

CAPTION MAKER produces pleading paper numbered from 1 through 28 consecutively spaced about .333" apart (double-spaced) using WP's Graphics Lines Feature in combination with the Style Feature. But that's not all.

CAPTION MAKER is also designed to integrate text graphics into the legal documents you create using soft fonts, such as the Swiss typestyle by Bitstream Fontware used in CAPTION MAKER. CAPTION MAKER incorporates 6-, 10-, and 12-point fonts for its two graphics, both contained in two of the three Open Styles, CAPMAKR1 and CAPMAKR3, in the style file named "CAPMAKR.STY," for setting, among other things, these into the heading of the first page of a pleading page (if desired) and within the margin appearing at the bottom of the page on every subsequent page. The other style, CAPMAKR2 (the last of the styles activated by CAPTION MAKER) sets the line spacing to double-spacing and a five-space tab grid.

In addition to the above, CAPTION MAKER automates the creation of pleading documents from start to finish, that is, it allows the user to alter the contents of one of the text graphics, if desired, and to set document particulars, such as the court within which the document will be filed and the pleading caption itself as prompted by CAPTION MAKER.

Although many a macro has been devised that will run in both Word Perfect versions 5.0 and 5.1, CAPTION MAKER is the first macro devised for use in WordPerfect which provides version-recognition features so that it will run without any impediment despite the fact that many of the WP 5.0 commands are implemented differently in WP 5.1. That CAPTION MAKER can run both versions flawlessly is possible because of an undocumented WordPerfect feature I recently discovered and now call the "{IF} principle."

The {IF} principle can perhaps be understood this way: Since WP 5.0 and WP 5.1 both recognize the {IF} command, then any WP 5.1 command not supported under WP 5.0, when used as part of an {IF} or {IF EXISTS} command, will be false (0) when used in WP 5.0. Here are a few examples of where the {IF} principle is applied in CAPTION MAKER:

{IF}{SYSTEM}menu~>1~{ASSIGN}7~1~{END IF}

{IF EXISTS}7~

{FOR}3~1~23~1~

{Right}

{END FOR}{ELSE}

{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}

{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}

{Right}{Right}{Right}{Right}{Right}{Right}{Right}

{END IF}

{Del to EOL}{Enter}

The above will only use the {FOR} command when run in WP 5.1 since the {SYSTEM}menu~ command is not supported in WP 5.0. In this example (as well as the examples below), I {ASSIGN} the number "1" to {VAR 7} in order that the -1 or true (that is to say, "not empty") status of that variable might be used as a flag for the conditional operations performed by CAPTION MAKER. In order that both WP versions might be able to move 23 spaces to the right of the cursor (for altering the description of the CAPMAKR1 style) I have provided the most efficient means for having the macro carry this routine according to the respective version.

Now while it would have been just as easy to have used only 23 {Right} arrows in this example, you will see that option was simply not available in the next two examples.

{Columns/Tables}

{IF EXISTS}7~cf{ELSE}c{END IF}

In this example, the WP 5.1 Columns/Tables Feature (on the Alt-F7 key) is invoked. To use the Columns feature, it must be selected from a menu which introduces a three-option menu -- Columns, Tables and Math -- requiring that C>olumns be selected (by the mnemonic [letter] or the number) before Columns, as in the above example, can be turned off. If {VAR 7} is true (-1), then WP 5.1 must be in effect, requiring this selection from a menu, whereas if {VAR 7} is false (0), then WP 5.0 must be in effect in which version no selection from a menu is necessary. Similarly,

{IF EXISTS}7~

{Format}lt2.4"{Enter}

{Word Left}{Word Left}{Word Left}{Word Left}

{Word Left}{Word Left}{Word Left}{Word Left}

{Word Left}{Word Left}{Word Left}{Exit}{Exit}

{Left}{Backspace}{Right}{END IF}

the 11 {Word Left}s above are the new WP 5.1 features which, in the macro editor are interpreted as "{Word Left}s," but in actuality are Ctrl-{Left}s for use in WP 5.1's improved Tab Feature, the result of which is a resetting of the tab set (in the CAPMAKR1 style) at 2.4" to 1.5", which, by the way, is necessary because of the change made by WordPerfect Corporation to the Graphics Feature (which "zeroes" the margins in text graphics) from 5.0's.

Since the {IF} principle facilitates the writing of macros that may be run in both WP version, it will most often be applied in a manner similar to these examples, that is, in favor of WP 5.1's superior macro programming language with an alternate code (or codes) for WP 5.0, contained in an {IF} or {IF EXISTS} structure.

Installing CAPTION MAKER

The following three files are contained in the self-extracting file CAPMKR.COM:

CAPMAKR.WPM = the macro

CAPMAKR.STY = the style

CAPMAKR.WP5 = this documentation file

Installing CAPTION MAKER in either version 5.0 or 5.1 is relatively simple, provided you have (or have access to) WP 5.1's internal macro editor. (As of this writing, a macro editor for editing WP 5.1 macros was unavailable, but is expected to be released about January/ February of 1990 called ED [which stands for EDitor], part of a new upgrade of WordPerfect Library 2.0 called Office PC.) This is because the macro CAPMAKR.WPM is cannot be edited in WP 5.0's internal macro editor, and is incompatible with Macro Editor 5.0. While CAPTION MAKER will run in both versions, you will need WP 5.1 to edit the macro in the following respects:

In the style CAPMAKR1 is a Footer which contains a small (6-point) Swiss Bold base font with the Small Caps attribute code on. This must be altered (personalized) and resaved to CAPMAKR.STY for use with CAPTION MAKER. In the style CAPMAKR3 is a text graphic using a 10-pt Swiss Roman and an 8-point Swiss Roman base font with the Large attribute code on; also on the 10-pt. font the Italic attribute is turned on. (On my system, the Small Caps attribute is not used, the Large attribute is actually 10-pt Swiss Roman and the Italic attribute is not changed.) This style must be altered and resaved to CAPMAKR.STY, too.

The macro CAPMAKR.WPM contains the following block of code toward its beginning which must be altered for your law practice, BEGINNING WITH THE WORDS "YOUR LAW FIRM" ONLY, down to the line containing the words "Telephone No.":

{LABEL}lawyr~

{DISPLAY ON}{PROMPT}Attorney's name~{PAUSE}

{Page Down}, Esq.{Enter}

{CALL}bar~

State Bar No.: {VAR 3}{Enter}

{CHAR}3~Additional Attorney? (Y/N) N{Left}~

{CASE CALL}{VAR 3}~

y~lawyr~Y~lawyr~~

{DISPLAY OFF}

YOUR LAW FIRM{Enter}

1880 Century Park East #2200{Enter}

Los Angeles, California 90067{Enter}

Telephone No.: (213) 000-0000{Enter}

{Enter}

Attorneys for {Page Down}{DISPLAY ON}

{GO}atty~

"Attorneys for," of course (even any other part of the macro), can be changed to "Attorney for," but the rest of macro should remain -- hardcoded as it is -- unchanged, so unless you know what you're doing, I would suggest the rest of this section of the macro be left alone. (You will want to add and/or alter those items/ lines where appropriate according to the requirements of your state's court or bar rules.) Please consult the WP 5.1 reference manual, Appendix, for basic answers to questions you may have in connection with revising CAPMAKR.WPM.

This is especially true with these two segments from the macro as well:

(toward the top of the macro)

{LABEL}atty2~

{ASSIGN}2~Second Lawyer~

{ASSIGN}3~022222~

{GO}insert~

{RETURN}

{LABEL}atty3~

{ASSIGN}2~Third Lawyer~

{ASSIGN}3~033333~

{GO}insert~

{RETURN}

(further down in the macro)

{CHAR}3~Insert {^R}attorney's name{^S} into graphic? (Y/N) Y{Left}~

{CASE}{VAR 3}~n~skip~N~skip~~

{CHAR}3~Attorney's name: 1{^\} {^V}F{^Q}A; {^]}2{^\} {^V}S{ ^Q}A;

{^]}3{^\} {^V}T{^Q}A; {^]}4{^\} {^V}O{^Q}ther: 1{Left}~

{CASE}{VAR 3}~

2~atty2~s~atty2~S~atty2~

3~atty3~t~atty3~T~atty3~

4~attyo~o~attyo~O~attyo~~

{ASSIGN}2~First Lawyer~

{ASSIGN}3~011111~

To "{ASSIGN}2~First Lawyer~" and "{ASSIGN}3~011111~" (as in the latter example) are assigned the first attorney's name and (California) state bar number. To the former ones listed above are assigned a second and third attorney's name and bar number. (Others may be assigned as well, but the corresponding change must be made in the {CHAR}acter and {CASE} commands for easy selection (when prompted) in CAPTION MAKER.

The only other part of the macro requiring alteration is the addition of the DOS Path where the file, CAPMAKR.STY, can be retrieved by the CAPTION MAKER.

{PROMPT}{^P}@ {Up}MACRO STATUS: 1{^P}P ~

{Format}ddn0.1"{Enter}

0dc{Page Up}{Del to EOP}y{Format}lm1.4"{Enter}0.7"{Enter}

t{Home}{Home}{Left}{Del}{Del to EOL}1.4",0.5"{Enter}

{Exit}jn{Enter}

pm0.83"{Enter}

0.5"{Enter}

{Exit}{Exit}{Enter}

{Enter}

{;}THE PATH YOU MAY NEED TO CHANGE~

{Style}rcapmakr.sty{Enter}

{Search}capmakr1{Enter}

{Enter}

Assuming you will be installing CAPTION MAKER on a hard disk, I suggest that CAPMAKR.STY be copied, along with CAPMAKR.WPM, to the directory where you keep your macros. So, should that directory be "C:\WP51\MACROS," then this line ought to be altered to read "C:\WP51\MACROS\CAPMAKR.STY" (without the quotation marks). For WP 5.0 directory "D:\WP5\DOCS\FILES", this line should read "C:\WP5\ DOCS\FILESCAPMAKR.STY." From a floppy disk, the appropriate drive (and subdirectory) designation would be substituted.

Using CAPTION MAKER

I would suggest the macro name CAPMAKR.WPM be changed to Alt-C (for "Caption Maker") or Alt-P (for "Pleading") that it may be more easily invoked. You may wish to add it to one of your Ctrl or Alt keys utilizing WP 5.0 or WP 5.1's Keyboard Layout Feature.

Since CAPTION MAKER is prompt-driven, running it is rather straightforward. NOTE: It may seem to run slower on some machines than others, depending on CPU speed, availability of expanded memory and other such factors. I have included "MACRO STATUS" prompts (12 of them) into the macro so that you may not think your computer has frozen or locked up while it processes your instructions. These prompts will appear in the upper right-hand corner of your display. You may remove them from the macro with no affect on CAPTION MAKER's function.

CAPTION MAKER has two (2) copyrights, as contained therein is an "engine" which I devised for automatically producing the appropriate number of parenthesis in captions produced in WordPerfect:

{LABEL}cont2~

{DISPLAY OFF}

{HPg}

){Left}{Left}

{LABEL}list~

{PROMPT}{^P}? {Up}MACRO STATUS: 10{^P}P ~

{Home}{Left}{Home}/

{IF EXISTS}7~{ELSE}

{Del}{END IF}{End}

{ASSIGN}4~1~

{Footnote}en1000{Enter}

{Footnote}ec{Block}{Page Up}{Del}y

{Home}/ {Search Left}{Format}l/{Search}{Backspace}{Del}{Exit}

{Home}{Left}{Up}{Home}/{End}

{LABEL}again~

{ON NOT FOUND}{GO}count~~

{Block}{Home}{Home}{Left}{Save}{Enter}

{Footnote}ee1000{Enter}

{Retrieve}{Enter}

{Right}{Search}{Search}{Exit}{Block}{Left}{Left}{Left}{Del} y

{IF EXISTS}7~{ELSE}

{Home}{Left}{Del}{End}

{Block}{Home}{Left}{Flush Right}y

{Left}{Home}{Left}{Home}/{END IF}

{PROMPT}{^P}? {Up}MACRO STATUS: 12{^P}P ~

{Home}{Left}{Search Left}{Search}{Backspace}{Backspace}

{Search}{Search}{End}{Right}{Right}

{GO}loop2~

{LABEL}count~

{PROMPT}{^P}? {Up}MACRO STATUS: 11{^P}P ~

{ASSIGN}4~{VAR 4}+1~

{Page Up}{Del to EOP}y{Exit}

{Search Left}{Search}{Search Left}{Search}

{Backspace}{Up}{Home}{Home}{Left}{Home}/{End}

{GO}again~

{RETURN}

{LABEL}loop2~

{IF}{VAR 4}>0~

{CALL}paren~

{ASSIGN}4~{VAR 4}-1~

{GO}loop2~

{END IF}

{GO}next~

{RETURN}

{LABEL}paren~

{Enter})

{RETURN}

Because this code itself may be incorporated into other macros as a {NEST}ed subroutine, I sought and have obtained a second copyright on this "engine" as well. Anyone duplicating this routine as a result ought to have registered CAPTION MAKER to avoid violation of my copyright.

In the order presented are the following prompts displayed during CAPTION MAKER execution:

Insert graphic into pleading? (Y/N) Y

Insert attorney's name into graphic? (Y/N) Y

Attorneys for? (Pltf/Dfnt)

(Press [F10] to continue)

Client's(s') name(s)

(Press [F10] to continue)

Name(s) of party(ies)

1 Plaintiff; 2 Plaintiffs;

3 Petitioner; 4 Petitioners; 5 Appellant; 6 Appellants: 1

Add: In re the Marriage of? (Y/N) N

[will prompt only when "Petitioner/Respondent" is selected]

Jurisdiction: 1 Superior; 2 Municipal; 3 Federal: 1

County: 1 Los Angeles; 2 Orange; 3 Ventura; 4 Other: 1

Judicial district: 1 L.A.; 2 S. Mon.; 3 B. Hills; 4 Oth: 1

1 Cross-Complainant; 2 Cross-Complainants;

3 Plaintiff; 4 Plaintiffs; 5 Real party in interest: 1

Enter case number:

Name of document

(Press [F10] to continue)

There are other prompts, but the above provide a brief overview of the type of prompts used in CAPTION MAKER. [This version of CAPTION MAKER is an improved version of the original release. Two [L/R Mar] codes had to be deleted from the "CAPMAKR3" style of CAPMAKR.STY, and the measurements contained in the [AdvToLn] and [AdvToPos] codes (1.6" > 2.333" and 0.6" > 1.4", respectively) in the graphic itself had to be changed as well; keystroke "traps" and a few additional {BELL}s were added to CAPMAKR.WPM (it now begins with two {BELL}s instead of one to signify CAPTION MAKER version number), and the non-graphic "Additional Attorney" section thereof limits the number of attorneys that may appear at the top of the pleading to only two; and, of course, this documentation file was revised a bit.]

CAPTION MAKER is Shareware

Should CAPTION MAKER prove useful to you (and I believe to many of you it will), consider registering your copy with me by sending $45 (U.S.) to:

Karl M. Rowe

Consultant

6301 Sunset Boulevard #101-62

Los Angeles, CA 90028

CAPTION MAKER is being distributed through public access channels in order that prospective buyers may evaluate the product before making a decision to buy. In that way, should it not meet your needs, you won't be using it, and so you won't have to write me to refund a price you never paid (I hope). But if it does prove helpful to you in some way, you will want to pay the fee I ask in view of the benefits you obtain from it and of my work in connection with it.

CAPTION MAKER is NOT public domain software; therefore, please don't think it a product you may use without obligation to purchase it. It is protected by federal and state copyright laws and fully supported by me. If you really like CAPTION MAKER, the $45 registration fee can be sent in cash, check or money order, to the address above. (The latter two are best, however, secure and traceable.) Please supply both your name and mailing address for, unless such is contained on your personal check, it will be impossible to know who you are. You are free to copy and distribute CAPTION MAKER for noncommercial use provided you charge no fee for its use, its copying or its distribution, provided all three (3) files from the CAPMKR.COM file (listed above), which includes this documentation file, are distributed together, and provided you not modify it in any way, except as set forth above.

Bona fide computer user groups or clubs may make copies of CAPTION MAKER for distribution to members for a small fee sufficient to cover any copying or administrative expense its bears. BBS's that operate through subscription fees may also post WP5 CALC for downloading by its subscribers. Make as many back-up copies as you please, but, again, no fee is to be charged for distributing CAPTION MAKER.

Concerns that customarily charge fees for either the shareware and/or public domain software they distribute are specifically prohibited from distributing CAPTION MAKER individually or in connection with the packaging thereof with other disk or promotion, in any other form, or at any price. Volume discounts, site and commercial licenses are available. No warranty, either expressed or implied, is provided with this product and is being provided on an "as is" basis.

If you need help in revising or installing CAPTION MAKER, or if you have any other questions, you may feel free to E-Plex or post a message to me on CompuServe, or you may write me at:

Karl M. Rowe, Consultant

6301 Sunset Boulevard #101-62

Los Angeles, CA 90028

#72070,2561

ACKNOWLEDGEMENT

Many thanks to Robert F. Cohen for providing a model as well as the inspiration which moved me to finish CAPTION MAKER. Mr. Cohen is a member of the WordPerfect Support Group Forum (#73447,3032).