Appearance
ScriptOptions
php
final readonly class PPTXenigma\ScriptOptionsThe 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)| Parameter | Description |
|---|---|
$layout | where the reference of a voice-over is written |
$emphasis | how the styles are written in the text (the HTML and the PDF keep them) |
$showSlides | write the slide that each voice-over comes from |
$showCounts | write the number of voice-overs and of words under the title |