Mozilla::DOM::Range
Mozilla::DOM::Range is a wrapper around an instance of Mozilla's nsIDOMRange interface. This class inherits from Supports.
* The nsIDOMRange interface is an interface to a DOM range object. * * For more information on this interface please see * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/
The constants START_TO_START, START_TO_END, END_TO_END, and END_TO_START are available for the "how" argument to "CompareBoundaryPoints". You can export them all with use Mozilla::DOM::Range qw(:how) or export them individually.
use Mozilla::DOM::Range qw(:how)
Pass this to QueryInterface.
$toStart (boolean)
$how (integer (short))
$sourceRange (Mozilla::DOM::Range)
$newNode (Mozilla::DOM::Node)
$refNode (Mozilla::DOM::Node)
$offset (integer (long))
$newParent (Mozilla::DOM::Node)
Mozilla::DOM
Copyright (C) 2005, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.