Skip to content

ScriptOptions ​

php
final readonly class PPTXenigma\ScriptOptions

The settings of a script. The object is immutable: use the named arguments to change a setting.

new ScriptOptions(layout: Layout::ReferenceInline, showSlides: false);

Source: src/ScriptOptions.php

Methods ​

__construct() ​

php
public function __construct(Layout $layout = Layout::ReferenceAbove, Emphasis $emphasis = Emphasis::Marks, bool $showSlides = true, bool $showCounts = true)
ParameterDescription
$layoutwhere the reference of a voice-over is written
$emphasishow the styles are written in the text (the HTML and the PDF keep them)
$showSlideswrite the slide that each voice-over comes from
$showCountswrite the number of voice-overs and of words under the title

Documentation of 1.0.0 , built from 5dd2e99 on 1.0.0 by pipeline #37507528046 on 2026-10-06.