• 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 
39 namespace DOM {
40 
41 class HTMLElementImpl;
42 class DOMString;
43 
50 class TDEHTML_EXPORT HTMLBlockquoteElement : public HTMLElement
51 {
52 public:
53  HTMLBlockquoteElement();
54  HTMLBlockquoteElement(const HTMLBlockquoteElement &other);
55  HTMLBlockquoteElement(const Node &other) : HTMLElement()
56  {(*this)=other;}
57 protected:
58  HTMLBlockquoteElement(HTMLElementImpl *impl);
59 public:
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 
82 class HTMLDivElementImpl;
83 class DOMString;
84 
91 class TDEHTML_EXPORT HTMLDivElement : public HTMLElement
92 {
93 public:
94  HTMLDivElement();
95  HTMLDivElement(const HTMLDivElement &other);
96  HTMLDivElement(const Node &other) : HTMLElement()
97  {(*this)=other;}
98 protected:
99  HTMLDivElement(HTMLDivElementImpl *impl);
100 public:
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 
124 class HTMLHRElementImpl;
125 class DOMString;
126 
133 class TDEHTML_EXPORT HTMLHRElement : public HTMLElement
134 {
135 public:
136  HTMLHRElement();
137  HTMLHRElement(const HTMLHRElement &other);
138  HTMLHRElement(const Node &other) : HTMLElement()
139  {(*this)=other;}
140 protected:
141  HTMLHRElement(HTMLHRElementImpl *impl);
142 public:
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 
209 class DOMString;
210 
217 class TDEHTML_EXPORT HTMLHeadingElement : public HTMLElement
218 {
219 public:
220  HTMLHeadingElement();
221  HTMLHeadingElement(const HTMLHeadingElement &other);
222  HTMLHeadingElement(const Node &other) : HTMLElement()
223  {(*this)=other;}
224 protected:
225  HTMLHeadingElement(HTMLElementImpl *impl);
226 public:
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 
250 class DOMString;
251 
258 class TDEHTML_EXPORT HTMLParagraphElement : public HTMLElement
259 {
260 public:
261  HTMLParagraphElement();
262  HTMLParagraphElement(const HTMLParagraphElement &other);
263  HTMLParagraphElement(const Node &other) : HTMLElement()
264  {(*this)=other;}
265 protected:
266  HTMLParagraphElement(HTMLElementImpl *impl);
267 public:
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 
291 class HTMLPreElementImpl;
292 
299 class TDEHTML_EXPORT HTMLPreElement : public HTMLElement
300 {
301 public:
302  HTMLPreElement();
303  HTMLPreElement(const HTMLPreElement &other);
304  HTMLPreElement(const Node &other) : HTMLElement()
305  {(*this)=other;}
306 protected:
307  HTMLPreElement(HTMLPreElementImpl *impl);
308 public:
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 
330 class HTMLLayerElementImpl;
331 
337 class TDEHTML_EXPORT HTMLLayerElement : public HTMLElement
338 {
339 public:
340  HTMLLayerElement();
341  HTMLLayerElement(const HTMLLayerElement &other);
342  HTMLLayerElement(const Node &other) : HTMLElement()
343  {(*this)=other;}
344 protected:
345  HTMLLayerElement(HTMLLayerElementImpl *impl);
346 public:
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::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
DOM::HTMLLayerElement
Layer container for Netscape 4.x compatability.
Definition: html_block.h:337
DOM::HTMLCollection
An HTMLCollection is a list of nodes.
Definition: html_misc.h:126
DOM::HTMLParagraphElement
Paragraphs.
Definition: html_block.h:258
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
DOM::HTMLHeadingElement
For the H1 to H6 elements.
Definition: html_block.h:217
DOM::HTMLBlockquoteElement
??? See the BLOCKQUOTE element definition in HTML 4.0.
Definition: html_block.h:50
DOM::HTMLPreElement
Preformatted text.
Definition: html_block.h:299
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:56
DOM::HTMLDivElement
Generic block container.
Definition: html_block.h:91
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69
DOM::HTMLHRElement
Create a horizontal rule.
Definition: html_block.h:133

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.8.8
This website is maintained by Timothy Pearson.