Scott Lanning > Mozilla-DOM > Mozilla::DOM::NSHTMLDocument

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::NSHTMLDocument

Mozilla::DOM::NSHTMLDocument is a wrapper around an instance of Mozilla's nsIDOMNSHTMLDocument interface. This class inherits from Supports.

CLASS METHODS ^

$iid = Mozilla::DOM::NSHTMLDocument->GetIID()

Pass this to QueryInterface.

METHODS ^

$alinkcolor = $nshtmldocument->GetAlinkColor()

Output:

$alinkcolor (string)

$nshtmldocument->SetAlinkColor($alinkcolor)

Input:

$aAlinkColor (string)

$bgcolor = $nshtmldocument->GetBgColor()

Output:

$bgcolor (string)

$nshtmldocument->SetBgColor($bgcolor)

Input:

$aBgColor (string)

$compatmode = $nshtmldocument->GetCompatMode()

$domain = $nshtmldocument->GetDomain()

Output:

$domain (string)

$nshtmldocument->SetDomain($domain)

Input:

$aDomain (string)

$embeds = $nshtmldocument->GetEmbeds()

Output:

$embeds (Mozilla::DOM::HTMLCollection)

In list context, returns a list of whatever $embeds->Item($n) returns (no idea).

$fgcolor = $nshtmldocument->GetFgColor()

Output:

$fgcolor (string)

$nshtmldocument->SetFgColor($fgcolor)

Input:

$aFgColor (string)

$height = $nshtmldocument->GetHeight()

Output:

$height (int)

$linkcolor = $nshtmldocument->GetLinkColor()

Output:

$linkcolor (string)

$nshtmldocument->SetLinkColor($linkcolor)

Input:

$aLinkColor (string)

$retval = $nshtmldocument->GetSelection()

Output:

$retval (string)

$width = $nshtmldocument->GetWidth()

Output:

$width (int)

$vlinkcolor = $nshtmldocument->GetVlinkColor()

Output:

$vlinkcolor (string)

$nshtmldocument->SetVlinkColor($vlinkcolor)

Input:

$aVlinkColor (string)

$nshtmldocument->Clear()

$nshtmldocument->CaptureEvents($eventflags)

Input:

$eventFlags (int)

$bool = $nshtmldocument->ExecCommand($commandid, $doshowui, $value)

Input:

$commandID (string)
$doShowUI (bool)
$value (string)

Output:

$bool (bool)

$bool = $nshtmldocument->ExecCommandShowHelp($commandid)

Input:

$commandID (string)

Output:

$bool (bool)

$retval = $nshtmldocument->Open()

Output:

$retval (Mozilla::DOM::Document)

$bool = $nshtmldocument->QueryCommandEnabled($commandid)

Input:

$commandID (string)

Output:

$bool (bool)

$bool = $nshtmldocument->QueryCommandIndeterm($commandid)

Input:

$commandID (string)

Output:

$bool (bool)

$bool = $nshtmldocument->QueryCommandState($commandid)

Input:

$commandID (string)

Output:

$bool (bool)

$bool = $nshtmldocument->QueryCommandSupported($commandid)

Input:

$commandID (string)

Output:

$bool (bool)

$retval = $nshtmldocument->QueryCommandText($commandid)

Input:

$commandID (string)

Output:

$retval (string)

$retval = $nshtmldocument->QueryCommandValue($commandid)

Input:

$commandID (string)

Output:

$retval (string)

$nshtmldocument->ReleaseEvents($eventflags)

Input:

$eventFlags (int)

$nshtmldocument->RouteEvent($evt)

Input:

$evt (Mozilla::DOM::Event)

$nshtmldocument->Write()

XXX: I'm not sure if this actually works

$nshtmldocument->Writeln()

XXX: I'm not sure if this actually works

Output:

$compatmode (string)

$designmode = $nshtmldocument->GetDesignMode()

Output:

$designmode (string)

$nshtmldocument->SetDesignMode($designmode)

Input:

$aDesignMode (string)

$plugins = $nshtmldocument->GetPlugins()

Output:

$plugins (Mozilla::DOM::HTMLCollection)

In list context, returns a list of whatever $plugins->Item($n) returns (no idea).

SEE ALSO ^

Mozilla::DOM

COPYRIGHT ^

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.

syntax highlighting: