webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::Range Class Reference

#include <Range.h>

Inheritance diagram for WebCore::Range:
WTF::RefCounted< Range > WTF::RefCounted< Range > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  CompareResults {
  NODE_BEFORE, NODE_AFTER, NODE_BEFORE_AND_AFTER, NODE_INSIDE,
  NODE_BEFORE, NODE_AFTER, NODE_BEFORE_AND_AFTER, NODE_INSIDE
}
 
enum  CompareHow {
  START_TO_START, START_TO_END, END_TO_END, END_TO_START,
  START_TO_START, START_TO_END, END_TO_END, END_TO_START
}
 
enum  RangeInFixedPosition {
  NotFixedPosition, PartiallyFixedPosition, EntirelyFixedPosition, NotFixedPosition,
  PartiallyFixedPosition, EntirelyFixedPosition
}
 
enum  ActionType {
  Delete, Extract, Clone, Delete,
  Extract, Clone
}
 
enum  CompareResults {
  NODE_BEFORE, NODE_AFTER, NODE_BEFORE_AND_AFTER, NODE_INSIDE,
  NODE_BEFORE, NODE_AFTER, NODE_BEFORE_AND_AFTER, NODE_INSIDE
}
 
enum  CompareHow {
  START_TO_START, START_TO_END, END_TO_END, END_TO_START,
  START_TO_START, START_TO_END, END_TO_END, END_TO_START
}
 
enum  RangeInFixedPosition {
  NotFixedPosition, PartiallyFixedPosition, EntirelyFixedPosition, NotFixedPosition,
  PartiallyFixedPosition, EntirelyFixedPosition
}
 
enum  ActionType {
  Delete, Extract, Clone, Delete,
  Extract, Clone
}
 

Public Member Functions

WEBCORE_EXPORT ~Range ()
 
DocumentownerDocument () const
 
NodestartContainer () const
 
unsigned startOffset () const
 
NodeendContainer () const
 
unsigned endOffset () const
 
bool collapsed () const
 
NodecommonAncestorContainer () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStart (Ref< Node > &&container, unsigned offset)
 
WEBCORE_EXPORT ExceptionOr< voidsetEnd (Ref< Node > &&container, unsigned offset)
 
WEBCORE_EXPORT void collapse (bool toStart)
 
WEBCORE_EXPORT ExceptionOr< bool > isPointInRange (Node &refNode, unsigned offset)
 
WEBCORE_EXPORT ExceptionOr< short > comparePoint (Node &refNode, unsigned offset) const
 
WEBCORE_EXPORT ExceptionOr< CompareResultscompareNode (Node &refNode) const
 
WEBCORE_EXPORT ExceptionOr< short > compareBoundaryPoints (CompareHow, const Range &sourceRange) const
 
WEBCORE_EXPORT ExceptionOr< short > compareBoundaryPointsForBindings (unsigned short compareHow, const Range &sourceRange) const
 
WEBCORE_EXPORT bool boundaryPointsValid () const
 
WEBCORE_EXPORT ExceptionOr< bool > intersectsNode (Node &refNode) const
 
WEBCORE_EXPORT ExceptionOr< voiddeleteContents ()
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > extractContents ()
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > cloneContents ()
 
WEBCORE_EXPORT ExceptionOr< voidinsertNode (Ref< Node > &&)
 
WEBCORE_EXPORT String toString () const
 
String toHTML () const
 
WEBCORE_EXPORT String text () const
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > createContextualFragment (const String &html)
 
WEBCORE_EXPORT void detach ()
 
