KHtml
dom_nodeimpl.h
113 NodeListImpl *getElementsByTagNameNS(const DOMString &namespaceURI, const DOMString &localName);
462 // Returns the document that this node is associated with. This is guaranteed to always be non-null, as opposed to
503 * Does a pre-order traversal of the tree to find the node next node after this one. This uses the same order that
506 * @param stayWithin If not null, the traversal will stop once the specified node is reached. This can be used to
516 * Does a reverse pre-order traversal to find the node that comes before the current one in document order
552 // Number of DOM 16-bit units contained in node. Note that rendered text length can be different - e.g. because of
568 * Attaches this node to the rendering tree. This calculates the style to be applied to the node and creates an
569 * appropriate RenderObject which will be inserted into the tree (except when the style has display: none). This
575 * Detaches the node from the rendering tree, making it invisible in the rendered view. This method will remove
600 * Indicates whether or not this type of node maintains its state. If so, the state of the node will be stored when
601 * the user goes to a different page using the state() method, and restored using the restoreState() method if the
602 * user returns (e.g. using the back button). This is used to ensure that user-changeable elements such as form
608 * Returns the state of this node represented as a string. This string will be passed to restoreState() if the user
616 * Sets the state of the element based on a string previosuly returned by state(). This is used to initialize form
627 * Notifies the node that it has been inserted into the document. This is called during document parsing, and also
628 * when a node is added through the DOM methods insertBefore(), appendChild() or replaceChild(). Note that this only
629 * happens when the node becomes part of the document tree, i.e. only when the document is actually an ancestor of
632 * This is similar to the DOMNodeInsertedIntoDocument DOM event, but does not require the overhead of event
638 * Notifies the node that it is no longer part of the document tree, i.e. when the document is no longer an ancestor
641 * This is similar to the DOMNodeRemovedFromDocument DOM event, but does not require the overhead of event
647 * Notifies the node that its list of children have changed (either by adding or removing child nodes), or a child
654 * Sometimes we need to get the string between two points on the DOM graph. Use this function to do this.
656 * @param selectionStart Where to start the selection. If selectionStart != this, it is assumed we are after the start point
657 * @param selectionEnd Where to end the selection. If selectionEnd != this, it is assumed we are before the end point (unless found is true)
658 * @param startOffset Number of characters into the text in selectionStart that the start of the selection is.
659 * @param endOffset Number of characters into the text in selectionEnd that the end of the selection is.
661 * @return An html formatted string for this node and its children between the selectionStart and selectionEnd.
713 mutable bool m_needsStyleAttributeUpdate : 1; // true if |style| attribute is out of sync (i.e. CSSOM modified our inline styles)
782 virtual NodeImpl *getNamedItem(NodeImpl::Id id, const PrefixName &prefix = emptyPrefixName, bool nsAware = false) = 0;
783 virtual Node removeNamedItem(NodeImpl::Id id, const PrefixName &prefix, bool nsAware, int &exceptioncode) = 0;
784 virtual Node setNamedItem(NodeImpl *arg, const PrefixName &prefix, bool nsAware, int &exceptioncode) = 0;
792 Node removeNamedItemNS(const DOMString &namespaceURI, const DOMString &localName, int &exceptioncode);
818 NodeImpl *getNamedItem(NodeImpl::Id id, const PrefixName &prefix = emptyPrefixName, bool nsAware = false) override;
819 Node removeNamedItem(NodeImpl::Id id, const PrefixName &prefix, bool nsAware, int &exceptioncode) override;
820 Node setNamedItem(NodeImpl *arg, const PrefixName &prefix, bool nsAware, int &exceptioncode) override;
Type type(const QSqlDatabase &db)
MESSAGECORE_EXPORT KMime::Content * nextSibling(const KMime::Content *node)
Type
int64_t Id
This library provides a full-featured HTML parser and widget.
QString normalize(QStringView str)
const QList< QKeySequence > & close()
Definition: dom_nodeimpl.h:39
char * toString(const T &value)
KGuiItem remove()
bool isSupported(const QString &mimeType, Mode mode=Writing)
const QList< QKeySequence > & next()
MESSAGECORE_EXPORT KMime::Content * firstChild(const KMime::Content *node)
MousePress
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 20 2023 03:57:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 20 2023 03:57:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.