# Text

In this section, we'll look at adding text to the header and footer. You can insert page numbers, dates, symbols, cell values and data fields in addition to formatted text.&#x20;

## 1. Add & format text

a) Let's start with the default header. Click on 'Header & footer'.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/taogvmWMV0p6eBj5UglT/8.3.1%20Default%20header.png" alt=""><figcaption><p>Default header</p></figcaption></figure>

b) The default header is of type 'Text' as can be seen by clicking on the 'Settings' icon and 'Type'.&#x20;

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/lQTddlbsuQuMwlMNZ3Ng/8.3.2%20Text.png" alt=""><figcaption><p>Text element</p></figcaption></figure>

c) Let's delete the existing content and type a title for the report as shown.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/onromZNP4fXyhCgm66uu/8.3.3%20Text.png" alt=""><figcaption><p>Entering the report title</p></figcaption></figure>

d) As you select the text, you can see a floating toolbar with formatting options.&#x20;

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/NRpEcOxsRtwIoRVueP1o/8.3.4%20Text.png" alt=""><figcaption><p>Formatting options</p></figcaption></figure>

e) Let's apply some formatting.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/6ZVNtoillGDiEFuHy2bW/8.3.5%20Text.png" alt=""><figcaption><p>Text formatting</p></figcaption></figure>

f) Let's now split the container and add a date on the left.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/0L4SAJxoyU6QyTiWKYa9/8.3.6%20Text.png" alt=""><figcaption><p>Splitting the container</p></figcaption></figure>

g) Click on the 'Date' option and choose a format.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/433rsjFKghFEpaqrMCoL/8.3.7%20Text.png" alt=""><figcaption><p>Inserting a date</p></figcaption></figure>

h) The date format gets inserted as shown. Let's see how the header looks in the reading mode. Click on 'Close editor'.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/BKKAWazrNdYfxmYUgOF1/8.3.9%20Text.png" alt=""><figcaption><p>Date format applied</p></figcaption></figure>

i) The header as seen in the reading view is shown below. Let's look at the other text customization options.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/28r492xabnGHlMO2qB3O/8.3.10%20Text.png" alt=""><figcaption><p>Updated header</p></figcaption></figure>

## 2. Customization options

The 'Insert' and 'Format' sections of the 'Header & footer' toolbar are applicable only for the text elements. Let's look at them one by one.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/DzkQfXUGQJpqljpQosyC/8.3.11%20Text.png" alt=""><figcaption><p>Insert &#x26; Format options</p></figcaption></figure>

You can insert the following elements in a text cell.

### i) Page number&#x20;

There are three formats for page numbers as shown in the image.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/KIZLrgdhbc187FPxByDQ/8.3.12%20Page%20number.png" alt=""><figcaption><p>Page number</p></figcaption></figure>

### ii) Date&#x20;

The available date formats are shown in the below image. The date in the header will get displayed in the selected format.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/4x3NmaXRTFRNr0sDGaKr/8.3.13%20Date.png" alt=""><figcaption><p>Date formats</p></figcaption></figure>

You can either choose from the pre-defined date formats or you can also create your custom date form. To create a custom date format, click on the 'Custom' option from the drop-down. This will open up the 'Custom date' modal.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/8NGj1hqYwxbs2VZCQETH/custom-date-format.png" alt=""><figcaption><p>Custom date type formats</p></figcaption></figure>

You can enter your date format in the 'Type here' input field. The 'Valid format' displays the list of all the valid date formats you can enter.&#x20;

Click 'Apply' to apply the entered format.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/VxNN8VRoC4Q5Lu7QFLKS/custom-date-apply.png" alt=""><figcaption><p>Apply custom date</p></figcaption></figure>

### iii) Symbol&#x20;

Symbols such as copyright, trademark, phone etc. can be included as shown.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/jafKXhYABdFTVUr2MVTB/8.3.14%20Symbol.png" alt=""><figcaption><p>Symbols</p></figcaption></figure>

### iv) Cell value&#x20;

