Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2008 by Barry MacDonnell. All Rights Reserved.

Page updated June 6, 2008
WordPerfect Tips
Main tips page | Browse tips
Modifying the legal Pleading feature

For WordPerfect 10 and earlier

When you have the Legal toolbar visible (View, Toolbars, Legal) the first icon creates the vertical lines and line numbers along the edge of the Pleading page. Clicking the icon simply plays the shipping macro, pleading.wcm, which displays a menu of choices and then creates the lines and numbers.

For WordPerfect 11 and later

When you have the Legal toolbar visible (View, Toolbars, Legal) the second icon brings up the Pleading Expert, which is a built-in, self-contained program module that helps design a legal pleading.

For all versions

What you may not know is that the lines and numbers are first created in a watermark (Watermark B) which then is inserted into the document's initial style code by the pleading.wcm macro or Perfect Expert.

That's why it is hard to find -- deliberately, so, since most users have little need to modify it, and most would not want the [Watermark B] code deleted accidentally. So it is hidden inside the [Open Style: DocumentStyle] code in Reveal Codes. If you create a pleading document and double-click this code, you will see a [Watermark B] code in the Styles Editor's Contents field.

Generally, you probably will not want to modify the pleading macro's Watermark B, but if you really want to do it, you can

either

  • double-click the [Watermark B] code while inside the Styles Editor and make changes there. This can be difficult since it is hard to see all the commands and hard to see the effects of changes. The alternative is easier:

or

  • double-click the [Open Style: DocumentStyle] code (that is, the document's initial style code) at the top of the current Pleading document. (Make sure you are at the top of the document, and not inside a header.)

Then -

  • In the Styles Editor that pops up, place the cursor to the immediate left of the [Watermark B] code, hold down the Shift key, and press the right arrow key once. This selects just the watermark code containing the Pleading formatting. Then press Ctrl+X to cut the code from the Styles Editor to the Windows clipboard.
  • Exit from the Styles Editor (with OK), and paste the [Watermark B] code into the main document (or a new blank document) with Ctrl+V.
  • Edit the watermark by double-clicking its code. Make your desired changes, then exit from the Pleading watermark with File, Close (or with the Close button on the watermark's property bar).
  • Back in the main document, use Ctrl+X to cut the revised [Watermark B] code to the Windows clipboard.
  • At this point you should be in the document where you originally cut this watermark code from the [Open Style] code. Now, edit the [Open Style] code again by double-clicking it and paste the revised [Watermark B] code into its original location in the Contents field.
  • Close the Styles Editor. The revised watermark should show in the document.

Note that you can also insert other items into the document's initial style code (or copy codes into the initial style from the main document). See the Tips below.

Tips

Blue bullet You can suppress the Pleading marks on a page in the main document. Just place your cursor at the top of the page where you want it suppressed and click Format, Page, Suppress, Watermark B.

Blue bullet You can delay the appearance of the Pleading -- that it, make it skip "x" pages from the start of the document. Let's assume you want to delay the appearance of the Pleading marks until page 3 (if there is a page 3). NOTE: Be sure to carefully follow these instructions, since the procedure -- though simple -- is a bit tricky.

Step 1. Create a Pleading in the current document, which, as we now know, creates a Pleading watermark [Watermark B] inside the document's initial style.

Step 2. Double-click the [Open Style: DocumentStyle] code (the document's initial style code) at the top of the current Pleading document. In the Styles Editor that pops up, place the cursor to the left of the [Watermark B] code, hold down the Shift key, and press the right arrow key once. This selects just the watermark code. Then press Ctrl+X to cut the code from the Styles Editor to the Windows clipboard.

NOTE: You can take the opportunity at this point to modify the Pleading watermark before using it in a Delay code.

  • Exit from the Styles Editor;
  • paste the watermark code into a new blank document;
  • edit the [Watermark B] code (just double-click it in Reveal Codes);
  • make changes to the Pleading watermark;
  • exit from the watermark window;
  • then select just the revised [Watermark B] code and paste it into the Styles Editor in step #3 below.

Step 3. Still in the Styles Editor dialog, use its own menu to create a Delay code: Click Format, Page, Delay Codes., and set the number of pages to 2, then click OK. This will force WordPerfect to skip the first two pages before displaying the Pleading marks. If the document has fewer pages, the Pleading marks will not display.

NOTE: The Styles Editor dialog immediately changes to the Define Delayed Codes dialog. Also notice that a floating toolbar appears at the bottom of your screen with 5 buttons on it. You will use it to exit the Define Delayed Codes dialog.

Step 4. Paste the [Watermark B] code in the Styles Editor's Contents field with Ctrl+V.

Step 5. Close the Define Delayed Codes dialog with the Close button on the floating toolbar on the bottom of your screen. You cannot close this dialog with the dialog's OK button. If you try you probably will "hang" the program.

Step 6. Now, press the OK button on the dialog to return to your document. The Pleading numbering will show up on page 3, if there is a page 3. It will not show up on pages 1 and 2.

NOTE: You can use more than one Delay code in the document's initial style. For example, you can cut a [Delay] code that resets page margins from the main document and paste it into the [Open Style: DocumentStyle] code's Styles Editor, alongside the other [Delay] code(s). Or you could delay the appearance of a header or footer.

Blue bullet All of the above could be used in a custom template so that it can be loaded when needed. To create automated templates see here.