MicroStrategy ONE

Adding page breaks and numbering pages

In a document, you can determine when a new page should start and how the page numbers print. For example, you can have a page break before each new section and have page numbering restart at 1 for each section. This section provides steps for:

Adding a page break to a document

You can add page breaks to a document to signify the beginning of a new document section.

For example, to create a cover page, use the Document Header section to display the title and author, inserting a page break after the Document Header. To print each Detail section on a separate page, add page breaks after each section. To print the Detail Header and Detail Footer separately from the Detail section, use the Before and after section setting.

You can also add page breaks between groups. For more information, see Adding a page break for a group.

To add a page break to a document

  1. In MicroStrategy Web, open the document in Design or Editable Mode.

  2. Select the section to print or display on a new page. To do this, click in a blank area in the section.

  3. Right-click the section and select Properties and Formatting. The Properties and Formatting dialog box opens.

  4. On the left, select Layout.

  5. From the Force New Page drop-down list in the PDF area, select how you want the page break to occur:

    • None: Does not insert a page break. The section continues immediately after the previous section.

    • Before section: Causes the page break to occur before the section begins.

    • After section: Causes the page break to occur at the end of the section.

    • Before and after section: Inserts the break both before the section and after it.

  6. Click OK to save your changes and return to the document.

Adding page numbers to a document

By default, a document does not have any page numbers printed on it. You can add them anywhere you want in the document, although page numbers are typically placed in the Page Header or Page Footer sections.

Auto text codes related to pagination, such as Page Number and Total Page, apply when the document is viewed in PDF or printed. For more information on auto text codes, see Displaying document and dataset information: Auto text codes.

To add page numbers to a document

  1. In MicroStrategy Web, open the document in Design or Editable Mode.

  2. Expand the document section where you want the page number, by clicking the plus sign next to the section name.

  3. From the Insert menu, select Auto Text, and then select Page Number. The text field is inserted at the top left corner of the selected section, but you can reposition it.

  4. You can add the total number of pages in the document. From the Insert menu, select Auto Text, and then select Total Pages. The text field is inserted at the top left corner of the selected section, but you can reposition it.

  5. Click the Apply icon.

  6. To print a label such as "Page 1 of 8", do the following:

    1. Click Text on the toolbar.

    2. In the section you expanded above, click where you want the label. A blank text field is inserted.

    3. In the text field, type Page, followed by a space.

    4. From the Insert menu, select Auto Text, and then select Page Number.

    5. Type a space, then type of, then type another space.

    6. From the Insert menu, select Auto Text, and then select Total Pages.

    7. Click anywhere outside of the text field to stop editing it.

    8. Click Text on the toolbar.

    9. In the section you expanded, click where you want the page number to be located. The new text field is inserted.

    10. Type any text and/or codes in the text field. The code for page number is {&PAGE}. The code for the total number of pages in the document is {&NPAGES}.