C# Class ADBaseLibrary.Subtitles.TTML

显示文件 Open project: maxpiva/AnimeOfflineDownloader Class Usage Examples

Public Methods

Method Description
TTML ( Stream stream ) : System
TTML ( string xml ) : System
ToAss ( ) : string>.Dictionary

Private Methods

Method Description
FromStream ( Stream s ) : void
GetAssColor ( string color, string def = "&H00FFFFFF" ) : string
GetAssStyles ( ) : string>.Dictionary
GetFontSize ( Style s ) : int
ParagraphToAss ( string>.Dictionary styles, P p ) : string
ProcessParagraph ( string>.Dictionary styles, string style, string p ) : List
Serializer_UnknownElement ( object sender, XmlElementEventArgs e ) : void
Serializer_UnknownNode ( object sender, XmlNodeEventArgs e ) : void
TTML ( ) : System

Method Details

TTML() public method

public TTML ( Stream stream ) : System
stream Stream
return System

TTML() public method

public TTML ( string xml ) : System
xml string
return System

ToAss() public method

public ToAss ( ) : string>.Dictionary
return string>.Dictionary