Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(3225ca54-d7e1-4ff5-8ee9-091b0bfcda1f)]
interface nsISelectionPrivate : nsISupports

Constants


        
const short ENDOFPRECEDINGLINE = 0

        
const short STARTOFNEXTLINE = 1

        
const long TABLESELECTION_NONE = 0

        
const long TABLESELECTION_CELL = 1

        
const long TABLESELECTION_ROW = 2

        
const long TABLESELECTION_COLUMN = 3

        
const long TABLESELECTION_TABLE = 4

        
const long TABLESELECTION_ALLCELLS = 5

Attributes


        
[noscript] attribute boolean canCacheFrameOffset

        
attribute boolean interlinePosition

Methods


        
void addSelectionListener(in nsISelectionListener newListener)

        
void endBatchChanges()

        
[noscript] void getCachedFrameOffset(in nsIFrame aFrame, in PRInt32 inOffset, in nsPointRef aPoint)

        
nsIEnumerator getEnumerator()

        
[noscript] nsIFrameSelection getFrameSelection()
 Test if supplied range points to a single table element:
    Result is one of above constants. "None" means
    a table element isn't selected.
long getTableSelectionType(in nsIDOMRange range)

        
void removeSelectionListener(in nsISelectionListener listenerToRemove)

        
[noscript] void setPresShell(in nsIPresShell aPresShell)

        
void startBatchChanges()

        
wstring toStringWithFormat(in string formatType, in unsigned long flags, in PRInt32 wrapColumn)