Related pages -
To create a background fill that extends outside
page margins, see BackgroundFill.
To create a border made up of words
strung together around the edges of the page, see TextBord.
To create a graphical page border with
repeating graphic images (clipart, photos, etc.) using Corel
Presentations, click here.
This macro creates a line border
(default is a single line, but it can be double, dashed, thick, etc.) outside
the page margins or at any other specified location, around the
perimeter of all pages (or just pages from the current page forward),
according to the specifications of the user (see Modifications below).
of a sample page after playing the macro.
WordPerfect's own Format, Page, Border/Fill
does not extend very far beyond page margins (and can vary with changes
in margins), whereas this macro can place a fixed border on all pages
as near the edges of the paper as desired (and that the printer can
The line border is created using a text box
inside a watermark, so it will show up on the current and
subsequent pages and in the user's desired dimensions without being
impacted by any page margin changes in the document. See Tips and
Note that if you choose the option to place
the border on the current page only, a [Delay: 1] page code is
also added to discontinue the watermark on the next page (if there is a
next page). So if you wish to delete the [Watermark] code you should
delete the associated [Delay] code.
(For more on headers, footer, and watermarks
and how to start, stop, suppress, change, replace, delay, overlay, and
remove them: http://wptoolbox.com/tips/HeadFootWM.html.)
See the redlined User Modification Area in the macro's
code (just open the macro like any WordPerfect document to view or edit
it). You can specify -
- the watermark to use (WatermarkB is the
default, but see Caution below if you use Legal Pleadings);
- where to place the watermark (current page
only or current and following pages);
- the space around the perimeter of the
border (spacing for each of the four border lines can be set
- the type of border (a single solid line is
the default); and
- you can also add a short phrase to the
bottom of the box in a smaller, shaded font.
Tips and cautions
- Even though you can use Edit, Undo (or
Ctrl+z) to remove the effects of the macro, it is wise to make a backup
of the document before playing the macro.
- Optional: You can search and remove one or
more existing [Watermark] codes using the Find and Replace, Match,
Codes feature. This works in any WordPerfect document. This might be
useful to clean up the document before playing the macro (which uses
Watermark B by default) or if you played the macro multiple times (see
next sections). You will also want to remove any associated [Delay]
codes that discontinue the watermark on the next page.
- To make it easy to use, you can assign this
macro to a menu, toolbar, or keystroke shortcut: http://wptoolbox.com/tips/EasyPlay.html.
You can also turn off the display of the macro's menu with a setting in
the User Modification Area; this might be useful if you always use the
same watermark, border spacing, etc., and prefer to use the macro
without seeing a menu.
- You can also make several copies of this
macro with different borders set in the User Modification Area.
- If you chose to place the watermark on
multiple pages, you can manually stop the borders from continuing on
any page by placing your cursor at the top of that page and using
Insert, Watermark, [choose A or B, whichever was used for the text
box], Discontinue. This is the method the macro uses if you chose
the "current page only" option.
- Using the same watermark type (A or B) on a
page will supersede any previous one of the same type (A or B) from
that point forward. (For more on headers, footer, and watermarks and
how to start, stop, suppress, change, replace, delay, overlay, and
remove them: http://wptoolbox.com/tips/HeadFootWM.html)
- The macro can even be used to create a
small empty box to use for stamps, initials, etc. Just set the outside
spaces to larger sizes in the User Modification Area or the optional
pop up menu. If you then edit the watermark you can add text to the
box. (Better yet, see the EdgeText macro here: http://wptoolbox.com/library/EdgeText.html.)
- To create a fill for the text box
or a different color for the borders, double click the new [Watermark]
code after the macro plays, then double click on the [Box] code in
Reveal Codes. This should display an Edit Text dialog with a Fill and
Border option. (When done. click outside the box to de-select it.) This
is also an easy way to change the border style.
- If you play the macro with the variable vCurrentPgOnly:=1
(located in the User Modification Area)—i.e., it is set add a box just
on the current page—and you play it multiple times on various
subsequent pages, the macro will place several [Watermark] codes
throughout the document on those pages.
- This is generally not a problem since
it is the same watermark in all cases (unless you modify the macro's
code to adjust the fill or use different text), but remember: Inserting
a watermark, header, or footer of the same type (A or B) supersedes the
same type of item from that page forward. So if you have other special
watermarks in the document, be sure to test the effects of the macro by
viewing all pages in that document. (Make a backup of the document
before playing the macro.)
- But it might make for a "cleaner"
document (in terms of fewer extra codes in the document or fewer
"misplaced" codes due to editing the document) if you wait until the
final draft to play the macro to play it (usually once, but you can
reset the border between multiple plays for special effects).
pleadings are created using Watermark B.
Hence, if you use them you should use Watermark A for this macro. (See
the User Modification Area to set the default.)