class Subtitles::SSA

Defined in:

format/ssa.cr

Class Method Summary

Instance methods inherited from class Subtitles::Substation

columns : Array(String) columns, columns=(columns) columns=, content : IO content, eol : String eol, eol=(eol) eol=, to_captions(eol = "\r\n") to_captions

Constructor methods inherited from class Subtitles::Substation

new(content : IO)
new(content string : String)
new(captions : Captions, eol = "\r\n")
new(*, filepath : String)
new

Class methods inherited from class Subtitles::Substation

default_style default_style, detect(content : String)
detect(content : IO)
detect
, first_dialogue_column first_dialogue_column, first_format_column first_format_column, style_format_columns style_format_columns, styles_section_header styles_section_header

Instance methods inherited from class Subtitles::Format

content : IO content, to_captions to_captions

Class methods inherited from class Subtitles::Format

detect detect, from_extension(extension string : String) : self.class? from_extension

Class Method Detail

def self.default_style #

The default style for subtitles coming from formats without formatting options.


[View source]
def self.first_dialogue_column #

The content of the first column of a dialogue row.


[View source]
def self.first_format_column #

The content of the first column of a format row.


[View source]
def self.style_format_columns #

The column headers for the default style


[View source]
def self.styles_section_header #

The header for the Styles section. Either [V4 Styles] or [V4+ Styles]


[View source]