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

tdehtml

  • tdehtml
  • dom
html_inline.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_INLINE_H
30 #define HTML_INLINE_H
31 
32 #include <dom/html_element.h>
33 
34 #include <tdelibs_export.h>
35 
36 namespace DOM {
37 class HTMLGenericElementImpl;
38 class HTMLAnchorElementImpl;
39 class DOMString;
40 
47 class TDEHTML_EXPORT HTMLAnchorElement : public HTMLElement
48 {
49 public:
50  HTMLAnchorElement();
51  HTMLAnchorElement(const HTMLAnchorElement &other);
52  HTMLAnchorElement(const Node &other) : HTMLElement()
53  {(*this)=other;}
54 protected:
55  HTMLAnchorElement(HTMLAnchorElementImpl *impl);
56 public:
57 
58  HTMLAnchorElement & operator = (const HTMLAnchorElement &other);
59  HTMLAnchorElement & operator = (const Node &other);
60 
61  ~HTMLAnchorElement();
62 
70  DOMString accessKey() const;
71 
75  void setAccessKey( const DOMString & );
76 
83  DOMString charset() const;
84 
88  void setCharset( const DOMString & );
89 
98  DOMString coords() const;
99 
103  void setCoords( const DOMString & );
104 
111  DOMString href() const;
112 
116  void setHref( const DOMString & );
117 
124  DOMString hreflang() const;
125 
129  void setHreflang( const DOMString & );
130 
137  DOMString name() const;
138 
142  void setName( const DOMString & );
143 
150  DOMString rel() const;
151 
155  void setRel( const DOMString & );
156 
163  DOMString rev() const;
164 
168  void setRev( const DOMString & );
169 
177  DOMString shape() const;
178 
182  void setShape( const DOMString & );
183 
191  long tabIndex() const;
192 
196  void setTabIndex( long );
197 
204  DOMString target() const;
205 
209  void setTarget( const DOMString & );
210 
217  DOMString type() const;
218 
222  void setType( const DOMString & );
223 
230  void blur ( );
231 
238  void focus ( );
239 
245  void click ( );
246 
247 };
248 
249 // --------------------------------------------------------------------------
250 
251 class HTMLBRElementImpl;
252 
259 class TDEHTML_EXPORT HTMLBRElement : public HTMLElement
260 {
261 public:
262  HTMLBRElement();
263  HTMLBRElement(const HTMLBRElement &other);
264  HTMLBRElement(const Node &other) : HTMLElement()
265  {(*this)=other;}
266 protected:
267  HTMLBRElement(HTMLBRElementImpl *impl);
268 public:
269 
270  HTMLBRElement & operator = (const HTMLBRElement &other);
271  HTMLBRElement & operator = (const Node &other);
272 
273  ~HTMLBRElement();
274 
282  DOMString clear() const;
283 
287  void setClear( const DOMString & );
288 };
289 
290 // --------------------------------------------------------------------------
291 
292 class HTMLFontElementImpl;
293 class DOMString;
294 
302 class TDEHTML_EXPORT HTMLFontElement : public HTMLElement
303 {
304 public:
305  HTMLFontElement();
306  HTMLFontElement(const HTMLFontElement &other);
307  HTMLFontElement(const Node &other) : HTMLElement()
308  {(*this)=other;}
309 protected:
310  HTMLFontElement(HTMLFontElementImpl *impl);
311 public:
312 
313  HTMLFontElement & operator = (const HTMLFontElement &other);
314  HTMLFontElement & operator = (const Node &other);
315 
316  ~HTMLFontElement();
317 
325  DOMString color() const;
326 
330  void setColor( const DOMString & );
331 
339  DOMString face() const;
340 
344  void setFace( const DOMString & );
345 
353  DOMString size() const;
354 
358  void setSize( const DOMString & );
359 };
360 
361 class HTMLModElementImpl;
362 class DOMString;
363 
372 class TDEHTML_EXPORT HTMLModElement : public HTMLElement
373 {
374 public:
375  HTMLModElement();
376  HTMLModElement(const HTMLModElement &other);
377  HTMLModElement(const Node &other) : HTMLElement()
378  {(*this)=other;}
379 protected:
380  HTMLModElement(HTMLElementImpl *impl);
381 public:
382 
383  HTMLModElement & operator = (const HTMLModElement &other);
384  HTMLModElement & operator = (const Node &other);
385 
386  ~HTMLModElement();
387 
394  DOMString cite() const;
395 
399  void setCite( const DOMString & );
400 
407  DOMString dateTime() const;
408 
412  void setDateTime( const DOMString & );
413 };
414 
415 // --------------------------------------------------------------------------
416 
417 class HTMLQuoteElementImpl;
418 
430 class TDEHTML_EXPORT HTMLQuoteElement : public HTMLElement
431 {
432 public:
433  HTMLQuoteElement();
434  HTMLQuoteElement(const HTMLQuoteElement &other);
435  HTMLQuoteElement(const Node &other) : HTMLElement()
436  {(*this)=other;}
437 protected:
438  HTMLQuoteElement(HTMLGenericElementImpl *impl);
439 public:
440 
441  HTMLQuoteElement & operator = (const HTMLQuoteElement &other);
442  HTMLQuoteElement & operator = (const Node &other);
443 
444  ~HTMLQuoteElement();
445 
453  DOMString cite() const;
454 
458  void setCite( const DOMString & );
459 };
460 
461 } //namespace
462 
463 #endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::HTMLAnchorElement
The anchor element.
Definition: html_inline.h:48
DOM::HTMLBRElement
Force a line break.
Definition: html_inline.h:260
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLFontElement
Local change to font.
Definition: html_inline.h:303
DOM::HTMLModElement
Notice of modification to part of a document.
Definition: html_inline.h:373
DOM::HTMLQuoteElement
For the Q and BLOCKQUOTE elements.
Definition: html_inline.h:431
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.1
This website is maintained by Timothy Pearson.