Interface ReadWordTranscriptOptions

What readWordTranscript needs from its caller.

interface ReadWordTranscriptOptions {
    extractRawText: ExtractRawText;
    layout?: "otter" | "lines";
}

Properties

extractRawText: ExtractRawText

Takes the text out of a Word file.

layout?: "otter" | "lines"

How the file's text is laid out, for a caller that knows where the file came from: otter reads it by Otter's headers, lines by the Name: words rule. Left out, the text is read by Otter's headers when it is laid out as Otter's export, and as plain lines otherwise.