blob: c0260ea080101a72f920731b9ef8cecf72e99a6c [file] [log] [blame]
{ "type": "interface",
"qname": "org.apache.royale.textLayout.conversion.IHTMLImporter",
"baseInterfaceNames": [
"org.apache.royale.textLayout.conversion.ITextImporter"]
,
"description": "This interface should be implemented by converters that import HTML or HTML-structured data. Clients that have explicitly created an importer using TextConverter.getImporter may control the import process by calling into these methods on the importer.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.0", "AIR 2.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "accessor",
"access": "read-write",
"return": "Function",
"qname": "imageSourceResolveFunction",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This property allows specification of a function to modify the source property supplied to an <code>&lt;img&gt;</code> element. Sample use would be to modify relative paths to some caller specified root path. The function takes the string set in the markup and returns the actual string to be used. <p>Note that by default relative paths are relative to the loaded SWF. One use of this function is to make relative paths relative to some other location.</p> <p>The resolver function should look like this:</p> <code>function resolver(src:String):String</code> <p>It takes as an input parameter the value of src on the incoming img element, and returns the adjusted value.</p>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.0", "AIR 2.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "preserveBodyElement",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This property tells the importer to create an element for the <code>BODY</code> tag in HTML markup. <p>The element will normally be a <code>DivElement</code> with <code>typeName</code> set to <code>BODY</code>.</p> <p>This will also trigger parsing of <code>class</code> and <code>id</code> on the element.</p>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.0", "AIR 2.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "preserveHTMLElement",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This property tells the importer to create an element for the <code>HTML</code> tag in HTML markup. <p>The element will normally be the top-level <code>TextFlow</code> element with <code>typeName</code> set to <code>HTML</code>.</p> <p>This will also trigger parsing of <code>class</code> and <code>id</code> on the element.</p>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.0", "AIR 2.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}