Podium.NotesSlide (Podium v0.3.0)

Copy Markdown View Source

Speaker notes XML generation.

Generates notesSlide XML, notes master XML, and the associated theme for the notes master (following the python-pptx pattern).

Summary

Functions

Generates the rels XML for the notes master (link to its own theme).

Returns the notes master XML (python-pptx template embedded verbatim).

Returns the notes theme XML (separate theme for notes master, per python-pptx).

Generates the XML for a notes slide with the given text.

Functions

master_rels_xml(theme_partname \\ "../theme/theme2.xml")

@spec master_rels_xml(String.t()) :: String.t()

Generates the rels XML for the notes master (link to its own theme).

master_xml()

@spec master_xml() :: String.t()

Returns the notes master XML (python-pptx template embedded verbatim).

theme_xml()

@spec theme_xml() :: String.t()

Returns the notes theme XML (separate theme for notes master, per python-pptx).

to_xml(notes_text)

@spec to_xml(String.t()) :: String.t()

Generates the XML for a notes slide with the given text.

Each line of notes_text becomes its own paragraph, so the spacing the author typed is the spacing the reader sees in the notes pane. A blank line becomes an empty paragraph rather than being dropped.