Supporting Template Masters and Slide Layouts in TIBCO WebFOCUS App Studio-Generated Presentations

In this section:

How to:

A Slide Layout is the style applied to a slide in a Microsoft PowerPoint template or presentation created in Microsoft PowerPoint 2007 and higher. The style may consist of images, background color, text, tables, or other objects. Slide Layouts are available in the Slide Masters of PowerPoint templates. You can also create custom layouts.

By default, the first Slide Layout in the first Slide Master is applied to slides on which WebFOCUS data is displayed. With this new feature, WebFOCUS enables you to select any Slide Layout in any Slide Master in a PowerPoint template (POTX/POTM) or Presentation file (PPTX/PPTM). One Slide Layout may be applied to slides displaying the output of a standard report, while one or different Slide Layouts may be applied to each Page Layout in a PPTX formatted Compound Document. The selected Slide Layout is applied to the slide displaying WebFOCUS output.

This feature enhances the output of WebFOCUS-generated presentations, as well as the integration of WebFOCUS with Microsoft PowerPoint features.

Procedure: How to Apply a Slide Layout to an Entire Document

  1. Create a PowerPoint PPTX format document.
  2. Import a report to the Document canvas (for example, rep_ggsales.fex).
  3. On the Properties panel, select Compound Document, as shown in the following image.
  4. On the Properties panel:
    • From the Page size drop-down list, select Power Point Slide.
    • From the Page orientation drop-down list, select Landscape.
    • Click the ellipsis button next to Template name.

    The Open File dialog box opens.

  5. Navigate to the template file (for example, Title_layout.potx).

    The Title_layout.potx template is added to the Properties panel.

  6. Click the down arrow next to the Slide number property and select 2.
  7. Click the down arrow next to the Slide master property, and select TURQUOISE.
  8. Click the down arrow next to the Slide layout property, and select TITLE AND CONTENT.

    Note: You must specify both a Slide Master and a Slide Layout.

  9. Run the document and click Open to confirm that the slide layout is applied to the WebFOCUS output on slide #2, as shown in the following image.
  10. Close the output and return to the Document canvas.
  11. Click Save from the Quick Access Toolbar.
  12. In the Save As dialog box, type slides_entire_doc for the file name.
  13. Close the document.
  14. If you want to see the syntax, in the Environments tree, right-click slides_entire_doc and select Open in Text Editor.

    The syntax for the slide applied at the document level is as follows:

    SECTION=section1:
    COMPOUNT LAYOUT PCHOLD FORMAT PPTX
    UNITS=IN
    SECTION=section1, LAYOUT=ON, SLIDE-MASTER=’TURQUOISE’, SLIDE-LAYOUT=’TITLE AND CONTENT’,
    

    Note: In a Compound Document, if different Slide Layouts are applied to each Page Layout in a PPTX formatted Compound Document, the syntax is as follows:

    PAGELAYOUT=n, NAME='Page layout (n)', SLIDE-MASTER=‘slidemaster_name’,
    SLIDE-LAYOUT='layout_name’,

    For more information on the syntax for Template Masters and Slide Layouts, see the Creating Reports With WebFOCUS Language manual.

  15. Close the Text Editor.
  16. Run the document.

    The TITLE AND CONTENT Slide Layout is applied to the output on slide #2, as shown in the following image.

Learn More

For more information, see the Supporting Template Masters and Slide Layouts in App Studio-Generated Presentations in the App Studio technical content.