[scriptable, uuid(98552206-ad7a-4d2d-8ce3-b6fa2389298b)]
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] nsFrameSelection 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 setAncestorLimiter(in nsIContent aContent)

          
[noscript] void setPresShell(in nsIPresShell aPresShell)
 Set the painting style for the range. The range must be a range in
 the selection. The textRangeStyle will be used by text frame
 when it is painting the selection.
[noscript] void setTextRangeStyle(in nsIDOMRange range, in constTextRangeStyleRef textRangeStyle)

          
void startBatchChanges()

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