KHTML
dom_text.cpp
Go to the documentation of this file.
135void CharacterData::replaceData( const unsigned long offset, const unsigned long count, const DOMString &arg )
void appendData(const DOMString &arg)
Append the string to the end of the character data of the node.
Definition dom_text.cpp:102
void deleteData(const unsigned long offset, const unsigned long count)
Remove a range of characters from the node.
Definition dom_text.cpp:124
DOMString substringData(const unsigned long offset, const unsigned long count)
Extracts a range of data from the node.
Definition dom_text.cpp:90
void replaceData(const unsigned long offset, const unsigned long count, const DOMString &arg)
Replace the characters starting at the specified character offset with the specified string.
Definition dom_text.cpp:135
DOMString data() const
The character data of the node that implements this interface.
Definition dom_text.cpp:65
void insertData(const unsigned long offset, const DOMString &arg)
Insert a string at the specified character offset.
Definition dom_text.cpp:113
unsigned long length() const
The number of characters that are available through data and the substringData method below.
Definition dom_text.cpp:83
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition dom_exception.h:59
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:271
Text splitText(const unsigned long offset)
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblin...
Definition dom_text.cpp:224
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 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 Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.