You can add header and footer text objects using commands in the Text | Insert menu. Headers and footers are special text objects that can contain codes for the current date, current time, and page number, in addition to text you type. Canvas X Draw updates the date, time, and page number codes each time it redraws the screen.
In Publication documents, Canvas X Draw inserts headers at the top of the publication layout area (above the page margins) and footers at the bottom of the publication layout area (below the page margins). In other documents, Canvas X Draw places the header in the upper left corner of the page and the footer in the lower left corner.
Both types of objects initially span the width of the page, but you can resize and move them just like other text objects.
You can’t add headers and footers in Edit mode, press Esc to end text editing.
Choose Text | Insert | Header or Text | Insert | Footer. Canvas X Draw creates the text object, and places it in Edit mode.
Insert date, time, and page number codes in header and footer text objects. Canvas X Draw will update the values for these codes each time it redraws the screen, unless the Date Stamp and Time Stamp commands are used. Canvas X Draw uses the date and time as set in the operating system.
Refer to your system documentation for information on setting the current date and time.
You can insert the current date and time in text objects, (see Text Objects); however, Canvas X Draw does not update this text since it is “stamped” into the document as regular text. You can change page number (symbol $P) and total page count (symbol $T) displayed by adding a simple formula to them.
You can apply text formatting or Type Styles, (see Working with Type Styles), to the date, time, and page codes; e.g., change fonts, type sizes, and justification, as you would apply formatting to normal text with the Text menu, Properties bar, or Type palette.
When entering the formula, remember the following:
With a header or footer object in Edit mode, choose Text | Insert. (See Date and Time Commands and Page Numbering Commands.)
To insert | In this type of object | Do this |
Updating date code | Header or footer | |
Date stamp | Any text object | |
Updating time code | Header or footer | |
Time stamp | Any text object |
To insert | In this type of object | Do this |
Current page number | Header or footer (page count is static in normal text objects) | |
Total page count | Header or footer (page count is static in normal text objects) | |
Page # of total pages | Header or footer (page count is static in normal text objects) | Choose Text | Insert | Page # of Total Page #, or type Page $P of $T |
Page -# of total pages | Header or footer (page count is static in normal text objects) | Choose Text | Insert | Page #+4-8 of Total Page #+4-8, or type Page $P+4-8 of $T+4-8 |
If you unintentionally place spaces between the page numbers and operators, the page numbering will create errors; e.g., the formula Page $P+4 -8 of $T+4 -8 would appear as Page 6 -8 of 12 -8.