| Method | Defined By | ||
|---|---|---|---|
| CaptionUtils | |||
[static]
Returns the CaptionFormat object for a DFXP CaptionElement. | CaptionUtils | ||
textFormatForDFXPCaption(caption:Caption = null, formatIndex:int = -1):TextFormat [static]
Returns the TextFormat object for the caption text of a DFXP CaptionElement. | CaptionUtils | ||
textFormatForSMPTETTCaption(element:CaptionElement):TextFormat [static]
Returns the TextFormat object for the caption text of a SMPTETT CaptionElement. | CaptionUtils | ||
textForSMPTETTCaption(element:CaptionElement):String [static]
Retrieves the text from a SMPTETT CaptionElement. | CaptionUtils | ||
| CaptionUtils | () | Constructor |
public function CaptionUtils()| captionFormatForDFXPCaption | () | method |
public static function captionFormatForDFXPCaption(caption:Caption = null, index:int = -1):CaptionFormatReturns the CaptionFormat object for a DFXP CaptionElement. If null, it creates a new format with a default CaptionStyle at that index.
Parameters
caption:Caption (default = null) | |
index:int (default = -1) |
CaptionFormat |
| textFormatForDFXPCaption | () | method |
public static function textFormatForDFXPCaption(caption:Caption = null, formatIndex:int = -1):TextFormatReturns the TextFormat object for the caption text of a DFXP CaptionElement.
Parameters
caption:Caption (default = null) | |
formatIndex:int (default = -1) |
TextFormat |
| textFormatForSMPTETTCaption | () | method |
public static function textFormatForSMPTETTCaption(element:CaptionElement):TextFormatReturns the TextFormat object for the caption text of a SMPTETT CaptionElement.
Parameters
element:CaptionElement |
TextFormat |
| textForSMPTETTCaption | () | method |
public static function textForSMPTETTCaption(element:CaptionElement):StringRetrieves the text from a SMPTETT CaptionElement. Checks for two types of sub-elements. TimedTextElementType.Text and TimedTextElementType.SupParagraphGroupElement
Parameters
element:CaptionElement |
String |