nsISelectionPrivate

IID:2d5535e2-1dd2-11b2-8e38-d53ec833adf6
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

[noscript] PRBool canCacheFrameOffset

PRBool interlinePosition


Methods

void addSelectionListener ( nsISelectionListener newListener ) void endBatchChanges ( ) [noscript] void getCachedFrameOffset ( nsIFrame frame , PRInt32 inOffset , nsPointRef point ) nsIEnumerator getEnumerator ( ) PRInt32 getTableSelectionType ( nsIDOMRange range ) void removeSelectionListener ( nsISelectionListener listenerToRemove ) [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 ( )


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 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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com