This documentation is archived and is not being maintained.

footer Attribute

Office 2007

Specifies the footer text when printing a view.

Type

xsd:string

Remarks

The footer attribute is an optional attribute of the printSettings element. The printSettings element also provides a header attribute.

The footer attribute cannot be greater than 255 characters in length.

When using a header or footer in a form, there are a number of variables that can be used to display information such as page numbers, dates, and times; or to align the text that the header or footer contains.

CharactersDescription
&wThe title of the window.
&uThe Uniform Resource Locator (URL) address of the page.
&dThe date in short format as specified by the regional settings in Control Panel.
&DThe date in long format as specified by the regional settings in Control Panel.
&tThe time in the format as specified by regional settings in Control Panel.
&TThe time in 24-hour format.
&pThe current page number.
&PThe total number of pages.
&bRight-aligned text (following &b).
&b&bCentered text (between &b&b).
&&A single ampersand (&).

Example

The following is an example of the footer attribute as it is used in the printSettings element:

<xsf:view name="View" caption="View">
   <xsf:printSettings
      header="Header text goes here."
      footer="Footer text goes here."
      orientation="portrait"      
      marginUnitsType="in"
      topMargin="1"
      leftMargin="2"
      rightMargin="2"
      bottomMargin="1"
   </xsf:printSettings>
   ...
</xsf:view>


Show: