MagicDraw 19.0 LTR Documentation

The #forpage directive is used to:

  1. Create a new slide in an OpenOffice Presentation (ODP) or a Microsoft PowerPoint Presentation (PPTX) document.
  2. Create a new page in an RTF, an OpenDocument Text (ODT), or a Microsoft Word (DOCX) document.
  3. Create a new sheet in OpenDocument Spreadsheet (ODS) and Microsoft Excel Spreadsheet (XLSX).

The implementation of this directive is the same as that of #forrow:

#forpage($dia in $Diagram) 

The example above will create many pages each containing a Use Case element's name. The number of pages created depends on the number of Use Case elements in the $UseCase list.

In ODP and PPTX, #forpage creates a new slide.

  • No labels