You can insert cell values in the header/footer. You can notice that generally, the report is greyed out. Click on 'Cell value'.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/LeRU6NzhxdVwBNNV14zH/8.3.15%20Cell%20value.png" alt=""><figcaption><p>Cell value</p></figcaption></figure>

The report is no longer greyed out. You can see the 'Select dataset' option and a checkmark as highlighted in the cell that you are trying to insert the value. Select a cell from the report.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/qhU0GvzKPTTsbleLjJ6L/8.3.17%20Cell%20value.png" alt=""><figcaption><p>Selecting a value</p></figcaption></figure>

The cell placeholder gets displayed as shown and the report is again greyed out. Click on 'Close editor'.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/hIl47jv9l1gbKfvvs4sq/8.3.19%20Cell%20value.png" alt=""><figcaption><p>Cell value</p></figcaption></figure>

In the read mode, you can see the value selected in the report.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/ZAzKbrUepy6SaEwMxeYR/8.3.20%20Cell%20value.png" alt=""><figcaption><p>Cell value in read mode</p></figcaption></figure>

### v) Data field

You can insert the row & category members and measures in the header/footer. On clicking the 'Data field' option, you can see a list of all the categories, data source measures and calculations made in Inforiver.&#x20;

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/YVhKbuNk5hXNzV8ZyMKd/8.3.21%20Data%20field.png" alt=""><figcaption><p>Data field</p></figcaption></figure>

Let's select 'Region'. You can see that the name and the value placeholders are added as shown in the below image.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/MrkVLt7iMiaOhjmtnYvX/8.3.22%20Data%20field.png" alt=""><figcaption><p>Row members</p></figcaption></figure>

Let's add the 2021 Actuals. You can see the placeholder as shown.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/tq2cT2E84teOJ6oQrDWV/8.3.23%20Data%20field.png" alt=""><figcaption><p>Measure</p></figcaption></figure>

Let's go to the read mode. You can see the row that we selected - Region and the two region values. The 2021 Actuals grand total value is displayed along with the measure name.&#x20;

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/Z2B6MV6bYnFVsSwcG8jl/8.3.24%20Data%20field.png" alt=""><figcaption><p>Data fields in read mode</p></figcaption></figure>

### vi) Number scaling

In case 'Uniform' number scaling is applied in the report, the scaling can be inserted in the header/footer.&#x20;

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/Mu5nAKXX6ivMYgDyUOif/8.3.25%20Number%20scaling.png" alt=""><figcaption><p>Number scaling</p></figcaption></figure>

To apply 'Uniform' format, in the 'Home' tab, select 'Uniform' from the 'Quick format' dropdown.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/vsiYUqhGRAylua0JaedI/8.3.26%20Number%20scaling.png" alt=""><figcaption><p>Uniform number format</p></figcaption></figure>

The 'Number scaling' option gets enabled. Clicking on that inserts a '\[scaling]' placeholder as shown.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/Ro5bUqoVyUPOeBeqO1Gd/8.3.27%20Number%20scaling.png" alt=""><figcaption><p>Placeholder inserted</p></figcaption></figure>

In the read mode, you can see the scaling as shown below.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/72oCDyKGzkp8gpjlJiqE/8.3.28%20Number%20scaling.png" alt=""><figcaption><p>Number scaling in read mode</p></figcaption></figure>

### vii) Superscript/subscript

Text can be formatted as superscript/subscript using the options in the 'Format' section.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/u4X2t0BUVJ0jNjnBzA4B/8.3.29%20Superscript.png" alt=""><figcaption><p>Superscript</p></figcaption></figure>

Note that the other formatting options such as Bold, Italic, Font color, and Font size are available in the floating toolbar upon selecting the text.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/NRpEcOxsRtwIoRVueP1o/8.3.4%20Text.png" alt=""><figcaption><p>Formatting options</p></figcaption></figure>

In the next section, we'll be covering [adding images](https://docs.inforiver.com/premium-table/working-with-premium-table/7.-paginated-reporting/header-and-footer/images) in the header/footer.
