LineListExport.h header
#include <ew/app/LineListExport.h>
Namespace ew::app
Functions
QString ew::app::voice::toLineListCsv(const ew::core::voice::VoiceScript &script, const ew::core::project::Project &project)
Renders script as a delimited line list a studio can open.
CSV because a recording session runs on a spreadsheet. The people who use this – a director, a session engineer, an actor's agent – open it in Excel or Sheets and print it, and no bespoke format survives contact with that. It reuses the escaping K1-4a extracted rather than carrying a second one, which matters because a line of dialogue is exactly the kind of text that contains commas, quotes and newlines.
Columns: line number, character, actor, line, status, take, note, source. Character AND actor both appear – the director works in character names and the studio schedules by actor, and a list carrying only one of them makes somebody cross-reference by hand.
The status column is computed, so an exported list is true at the moment it is exported rather than at the moment somebody last updated a field.