WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/content/dom-selection;1

This component implements the following interfaces:

Constants

PRInt16 nsISelectionPrivate.ENDOFPRECEDINGLINE = 0
PRInt16 nsISelectionPrivate.STARTOFNEXTLINE = 1
PRInt32 nsISelectionPrivate.TABLESELECTION_NONE = 0
PRInt32 nsISelectionPrivate.TABLESELECTION_CELL = 1
PRInt32 nsISelectionPrivate.TABLESELECTION_ROW = 2
PRInt32 nsISelectionPrivate.TABLESELECTION_COLUMN = 3
PRInt32 nsISelectionPrivate.TABLESELECTION_TABLE = 4
PRInt32 nsISelectionPrivate.TABLESELECTION_ALLCELLS = 5

Properties

PRBool nsISelectionPrivate.canCacheFrameOffset

PRBool nsISelectionPrivate.interlinePosition

Methods

InterfaceMethod
nsISelectionPrivate void addSelectionListener ( nsISelectionListener newListener )
nsISelectionPrivate void endBatchChanges ( )
nsISelectionPrivate [noscript] void getCachedFrameOffset ( nsIFrame frame , PRInt32 inOffset , nsPointRef point )
nsISelectionPrivate nsIEnumerator getEnumerator ( )
nsISelectionPrivate [noscript] nsFrameSelection* getFrameSelection ( )
nsISelectionPrivate PRInt32 getTableSelectionType ( nsIDOMRange range )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsISelectionPrivate void removeSelectionListener ( nsISelectionListener listenerToRemove )
nsISelectionPrivate [noscript] void setAncestorLimiter ( nsIContent content )
nsISelectionPrivate [noscript] void setPresShell ( nsIPresShell presShell )
nsISelectionPrivate void startBatchChanges ( )
nsISelectionPrivate PRUnichar* toStringWithFormat ( char* formatType , PRUint32 flags , PRInt32 wrapColumn )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com