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

Barry MacDonnell's
Toolbox for WordPerfect

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

Page updated Jun 5, 2010
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:

  • 1. Create a new Pleading document (as above). Open Reveal Codes (View, Reveal Codes). Double-click on the [Open Style: DocumentStyle] code (that is, the document's initial style code) at the very top of the Pleading document. (Make sure you are at the top of the main document window and not inside a header.)
  • 2. In the Styles Editor that pops up, double-click on the [Watermark B] code in the Contents pane, and make your changes there. ...But... this method can be difficult since it is often hard to see all the commands and hard to see the effects of your changes.

or ... use this alternative, which is easier even with the extra steps:

  • 1. Create a new Pleading document (as above). We will call this "Document A." Open Reveal Codes (View, Reveal Codes). Double-click on the [Open Style: DocumentStyle] code (that is, the document's initial style code) at the very top of the Pleading document. (Make sure you are at the top of the main document window and not inside a header.)
  • 2. In the Styles Editor that pops up, place the cursor in the Contents pane, 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. (If there are lots of other codes and/or text in the Contents pane, make a note of where the [Watermark B] code is located. You will want to return there in Step 9.)
  • 3. Press Ctrl+X to cut the code from the Styles Editor to the Windows clipboard.
  • 4. Exit from the Styles Editor (with OK), open a new blank document ("Document B"), and paste the [Watermark B] code into the body text area of that document with Ctrl+V. When this code is in the body text area (rather than inside a Styles Editor) of the new document you will be able to edit it easily.
  • 5. With Reveal Codes still open, edit the watermark by double-clicking on its [Watermark B] code in Reveal Codes (or use the Insert, Watermark choice on the top menu bar). You should now see "[(Watermark B)]" at the top of the WordPerfect program's window to let you know you are editing the watermark.
  • 6. Make your desired changes to the watermark.
    • You could, for example, add a text box outside the watermark's left or right margin with your firm's logo and/or name. By right-clicking on the text box, you can choose Content to rotate it 90 (or 270) degrees, then right-click the box again to choose Position ("Attach box to Page"). The latter will let you drag the box outside the margin. Border/Fill lets you remove or change the box's border, and so forth.
  • 7. Exit from the Pleading watermark (Watermark B) with File, Close (or with the Close button on the watermark's property bar).
  • 8. Back in the body text area of the main document (i.e., Document B), and still with Reveal Codes open, select just the newly revised [Watermark B] code in Reveal Codes and then use Ctrl+C to copy (or Ctrl+X to cut) that code to the Windows clipboard.
  • 9. Go back to Document A, the one where you originally cut the watermark code from its [Open Style] code. Now, edit the [Open Style] code again by double-clicking it and paste the now-revised [Watermark B] code into its original location in the Contents field with Ctrl+V.
  • 10. Close the Styles Editor. The revised watermark should show in the document. If it is satisfactory, you could repeat these steps in a custom template so the new Pleading will be readily available whenever you need it.

Tips

  • The above method -- and including some of the other tips below -- could be used in a custom template so that new customized pleadings can be loaded when needed. To create custom templates see "Custom templates". To create automated custom templates see here.
  • Note that you can also insert other items into the document's initial [Open Style] code, such as text or format codes, or even copy codes into the [Open Style] code from the main document area.
  • You might be interested in other items on this site, such as -
    • LineBorders - Create a fixed, user-specified line border around pages outside page margins (or any specified printable location)
    • PrntCopy - A macro that can print a copy of your document marked with a stamp outside the margin. [After creating a pleading, play this macro and check the two menu boxes, "Stamp original document" and "For the stamp use Watermark A" (the pleading macro uses Watermark B). Be aware that local jurisdictions may dictate what is required and what is permitted in pleading documents.]
    • See the Library for more macros, and the main Tips page for more tips.
  • 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. For more, see here.
  • 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] code inside the document's initial [Open Style] code.

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.