• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
  • dom
html_element.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * (C) 1999 Lars Knoll (knoll@kde.org)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * This file includes excerpts from the Document Object Model (DOM)
22 * Level 1 Specification (Recommendation)
23 * http://www.w3.org/TR/REC-DOM-Level-1/
24 * Copyright © World Wide Web Consortium , (Massachusetts Institute of
25 * Technology , Institut National de Recherche en Informatique et en
26 * Automatique , Keio University ). All Rights Reserved.
27 *
28 */
29#ifndef HTML_ELEMENT_H
30#define HTML_ELEMENT_H
31
32#include <dom/dom_element.h>
33#include <tdelibs_export.h>
34
35class TDEHTMLView;
36
37namespace DOM {
38
39class HTMLElementImpl;
40class DOMString;
41class Element;
42class HTMLCollection;
43
69class TDEHTML_EXPORT HTMLElement : public Element
70{
71 friend class HTMLDocument;
72 friend class ::TDEHTMLView;
73 friend class HTMLTableElement;
74 friend class HTMLTableRowElement;
75 friend class HTMLTableSectionElement;
76
77public:
78 HTMLElement();
79 HTMLElement(const HTMLElement &other);
80 HTMLElement(const Node &other) : Element()
81 {(*this)=other;}
82
83protected:
84 HTMLElement(HTMLElementImpl *impl);
85public:
86
87 HTMLElement & operator = (const HTMLElement &other);
88 HTMLElement & operator = (const Node &other);
89
90 ~HTMLElement();
91
98 DOMString id() const;
99
103 void setId( const DOMString & );
104
111 DOMString title() const;
112
116 void setTitle( const DOMString & );
117
124 DOMString lang() const;
125
129 void setLang( const DOMString & );
130
138 DOMString dir() const;
139
143 void setDir( const DOMString & );
144
153 DOMString className() const;
154
158 void setClassName( const DOMString & );
159
164 DOMString innerHTML() const;
165
173 void setInnerHTML( const DOMString &html );
174
179 DOMString innerText() const;
180
188 void setInnerText( const DOMString &text );
189
194 HTMLCollection children() const;
195
200 HTMLCollection all() const;
201
202 /*
203 * @internal
204 */
205 void removeCSSProperty( const DOMString& property );
206
207 /*
208 * @internal
209 */
210 void addCSSProperty( const DOMString &property, const DOMString &value );
211
212protected:
213 /*
214 * @internal
215 */
216 void assignOther( const Node &other, int elementId );
217};
218
219} //namespace
220
221#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::Element
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: dom_element.h:211
DOM::HTMLCollection
An HTMLCollection is a list of nodes.
Definition: html_misc.h:127
DOM::HTMLDocument
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
Definition: html_document.h:74
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLTableElement
The create* and delete* methods on the table allow authors to construct and modify tables.
Definition: html_table.h:442
DOM::HTMLTableRowElement
A row in a table.
Definition: html_table.h:726
DOM::HTMLTableSectionElement
The THEAD , TFOOT , and TBODY elements.
Definition: html_table.h:896
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
TDEHTMLView
Renders and displays HTML in a TQScrollView.
Definition: tdehtmlview.h:79
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.