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.

nsISelectionPrivate

IID:b416c692-eeb8-4186-addd-c444e81b68e5
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

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

Properties

PRBool canCacheFrameOffset

PRBool interlinePosition


Methods

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

void addSelectionListener ( nsISelectionListener newListener )

Arguments:
newListener

void endBatchChanges ( )


void getCachedFrameOffset ( nsIFrame frame , PRInt32 inOffset , nsPointRef point )

Arguments:
frame
inOffset
point

nsIEnumerator getEnumerator ( )


nsFrameSelection* getFrameSelection ( )


PRInt32 getTableSelectionType ( nsIDOMRange range )

Test if supplied range points to a single table element: Result is one of above constants. "None" means a table element isn't selected.

Arguments:
range

void removeSelectionListener ( nsISelectionListener listenerToRemove )

Arguments:
listenerToRemove

void setAncestorLimiter ( nsIContent content )

Arguments:
content

void setPresShell ( nsIPresShell presShell )

Arguments:
presShell

void startBatchChanges ( )


PRUnichar* toStringWithFormat ( char* formatType , PRUint32 flags , PRInt32 wrapColumn )

Arguments:
formatType
flags
wrapColumn

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com