nsIPluginTagInfo2

IID:6a49c9a0-019b-11d2-815b-006008119d7a
Inherits From:nsIPluginTagInfo

Properties

readonly PRUint32 borderHorizSpace

Get border horizontal space

readonly PRUint32 borderVertSpace

Get border vertical space

readonly nsIDOMElement DOMElement

Returns the DOM element corresponding to the tag which references this plugin in the document.

readonly PRUint32 height

Get object height

readonly nsPluginTagType tagType

Get the type of the HTML tag that was used ot instantiate this plugin. Currently supported tags are EMBED, OBJECT and APPLET.

readonly PRUint32 uniqueID

Returns a unique id for the current document containing plugin

readonly PRUint32 width

Get object width


Methods

void getAlignment ( out constCharPtr* elignment ) void getDocumentBase ( out constCharPtr* documentBase ) void getDocumentEncoding ( out constCharPtr* documentEncoding ) void getParameter ( char* name , out constCharPtr* result ) void getParameters ( PRUint16Ref count , constCharStarConstStar names , constCharStarConstStar values ) void getTagText ( out constCharPtr* tagText )

void getAlignment ( out constCharPtr* elignment )

Get object alignment

Arguments:
elignment

void getDocumentBase ( out constCharPtr* documentBase )

Get the document base

Arguments:
documentBase

void getDocumentEncoding ( out constCharPtr* documentEncoding )

Return an encoding whose name is specified in: http://java.sun.com/products/jdk/1.1/docs/guide/intl/intl.doc.html#25303

Arguments:
documentEncoding

void getParameter ( char* name , out constCharPtr* result )

Get the value for the named parameter. Returns null if the parameter was not set.

Arguments:
name: - name of the parameter
result: - parameter value

void getParameters ( PRUint16Ref count , constCharStarConstStar names , constCharStarConstStar values )

Get a ptr to the paired list of parameter names and values, returns the length of the array.

Each name or value is a null-terminated string.

Arguments:
count
names
values

void getTagText ( out constCharPtr* tagText )

Get the complete text of the HTML tag that was used to instantiate this plugin.

Arguments:
tagText

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com