Package | impression.utilities |
Class | public class RTFConverter |
Inheritance | RTFConverter ![]() |
Method | Defined By | ||
---|---|---|---|
Creates a new instance of the RTFConverter class. | RTFConverter | ||
clearStyle(style:String):void
Deletes a style property. | RTFConverter | ||
convertRTF(source:String):String
Converts an RTF string into a Flash-conformant HTML string. | RTFConverter | ||
getStyle(style:String):Object
Retrieves a style property. | RTFConverter | ||
getStyleDefinition():Object [static]
Retrieves the default style map for the node. | RTFConverter | ||
setStyle(style:String, value:Object):void
Sets a style property. | RTFConverter |
RTFConverter | () | Constructor |
public function RTFConverter()
Creates a new instance of the RTFConverter class.
clearStyle | () | method |
public function clearStyle(style:String):void
Deletes a style property.
Parameters
style:String — The name of the style property.
|
See also
convertRTF | () | method |
public function convertRTF(source:String):String
Converts an RTF string into a Flash-conformant HTML string.
Parameters
source:String — An RTF string to convert.
|
String — A Flash-conformant HTML string containing the converted RTF from source .
|
getStyle | () | method |
public function getStyle(style:String):Object
Retrieves a style property.
Parameters
style:String — The name of the style property.
|
Object — Style value.
|
See also
getStyleDefinition | () | method |
public static function getStyleDefinition():Object
Retrieves the default style map for the node.
ReturnsObject — Default styles object.
|
See also
setStyle | () | method |
public function setStyle(style:String, value:Object):void
Sets a style property.
Parameters
style:String — The name of the style property.
| |
value:Object — The value of the style.
|
See also