WEBCORE_EXPORT Ref< RangecloneRange () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStartAfter (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEndBefore (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEndAfter (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidselectNode (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidselectNodeContents (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsurroundContents (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetStartBefore (Node &)
 
const Position startPosition () const
 
const Position endPosition () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStart (const Position &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEnd (const Position &)
 
WEBCORE_EXPORT NodefirstNode () const
 
WEBCORE_EXPORT NodepastLastNode () const
 
ShadowRootshadowRoot () const
 
WEBCORE_EXPORT void absoluteTextRects (Vector< IntRect > &, bool useSelectionHeight=false, RangeInFixedPosition *=nullptr) const
 
WEBCORE_EXPORT IntRect absoluteBoundingBox () const
 
WEBCORE_EXPORT void absoluteTextQuads (Vector< FloatQuad > &, bool useSelectionHeight=false, RangeInFixedPosition *=nullptr) const
 
WEBCORE_EXPORT FloatRect absoluteBoundingRect () const
 
void nodeChildrenChanged (ContainerNode &)
 
void nodeChildrenWillBeRemoved (ContainerNode &)
 
void nodeWillBeRemoved (Node &)
 
void textInserted (Node *, unsigned offset, unsigned length)
 
void textRemoved (Node *, unsigned offset, unsigned length)
 
void textNodesMerged (NodeWithIndex &oldNode, unsigned offset)
 
void textNodeSplit (Text *oldNode)
 
WEBCORE_EXPORT ExceptionOr< voidexpand (const String &)
 
Ref< ClientRectListgetClientRects () const
 
Ref< ClientRectgetBoundingClientRect () const
 
WEBCORE_EXPORT bool contains (const Range &) const
 
bool contains (const VisiblePosition &) const
 
WEBCORE_EXPORT ~Range ()
 
DocumentownerDocument () const
 
NodestartContainer () const
 
unsigned startOffset () const
 
NodeendContainer () const
 
unsigned endOffset () const
 
bool collapsed () const
 
NodecommonAncestorContainer () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStart (Ref< Node > &&container, unsigned offset)
 
WEBCORE_EXPORT ExceptionOr< voidsetEnd (Ref< Node > &&container, unsigned offset)
 
WEBCORE_EXPORT void collapse (bool toStart)
 
WEBCORE_EXPORT ExceptionOr< bool > isPointInRange (Node &refNode, unsigned offset)
 
WEBCORE_EXPORT ExceptionOr< short > comparePoint (Node &refNode, unsigned offset) const
 
WEBCORE_EXPORT ExceptionOr< CompareResultscompareNode (Node &refNode) const
 
WEBCORE_EXPORT ExceptionOr< short > compareBoundaryPoints (CompareHow, const Range &sourceRange) const
 
WEBCORE_EXPORT ExceptionOr< short > compareBoundaryPointsForBindings (unsigned short compareHow, const Range &sourceRange) const
 
WEBCORE_EXPORT bool boundaryPointsValid () const
 
WEBCORE_EXPORT ExceptionOr< bool > intersectsNode (Node &refNode) const
 
WEBCORE_EXPORT ExceptionOr< voiddeleteContents ()
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > extractContents ()
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > cloneContents ()
 
WEBCORE_EXPORT ExceptionOr< voidinsertNode (Ref< Node > &&)
 
WEBCORE_EXPORT String toString () const
 
String toHTML () const
 
WEBCORE_EXPORT String text () const
 
WEBCORE_EXPORT ExceptionOr< Ref< DocumentFragment > > createContextualFragment (const String &html)
 
WEBCORE_EXPORT void detach ()
 
WEBCORE_EXPORT Ref< RangecloneRange () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStartAfter (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEndBefore (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEndAfter (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidselectNode (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidselectNodeContents (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsurroundContents (Node &)
 
WEBCORE_EXPORT ExceptionOr< voidsetStartBefore (Node &)
 
const Position startPosition () const
 
const Position endPosition () const
 
WEBCORE_EXPORT ExceptionOr< voidsetStart (const Position &)
 
WEBCORE_EXPORT ExceptionOr< voidsetEnd (const Position &)
 
WEBCORE_EXPORT NodefirstNode () const
 
WEBCORE_EXPORT NodepastLastNode () const
 
ShadowRootshadowRoot () const
 
WEBCORE_EXPORT void absoluteTextRects (Vector< IntRect > &, bool useSelectionHeight=false, RangeInFixedPosition *=nullptr) const
 
WEBCORE_EXPORT IntRect absoluteBoundingBox () const
 
WEBCORE_EXPORT void absoluteTextQuads (Vector< FloatQuad > &, bool useSelectionHeight=false, RangeInFixedPosition *=nullptr) const
 
WEBCORE_EXPORT FloatRect absoluteBoundingRect () const
 
void nodeChildrenChanged (ContainerNode &)
 
void nodeChildrenWillBeRemoved (ContainerNode &)
 
void nodeWillBeRemoved (Node &)
 
void textInserted (Node *, unsigned offset, unsigned length)
 
void textRemoved (Node *, unsigned offset, unsigned length)
 
void textNodesMerged (NodeWithIndex &oldNode, unsigned offset)
 
void textNodeSplit (Text *oldNode)
 
WEBCORE_EXPORT ExceptionOr< voidexpand (const String &)
 
Ref< ClientRectListgetClientRects () const
 
Ref< ClientRectgetBoundingClientRect () const
 
WEBCORE_EXPORT bool contains (const Range &) const
 
bool contains (const VisiblePosition &) const
 
- Public Member Functions inherited from WTF::RefCounted< Range >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static WEBCORE_EXPORT Ref< Rangecreate (Document &)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, RefPtr< Node > &&startContainer, int startOffset, RefPtr< Node > &&endContainer, int endOffset)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, const Position &, const Position &)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, const VisiblePosition &, const VisiblePosition &)
 
static WEBCORE_EXPORT NodecommonAncestorContainer (Node *containerA, Node *containerB)
 
static ExceptionOr< short > compareBoundaryPoints (Node *containerA, unsigned offsetA, Node *containerB, unsigned offsetB)
 
static ExceptionOr< short > compareBoundaryPoints (const RangeBoundaryPoint &boundaryA, const RangeBoundaryPoint &boundaryB)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, RefPtr< Node > &&startContainer, int startOffset, RefPtr< Node > &&endContainer, int endOffset)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, const Position &, const Position &)
 
static WEBCORE_EXPORT Ref< Rangecreate (Document &, const VisiblePosition &, const VisiblePosition &)
 
static WEBCORE_EXPORT NodecommonAncestorContainer (Node *containerA, Node *containerB)
 
static ExceptionOr< short > compareBoundaryPoints (Node *containerA, unsigned offsetA, Node *containerB, unsigned offsetB)
 
static ExceptionOr< short > compareBoundaryPoints (const RangeBoundaryPoint &boundaryA, const RangeBoundaryPoint &boundaryB)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< Range >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ ActionType [1/2]

Enumerator
Delete 
Extract 
Clone 
Delete 
Extract 
Clone 

◆ ActionType [2/2]

Enumerator
Delete 
Extract 
Clone 
Delete 
Extract 
Clone 

◆ CompareHow [1/2]

Enumerator
START_TO_START 
START_TO_END 
END_TO_END 
END_TO_START 
START_TO_START 
START_TO_END 
END_TO_END 
END_TO_START 

◆ CompareHow [2/2]

Enumerator
START_TO_START 
START_TO_END 
END_TO_END 
END_TO_START 
START_TO_START 
START_TO_END 
END_TO_END 
END_TO_START 

◆ CompareResults [1/2]

Enumerator
NODE_BEFORE 
NODE_AFTER 
NODE_BEFORE_AND_AFTER 
NODE_INSIDE 
NODE_BEFORE 
NODE_AFTER 
NODE_BEFORE_AND_AFTER 
NODE_INSIDE 

◆ CompareResults [2/2]

Enumerator
NODE_BEFORE 
NODE_AFTER 
NODE_BEFORE_AND_AFTER 
NODE_INSIDE 
NODE_BEFORE 
NODE_AFTER 
NODE_BEFORE_AND_AFTER 
NODE_INSIDE 

◆ RangeInFixedPosition [1/2]

Enumerator
NotFixedPosition 
PartiallyFixedPosition 
EntirelyFixedPosition 
NotFixedPosition 
PartiallyFixedPosition 
EntirelyFixedPosition 

◆ RangeInFixedPosition [2/2]

Enumerator
NotFixedPosition 
PartiallyFixedPosition 
EntirelyFixedPosition 
NotFixedPosition 
PartiallyFixedPosition 
EntirelyFixedPosition 

Constructor & Destructor Documentation

◆ ~Range() [1/2]

Range::~Range ( )

◆ ~Range() [2/2]

WEBCORE_EXPORT WebCore::Range::~Range ( )

Member Function Documentation

◆ absoluteBoundingBox() [1/2]

IntRect Range::absoluteBoundingBox ( ) const

◆ absoluteBoundingBox() [2/2]

WEBCORE_EXPORT IntRect WebCore::Range::absoluteBoundingBox ( ) const

◆ absoluteBoundingRect() [1/2]

FloatRect Range::absoluteBoundingRect ( ) const

◆ absoluteBoundingRect() [2/2]

WEBCORE_EXPORT FloatRect WebCore::Range::absoluteBoundingRect ( ) const

◆ absoluteTextQuads() [1/2]

void Range::absoluteTextQuads ( Vector< FloatQuad > &  quads,
bool  useSelectionHeight = false,
RangeInFixedPosition inFixed = nullptr 
) const

◆ absoluteTextQuads() [2/2]

WEBCORE_EXPORT void WebCore::Range::absoluteTextQuads ( Vector< FloatQuad > &  ,
bool  useSelectionHeight = false,
RangeInFixedPosition = nullptr 
) const

◆ absoluteTextRects() [1/2]

void Range::absoluteTextRects ( Vector< IntRect > &  rects,
bool  useSelectionHeight = false,
RangeInFixedPosition inFixed = nullptr 
) const

◆ absoluteTextRects() [2/2]

WEBCORE_EXPORT void WebCore::Range::absoluteTextRects ( Vector< IntRect > &  ,
bool  useSelectionHeight = false,
RangeInFixedPosition = nullptr 
) const

◆ boundaryPointsValid() [1/2]

WEBCORE_EXPORT bool WebCore::Range::boundaryPointsValid ( ) const

◆ boundaryPointsValid() [2/2]

bool Range::boundaryPointsValid ( ) const

◆ cloneContents() [1/2]

WEBCORE_EXPORT ExceptionOr<Ref<DocumentFragment> > WebCore::Range::cloneContents ( )

◆ cloneContents() [2/2]

ExceptionOr< Ref< DocumentFragment > > Range::cloneContents ( )

◆ cloneRange() [1/2]

Ref< Range > Range::cloneRange ( ) const

◆ cloneRange() [2/2]

WEBCORE_EXPORT Ref<Range> WebCore::Range::cloneRange ( ) const

◆ collapse() [1/2]

void Range::collapse ( bool  toStart)

◆ collapse() [2/2]

WEBCORE_EXPORT void WebCore::Range::collapse ( bool  toStart)

◆ collapsed() [1/2]

bool WebCore::Range::collapsed ( ) const
inline

◆ collapsed() [2/2]

bool WebCore::Range::collapsed ( ) const
inline

◆ commonAncestorContainer() [1/4]

Node* WebCore::Range::commonAncestorContainer ( ) const
inline

◆ commonAncestorContainer() [2/4]

Node* WebCore::Range::commonAncestorContainer ( ) const
inline

◆ commonAncestorContainer() [3/4]

static WEBCORE_EXPORT Node* WebCore::Range::commonAncestorContainer ( Node containerA,
Node containerB 
)
static

◆ commonAncestorContainer() [4/4]

Node * Range::commonAncestorContainer ( Node containerA,
Node containerB 
)
static

◆ compareBoundaryPoints() [1/6]

ExceptionOr< short > Range::compareBoundaryPoints ( CompareHow  how,
const Range sourceRange 
) const

◆ compareBoundaryPoints() [2/6]

WEBCORE_EXPORT ExceptionOr<short> WebCore::Range::compareBoundaryPoints ( CompareHow  ,
const Range sourceRange 
) const

◆ compareBoundaryPoints() [3/6]

static ExceptionOr<short> WebCore::Range::compareBoundaryPoints ( Node containerA,
unsigned  offsetA,
Node containerB,
unsigned  offsetB 
)
static

◆ compareBoundaryPoints() [4/6]

ExceptionOr< short > Range::compareBoundaryPoints ( Node containerA,
unsigned  offsetA,
Node containerB,
unsigned  offsetB 
)
static

◆ compareBoundaryPoints() [5/6]

static ExceptionOr<short> WebCore::Range::compareBoundaryPoints ( const RangeBoundaryPoint boundaryA,
const RangeBoundaryPoint boundaryB 
)
static

◆ compareBoundaryPoints() [6/6]

ExceptionOr< short > Range::compareBoundaryPoints ( const RangeBoundaryPoint boundaryA,
const RangeBoundaryPoint boundaryB 
)
static

◆ compareBoundaryPointsForBindings() [1/2]

ExceptionOr< short > Range::compareBoundaryPointsForBindings ( unsigned short  compareHow,
const Range sourceRange 
) const

◆ compareBoundaryPointsForBindings() [2/2]

WEBCORE_EXPORT ExceptionOr<short> WebCore::Range::compareBoundaryPointsForBindings ( unsigned short  compareHow,
const Range sourceRange 
) const

◆ compareNode() [1/2]

ExceptionOr< Range::CompareResults > Range::compareNode ( Node refNode) const

◆ compareNode() [2/2]

WEBCORE_EXPORT ExceptionOr<CompareResults> WebCore::Range::compareNode ( Node refNode) const

◆ comparePoint() [1/2]

ExceptionOr< short > Range::comparePoint ( Node refNode,
unsigned  offset 
) const

◆ comparePoint() [2/2]

WEBCORE_EXPORT ExceptionOr<short> WebCore::Range::comparePoint ( Node refNode,
unsigned  offset 
) const

◆ contains() [1/4]

bool Range::contains ( const Range other) const

◆ contains() [2/4]

WEBCORE_EXPORT bool WebCore::Range::contains ( const Range ) const

◆ contains() [3/4]

bool Range::contains ( const VisiblePosition position) const

◆ contains() [4/4]

bool WebCore::Range::contains ( const VisiblePosition ) const

◆ create() [1/8]

static WEBCORE_EXPORT Ref<Range> WebCore::Range::create ( Document )
static

◆ create() [2/8]

Ref< Range > Range::create ( Document ownerDocument)
static

◆ create() [3/8]

static WEBCORE_EXPORT Ref<Range> WebCore::Range::create ( Document ,
RefPtr< Node > &&  startContainer,
int  startOffset,
RefPtr< Node > &&  endContainer,
int  endOffset 
)
static

◆ create() [4/8]

Ref< Range > Range::create ( Document ownerDocument,
RefPtr< Node > &&  startContainer,
int  startOffset,
RefPtr< Node > &&  endContainer,
int  endOffset 
)
static

◆ create() [5/8]

static WEBCORE_EXPORT Ref<Range> WebCore::Range::create ( Document ,
const Position ,
const Position  
)
static

◆ create() [6/8]

Ref< Range > Range::create ( Document ownerDocument,
const Position start,
const Position end 
)
static

◆ create() [7/8]

Ref< Range > Range::create ( Document ownerDocument,
const VisiblePosition visibleStart,
const VisiblePosition visibleEnd 
)
static

◆ create() [8/8]

static WEBCORE_EXPORT Ref<Range> WebCore::Range::create ( Document ,
const VisiblePosition ,
const VisiblePosition  
)
static

◆ createContextualFragment() [1/2]

ExceptionOr< Ref< DocumentFragment > > Range::createContextualFragment ( const String html)

◆ createContextualFragment() [2/2]

WEBCORE_EXPORT ExceptionOr<Ref<DocumentFragment> > WebCore::Range::createContextualFragment ( const String html)

◆ deleteContents() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::deleteContents ( )

◆ deleteContents() [2/2]

ExceptionOr< void > Range::deleteContents ( )

◆ detach() [1/2]

void Range::detach ( )

◆ detach() [2/2]

WEBCORE_EXPORT void WebCore::Range::detach ( )

◆ endContainer() [1/2]

Node& WebCore::Range::endContainer ( ) const
inline

◆ endContainer() [2/2]

Node& WebCore::Range::endContainer ( ) const
inline

◆ endOffset() [1/2]

unsigned WebCore::Range::endOffset ( ) const
inline

◆ endOffset() [2/2]

unsigned WebCore::Range::endOffset ( ) const
inline

◆ endPosition() [1/2]

const Position WebCore::Range::endPosition ( ) const
inline

◆ endPosition() [2/2]

const Position WebCore::Range::endPosition ( ) const
inline

◆ expand() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::expand ( const String )

◆ expand() [2/2]

ExceptionOr< void > Range::expand ( const String unit)

◆ extractContents() [1/2]

WEBCORE_EXPORT ExceptionOr<Ref<DocumentFragment> > WebCore::Range::extractContents ( )

◆ extractContents() [2/2]

ExceptionOr< Ref< DocumentFragment > > Range::extractContents ( )

◆ firstNode() [1/2]

Node * Range::firstNode ( ) const

◆ firstNode() [2/2]

WEBCORE_EXPORT Node* WebCore::Range::firstNode ( ) const

◆ getBoundingClientRect() [1/2]

Ref<ClientRect> WebCore::Range::getBoundingClientRect ( ) const

◆ getBoundingClientRect() [2/2]

Ref< ClientRect > Range::getBoundingClientRect ( ) const

◆ getClientRects() [1/2]

Ref<ClientRectList> WebCore::Range::getClientRects ( ) const

◆ getClientRects() [2/2]

Ref< ClientRectList > Range::getClientRects ( ) const

◆ insertNode() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::insertNode ( Ref< Node > &&  )

◆ insertNode() [2/2]

ExceptionOr< void > Range::insertNode ( Ref< Node > &&  node)

◆ intersectsNode() [1/2]

WEBCORE_EXPORT ExceptionOr<bool> WebCore::Range::intersectsNode ( Node refNode) const

◆ intersectsNode() [2/2]

ExceptionOr< bool > Range::intersectsNode ( Node refNode) const

◆ isPointInRange() [1/2]

WEBCORE_EXPORT ExceptionOr<bool> WebCore::Range::isPointInRange ( Node refNode,
unsigned  offset 
)

◆ isPointInRange() [2/2]

ExceptionOr< bool > Range::isPointInRange ( Node refNode,
unsigned  offset 
)

◆ nodeChildrenChanged() [1/2]

void Range::nodeChildrenChanged ( ContainerNode container)

◆ nodeChildrenChanged() [2/2]

void WebCore::Range::nodeChildrenChanged ( ContainerNode )

◆ nodeChildrenWillBeRemoved() [1/2]

void Range::nodeChildrenWillBeRemoved ( ContainerNode container)

◆ nodeChildrenWillBeRemoved() [2/2]

void WebCore::Range::nodeChildrenWillBeRemoved ( ContainerNode )

◆ nodeWillBeRemoved() [1/2]

void Range::nodeWillBeRemoved ( Node node)

◆ nodeWillBeRemoved() [2/2]

void WebCore::Range::nodeWillBeRemoved ( Node )

◆ ownerDocument() [1/2]

Document& WebCore::Range::ownerDocument ( ) const
inline

◆ ownerDocument() [2/2]

Document& WebCore::Range::ownerDocument ( ) const
inline

◆ pastLastNode() [1/2]

WEBCORE_EXPORT Node* WebCore::Range::pastLastNode ( ) const

◆ pastLastNode() [2/2]

Node * Range::pastLastNode ( ) const

◆ selectNode() [1/2]

ExceptionOr< void > Range::selectNode ( Node refNode)

◆ selectNode() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::selectNode ( Node )

◆ selectNodeContents() [1/2]

ExceptionOr< void > Range::selectNodeContents ( Node refNode)

◆ selectNodeContents() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::selectNodeContents ( Node )

◆ setEnd() [1/4]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setEnd ( Ref< Node > &&  container,
unsigned  offset 
)

◆ setEnd() [2/4]

ExceptionOr< void > Range::setEnd ( Ref< Node > &&  container,
unsigned  offset 
)

◆ setEnd() [3/4]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setEnd ( const Position )

◆ setEnd() [4/4]

ExceptionOr< void > Range::setEnd ( const Position end)

◆ setEndAfter() [1/2]

ExceptionOr< void > Range::setEndAfter ( Node refNode)

◆ setEndAfter() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setEndAfter ( Node )

◆ setEndBefore() [1/2]

ExceptionOr< void > Range::setEndBefore ( Node refNode)

◆ setEndBefore() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setEndBefore ( Node )

◆ setStart() [1/4]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setStart ( Ref< Node > &&  container,
unsigned  offset 
)

◆ setStart() [2/4]

ExceptionOr< void > Range::setStart ( Ref< Node > &&  container,
unsigned  offset 
)

◆ setStart() [3/4]

ExceptionOr< void > Range::setStart ( const Position start)

◆ setStart() [4/4]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setStart ( const Position )

◆ setStartAfter() [1/2]

ExceptionOr< void > Range::setStartAfter ( Node refNode)

◆ setStartAfter() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setStartAfter ( Node )

◆ setStartBefore() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::setStartBefore ( Node )

◆ setStartBefore() [2/2]

ExceptionOr< void > Range::setStartBefore ( Node refNode)

◆ shadowRoot() [1/2]

ShadowRoot * Range::shadowRoot ( ) const

◆ shadowRoot() [2/2]

ShadowRoot* WebCore::Range::shadowRoot ( ) const

◆ startContainer() [1/2]

Node& WebCore::Range::startContainer ( ) const
inline

◆ startContainer() [2/2]

Node& WebCore::Range::startContainer ( ) const
inline

◆ startOffset() [1/2]

unsigned WebCore::Range::startOffset ( ) const
inline

◆ startOffset() [2/2]

unsigned WebCore::Range::startOffset ( ) const
inline

◆ startPosition() [1/2]

const Position WebCore::Range::startPosition ( ) const
inline

◆ startPosition() [2/2]

const Position WebCore::Range::startPosition ( ) const
inline

◆ surroundContents() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Range::surroundContents ( Node )

◆ surroundContents() [2/2]

ExceptionOr< void > Range::surroundContents ( Node newParent)

◆ text() [1/2]

WEBCORE_EXPORT String WebCore::Range::text ( ) const

◆ text() [2/2]

String Range::text ( ) const

◆ textInserted() [1/2]

void Range::textInserted ( Node text,
unsigned  offset,
unsigned  length 
)

◆ textInserted() [2/2]

void WebCore::Range::textInserted ( Node ,
unsigned  offset,
unsigned  length 
)

◆ textNodesMerged() [1/2]

void Range::textNodesMerged ( NodeWithIndex oldNode,
unsigned  offset 
)

◆ textNodesMerged() [2/2]

void WebCore::Range::textNodesMerged ( NodeWithIndex oldNode,
unsigned  offset 
)

◆ textNodeSplit() [1/2]

void WebCore::Range::textNodeSplit ( Text oldNode)

◆ textNodeSplit() [2/2]

void Range::textNodeSplit ( Text oldNode)

◆ textRemoved() [1/2]

void WebCore::Range::textRemoved ( Node ,
unsigned  offset,
unsigned  length 
)

◆ textRemoved() [2/2]

void Range::textRemoved ( Node text,
unsigned  offset,
unsigned  length 
)

◆ toHTML() [1/2]

String WebCore::Range::toHTML ( ) const

◆ toHTML() [2/2]

String Range::toHTML ( ) const

◆ toString() [1/2]

String Range::toString ( ) const

◆ toString() [2/2]

WEBCORE_EXPORT String WebCore::Range::toString ( ) const

The documentation for this class was generated from the following files: