KHTML
html_document.cpp
Go to the documentation of this file.
134 ((HTMLDocumentImpl *)impl)->setBody(static_cast<HTMLElementImpl *>(_body.handle()), exceptioncode);
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:59
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
Definition: html_document.h:74
HTMLCollection links() const
A collection of all AREA elements and anchor ( A ) elements in a document with a value for the href a...
Definition: html_document.cpp:158
void close()
Closes a document stream opened by open() and forces rendering.
Definition: html_document.cpp:207
HTMLCollection layers() const
A collection of all the layers of a document.
Definition: html_document.cpp:170
void writeln(const DOMString &text)
Write a string of text followed by a newline character to a document stream opened by open() .
Definition: html_document.cpp:219
DOMString domain() const
The domain name of the server that served the document, or a null string if the server cannot be iden...
Definition: html_document.cpp:106
HTMLCollection applets() const
A collection of all the OBJECT elements that include applets and APPLET ( deprecated ) elements in a ...
Definition: html_document.cpp:146
HTMLDocument & operator=(const HTMLDocument &other)
Definition: html_document.cpp:72
HTMLElement body() const
The element that contains the content for the document.
Definition: html_document.cpp:124
DOMString referrer() const
Returns the URI of the page that linked to this page.
Definition: html_document.cpp:94
HTMLCollection images() const
A collection of all the IMG elements in a document.
Definition: html_document.cpp:140
NodeList getElementsByName(const DOMString &elementName)
Returns the (possibly empty) collection of elements whose name value is given by elementName .
Definition: html_document.cpp:225
HTMLCollection forms() const
A collection of all the forms of a document.
Definition: html_document.cpp:164
DOMString title() const
The title of a document as specified by the TITLE element in the head of the document.
Definition: html_document.cpp:82
HTMLCollection anchors() const
A collection of all the anchor ( A ) elements in a document with a value for the name attribute.
Definition: html_document.cpp:176
DOMString completeURL(const DOMString &url) const
not part of the DOM
Definition: html_document.cpp:100
HTMLCollection scripts() const
A collection of all the scripts in the document.
Definition: html_document.cpp:152
void write(const DOMString &text)
Write a string of text to a document stream opened by open() .
Definition: html_document.cpp:213
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Definition: dom_node.h:964
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
unsigned short nodeType() const
A code representing the type of the underlying object, as defined above.
Definition: dom_node.cpp:193
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.