Implemented by
[scriptable, uuid(b416c692-eeb8-4186-addd-c444e81b68e5)]
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)
void
startBatchChanges()
wstring
toStringWithFormat(in string formatType, in unsigned long flags, in PRInt32 wrapColumn)
Compare to: