The #forpage directive is used to:
- Create a new slide in an OpenOffice Presentation (ODP) or a Microsoft PowerPoint Presentation (PPTX) document.
- Create a new page in an RTF, an OpenDocument Text (ODT), or a Microsoft Word (DOCX) document.
- 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) $uc.name #endpage
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.
Related page