### 7.8 Working with Multi-page Charts ¶

Msc-generator supports multi-page charts. These may be useful when you want, e.g., to print a long signalling chart. For signalling charts you can manually start a new page by typing the `newpage;` command or let Msc-generator automatically paginate for you. See more in Multiple Pages. In case of graphs, each graph is laid out to a separate page. Block Diagrams have no pagination at present.

You can select on the ribbon/menu bar which page to view. This setting is also saved with embedded charts, and of course only the selected page is shown in the container document. You can also select to view all pages. When viewing all pages, Msc-generator marks page breaks with a dashed or dotted line for manual and automatic page breaks, respectively, and also prints page numbers to the left. This behaviour can be turned off in the preferences. (See Options.)

When you embed a multi-page chart (either as OLE object or via alt-text embedding) to a document, you can chose to show only one page of it. The text of the whole chart will always be saved in the embedding, so later you can easily change the page displayed. Simply select the page before copying to the clipboard (or saving an already embedded chart).

In the MFC GUI the last pane on the Home category of the ribbon governs automatic pagination. The first checkbox turns it on. The paper size can be selected in ‘`Print|Print Setup...`’, whereas margins, page alignment and scaling can be selected in Print Preview. Ticking the the second checkbox will result in a heading to be displayed for the active entities at the top of every page.

In the MFC GUI you can preview a multi-page chart before printing using the Print Preview option from the main menu. It behaves similar to Print Preview in other programs.

Here you can print or export to PDF18. You can also set Automatic Pagination and Auto Headings from here, but you can also set, how the chart pages are sized; how they are aligned within the physical pages and also what margins to apply. The former option can take Fit width and Fit page 19. In the former case the scaling factor is selected to fit the width of the chart to the page, this is perhaps the most useful selection to print long charts combined with automatic pagination. In the latter case, the scaling is set uniformly for all pages to fit the longest one. With automatic pagination this is in effect equivalent to Fit width.

#### Footnotes

##### (18)

When you export a multi-page chart from Print Preview, Msc-generator automatically exports to a multi-page PDF file. When you use the Export option from the main menu, Msc-generator asks what you want.

##### (19)

They correspond to the `-s=width` and `-s=auto` command-line options, respectively.