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

tdehtml

  • tdehtml
  • dom
html_block.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 * This file includes excerpts from the Document Object Model (DOM)
23 * Level 1 Specification (Recommendation)
24 * http://www.w3.org/TR/REC-DOM-Level-1/
25 * Copyright © World Wide Web Consortium , (Massachusetts Institute of
26 * Technology , Institut National de Recherche en Informatique et en
27 * Automatique , Keio University ). All Rights Reserved.
28 *
29 */
30// --------------------------------------------------------------------------
31
32#ifndef HTML_BLOCK_H
33#define HTML_BLOCK_H
34
35#include <dom/html_element.h>
36
37#include <tdelibs_export.h>
38
39namespace DOM {
40
41class HTMLElementImpl;
42class DOMString;
43
50class TDEHTML_EXPORT HTMLBlockquoteElement : public HTMLElement
51{
52public:
53 HTMLBlockquoteElement();
54 HTMLBlockquoteElement(const HTMLBlockquoteElement &other);
55 HTMLBlockquoteElement(const Node &other) : HTMLElement()
56 {(*this)=other;}
57protected:
58 HTMLBlockquoteElement(HTMLElementImpl *impl);
59public:
60
61 HTMLBlockquoteElement & operator = (const HTMLBlockquoteElement &other);
62 HTMLBlockquoteElement & operator = (const Node &other);
63
64 ~HTMLBlockquoteElement();
65
72 DOMString cite() const;
73
77 void setCite( const DOMString & );
78};
79
80// --------------------------------------------------------------------------
81
82class HTMLDivElementImpl;
83class DOMString;
84
91class TDEHTML_EXPORT HTMLDivElement : public HTMLElement
92{
93public:
94 HTMLDivElement();
95 HTMLDivElement(const HTMLDivElement &other);
96 HTMLDivElement(const Node &other) : HTMLElement()
97 {(*this)=other;}
98protected:
99 HTMLDivElement(HTMLDivElementImpl *impl);
100public:
101
102 HTMLDivElement & operator = (const HTMLDivElement &other);
103 HTMLDivElement & operator = (const Node &other);
104
105 ~HTMLDivElement();
106
114 DOMString align() const;
115
119 void setAlign( const DOMString & );
120};
121
122// --------------------------------------------------------------------------
123
124class HTMLHRElementImpl;
125class DOMString;
126
133class TDEHTML_EXPORT HTMLHRElement : public HTMLElement
134{
135public:
136 HTMLHRElement();
137 HTMLHRElement(const HTMLHRElement &other);
138 HTMLHRElement(const Node &other) : HTMLElement()
139 {(*this)=other;}
140protected:
141 HTMLHRElement(HTMLHRElementImpl *impl);
142public:
143
144 HTMLHRElement & operator = (const HTMLHRElement &other);
145 HTMLHRElement & operator = (const Node &other);
146
147 ~HTMLHRElement();
148
156 DOMString align() const;
157
161 void setAlign( const DOMString & );
162
171 bool noShade() const;
172
176 void setNoShade( bool );
177
185 DOMString size() const;
186
190 void setSize( const DOMString & );
191
199 DOMString width() const;
200
204 void setWidth( const DOMString & );
205};
206
207// --------------------------------------------------------------------------
208
209class DOMString;
210
217class TDEHTML_EXPORT HTMLHeadingElement : public HTMLElement
218{
219public:
220 HTMLHeadingElement();
221 HTMLHeadingElement(const HTMLHeadingElement &other);
222 HTMLHeadingElement(const Node &other) : HTMLElement()
223 {(*this)=other;}
224protected:
225 HTMLHeadingElement(HTMLElementImpl *impl);
226public:
227
228 HTMLHeadingElement & operator = (const HTMLHeadingElement &other);
229 HTMLHeadingElement & operator = (const Node &other);
230
231 ~HTMLHeadingElement();
232
240 DOMString align() const;
241
245 void setAlign( const DOMString & );
246};
247
248// --------------------------------------------------------------------------
249
250class DOMString;
251
258class TDEHTML_EXPORT HTMLParagraphElement : public HTMLElement
259{
260public:
261 HTMLParagraphElement();
262 HTMLParagraphElement(const HTMLParagraphElement &other);
263 HTMLParagraphElement(const Node &other) : HTMLElement()
264 {(*this)=other;}
265protected:
266 HTMLParagraphElement(HTMLElementImpl *impl);
267public:
268
269 HTMLParagraphElement & operator = (const HTMLParagraphElement &other);
270 HTMLParagraphElement & operator = (const Node &other);
271
272 ~HTMLParagraphElement();
273
281 DOMString align() const;
282
286 void setAlign( const DOMString & );
287};
288
289// --------------------------------------------------------------------------
290
291class HTMLPreElementImpl;
292
299class TDEHTML_EXPORT HTMLPreElement : public HTMLElement
300{
301public:
302 HTMLPreElement();
303 HTMLPreElement(const HTMLPreElement &other);
304 HTMLPreElement(const Node &other) : HTMLElement()
305 {(*this)=other;}
306protected:
307 HTMLPreElement(HTMLPreElementImpl *impl);
308public:
309
310 HTMLPreElement & operator = (const HTMLPreElement &other);
311 HTMLPreElement & operator = (const Node &other);
312
313 ~HTMLPreElement();
314
322 long width() const;
323
327 void setWidth( long );
328};
329
330class HTMLLayerElementImpl;
331
337class TDEHTML_EXPORT HTMLLayerElement : public HTMLElement
338{
339public:
340 HTMLLayerElement();
341 HTMLLayerElement(const HTMLLayerElement &other);
342 HTMLLayerElement(const Node &other) : HTMLElement()
343 {(*this)=other;}
344protected:
345 HTMLLayerElement(HTMLLayerElementImpl *impl);
346public:
347
348 HTMLLayerElement & operator = (const HTMLLayerElement &other);
349 HTMLLayerElement & operator = (const Node &other);
350
351 ~HTMLLayerElement();
352
357 long top() const;
358
362 void setTop( long );
363
368 long left() const;
369
373 void setLeft( long );
374
379 DOMString visibility() const;
380
384 void setVisibility( const DOMString & );
385
390 DOMString bgColor() const;
391
395 void setBgColor( const DOMString & );
396
401 HTMLCollection layers() const;
402};
403
404} //namespace
405
406#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::HTMLBlockquoteElement
??? See the BLOCKQUOTE element definition in HTML 4.0.
Definition: html_block.h:51
DOM::HTMLCollection
An HTMLCollection is a list of nodes.
Definition: html_misc.h:127
DOM::HTMLDivElement
Generic block container.
Definition: html_block.h:92
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLHRElement
Create a horizontal rule.
Definition: html_block.h:134
DOM::HTMLHeadingElement
For the H1 to H6 elements.
Definition: html_block.h:218
DOM::HTMLLayerElement
Layer container for Netscape 4.x compatability.
Definition: html_block.h:338
DOM::HTMLParagraphElement
Paragraphs.
Definition: html_block.h:259
DOM::HTMLPreElement
Preformatted text.
Definition: html_block.h:300
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
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.