Page number element properties

Open the Properties view in Document Studio and select a Page number element. The Properties view displays these available properties for page numbers.




General properties

In the All properties tab, these properties are at the top level, in the Metadata, and in the Formatting > Common sections.

Type Value Description
Tag String Tag name for the element. This property cannot be edited.
Name String The name of the element.
Description String A summary or note about this element.
Assignment String The variable assignments that are done in the element.
Condition String A script that can apply variables or attributes as conditions on the element.
Target region String Writes the current element in the region that you specify.



Specific properties

In the All properties tab, these properties are located in the Formatting > specific section.

Type Value Description
Field type page number A category for your field element to apply styling to fields of a specific category or type in your style sheets.
Field code String A script taken from Microsoft Word to insert fields as placeholders for specific text in your document. For more information about generating field code, see Insert and format field codes in Word 2007.
Page numbering style arabicuppercase romanlowercase romanuppercase alphalowercase alpha How each number displays on the page:
  • Arabic: 1, 2, 3...
  • Uppercase roman: I, II, III...
  • Lowercase roman: i, ii, iii...
  • Uppercase alpha: A, B, C...
  • Lowercase alpha: a, b, c...
Page starting number Number You can start the page numbering at a specific page. For example, if you have a title page in this template, you might want to start page numbering on page 2.
Restart page numbering true, false If this template is used as a snippet in another template, you might want to set this property to true to start the page numbering from page 1 or the page number you specified in the Page starting number property.



Font properties

In the All properties tab, these properties are located in the Formatting > FontFormatting > Line, Formatting > Character, and Formatting > Effects sections.

Type Value Description
Font String, Cambria, Courier New, Georgia, Helvetica, Lucida, Tahoma, Times New Roman, Verdana Select one of the common fonts available in the dropdown menu or type the name of another font on your computer to use.
Size 1 to 1638 The point size of the text in the element. You can select a value from the dropdown menu or type a value between the supported sizes.
Example:
Font size example
Color 000000 to FFFFFF Default value: 000000

The hexadecimal color of the text in the element.

Example:
Font color example
Note: The value transparent is only supported for XSL-FO output.
Bold true, false Default value: false

true applies bold styling.

Example:
Bold example
Italic true, false Default value: false

true applies italic styling.

Example:
Italic example
Underline true, false, single, words, double, dotted, thick, dash, dash long, dot dash, dot dot dash, wavy, dotted heavy, dash heavy, dash long heavy, dot dash heavy, dot dot dash heavy, wavy heavy, wavy double Default value: false

true creates a horizontal line beneath the text.

Example:
Underline example
Overline true, false Default value: false

true creates a horizontal line over the text.

Example:
Overline example
Strikethrough true, false, double Default value: false

true creates a horizontal line through the center of the text.

Example:
Strikethrough example
Shadow true, false Default value: false

true creates a shadow on the text.

Example:
Shadow example
Outline true, false Default value: false

true creates an outline around the text.

Example:
Outline example
Emboss true, false Default value: false

true creates an emboss effect around the text.

Example:
Emboss example
Engrave true, false Default value: false

true creates an engrave effect around the text.

Example:
Engrave example
Small caps true, false Default value: false

true changes lowercase letters into capital letters.

Example:
Small caps example
All caps true, false Default value: false

true changes all letters into capital letters.

Example:
All caps example where all letters are uppercase
Hidden true, false Default value: false

true removes the text from the output.

Underline color 000000 to FFFFFF Default value: 000000

The hexadecimal color of the line underneath the text in the element.




Border properties

In the All properties tab, these properties are located in the Formatting > Border sections.

When you have some combination of total page number, page number, or text elements next to each other in a template with border properties applied, the display of the border properties might be affected.

Example:
Header element where the generated output reads page number of total pages number.
  • When one element has a border applied, but the other element does not have a border applied, the border is applied to and encompasses both elements. The border is the height of the text and the width of the page.
  • When the same border properties are applied to each element, the same border encompasses both elements
  • When different border properties are applied to each element, the border properties of the last element are applied to and encompasses all of the elements.
Type Value Description
Margin 0 to 1000 The white space between the sides of the text the border style property is applied to and any other text or element
Example:
All borders margin example
Style none, single, thick, double, hairline, dotted, dash large gap, dot dash, dot dot dash, triple, thin thick small gap, thick thin small gap, thin thick thin small gap, thin thick medium gap, thick thin medium gap, thin thick thin medium gap, thin thick large gap, thick thin large gap, thin thick thin large gap, wave, double wave, dash small gap, dash dot stroker, emboss 3D, engrave 3D, outset, inset, groove, ridge, dashed, hidden The type of border used around the side of the element
Color 000000 to FFFFFF The hexadecimal color of the border on the side of the text in the element
Note: Do not set color to transparent for all borders.
Width 0 to 30 The number of pixels the width of the border of the side of the element is.



Color properties

In the All properties tab, these properties are located in the Formatting > color section.

Type Value Description
Background color 000000 to FFFFFF The hexadecimal color of the element background.