![]() Source string, an XML object, or any user defined data formats to a TextFlow. Public static function getImporter(format: String, config: IConfiguration = null): :ITextImporterĬreates and returns an import converter, which you can then use to import from a ![]() Object - ObjectĞxported form of the TextFlow, or null on errors Source: :TextFlow - Source contentĬonversionType: String - Type of exported data Returns a representation of the TextFlow in the specified format, or null on errors. With one of the static constants supplied by the ConversionType class, or a user defined Specify the type of the exported data in the conversionType parameter Or a user defined format for user defined exporters to specify Use one of the static constants supplied with this class, a MIME type, Public static function export(source: :TextFlow, format: String, conversionType: String): ObjectĮxports a TextFlow to a specified format. ![]() Make this null if the format doesn't support clipboard access. ImporterClass: Class - The format string tagging the converter classesĮxporterClass: Class (default = null) - The string used as the clipboard format when converting to/from the clipboard. Index: int - The import converter class to register or nullįormat: String - The export converter class to register or null Lower numbers indicate higher priority these converters will be tried first. Location can be significant for clients that have multiple Register a new format for import/export, at the specified location. Public static function addFormatAt(index: int, format: String, importerClass: Class, exporterClass: Class = null, clipboardFormat: String = null): void Formats can be any name, but must be unique.ĬlipboardFormat: String - The string used as the clipboard format when converting to/from the clipboard. ImporterClass: Class - The export converter class to register or nullĮxporterClass: Class - The format string tagging the converter classes. Theįormat: String - The import converter class to register or null If the format has already been added, then it will be present in multiple locations. The new format may support importing and/or exporting. Location can be significant for clients that have multipleĬhoices for which format to use, such as when importing from the external clipboard. The new format will be added at the end,Īs the lowest priority. Public static function addFormat(format: String, importerClass: Class, exporterClass: Class, clipboardFormat: String): void
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |