KHTML
dom2_range.h
Go to the documentation of this file.
88 Range(const Node startContainer, const long startOffset, const Node endContainer, const long endOffset);
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition dom_exception.h:59
DocumentFragment is a "lightweight" or "minimal" Document object.
Definition dom_doc.h:1042
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:271
static bool isRangeExceptionCode(int exceptioncode)
Definition dom2_range.cpp:37
RangeException(const RangeException &other)
Definition dom2_range.h:50
Definition dom2_range.h:80
void setEnd(const Node &refNode, long offset)
Sets the attributes describing the end of a range.
Definition dom2_range.cpp:190
Node commonAncestorContainer()
Gets the common ancestor container of the range's two end-points.
Definition dom2_range.cpp:169
void setStartBefore(const Node &refNode)
Sets the start position to be before a node.
Definition dom2_range.cpp:200
void setEndBefore(const Node &refNode)
Sets the end position to be before a node.
Definition dom2_range.cpp:221
void setEndAfter(const Node &refNode)
Sets the end of a range to be after a node.
Definition dom2_range.cpp:231
void collapse(bool toStart)
Collapse a range onto one of its end-points.
Definition dom2_range.cpp:241
void setStart(const Node &refNode, long offset)
Sets the attributes describing the start of the range.
Definition dom2_range.cpp:180
void setStartAfter(const Node &refNode)
Sets the start position to be after a node.
Definition dom2_range.cpp:211
void selectNodeContents(const Node &refNode)
Select the contents within a node.
Definition dom2_range.cpp:261
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.