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

tdehtml

  • tdehtml
  • dom
html_base.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
30#ifndef HTML_BASE_H
31#define HTML_BASE_H
32
33#include <dom/html_element.h>
34
35#include <tdelibs_export.h>
36
37namespace DOM {
38
39class HTMLBodyElementImpl;
40class DOMString;
41
50class TDEHTML_EXPORT HTMLBodyElement : public HTMLElement
51{
52public:
53 HTMLBodyElement();
54 HTMLBodyElement(const HTMLBodyElement &other);
55 HTMLBodyElement(const Node &other) : HTMLElement()
56 {(*this)=other;}
57protected:
58 HTMLBodyElement(HTMLBodyElementImpl *impl);
59public:
60
61 HTMLBodyElement & operator = (const HTMLBodyElement &other);
62 HTMLBodyElement & operator = (const Node &other);
63
64 ~HTMLBodyElement();
65
74 DOMString aLink() const;
75
79 void setALink( const DOMString & );
80
88 DOMString background() const;
89
93 void setBackground( const DOMString & );
94
102 DOMString bgColor() const;
103
107 void setBgColor( const DOMString & );
108
116 DOMString link() const;
117
121 void setLink( const DOMString & );
122
130 DOMString text() const;
131
135 void setText( const DOMString & );
136
144 DOMString vLink() const;
145
149 void setVLink( const DOMString & );
150};
151
152// --------------------------------------------------------------------------
153
154class HTMLFrameElementImpl;
155class DOMString;
156
163class TDEHTML_EXPORT HTMLFrameElement : public HTMLElement
164{
165public:
166 HTMLFrameElement();
167 HTMLFrameElement(const HTMLFrameElement &other);
168 HTMLFrameElement(const Node &other) : HTMLElement()
169 {(*this)=other;}
170protected:
171 HTMLFrameElement(HTMLFrameElementImpl *impl);
172public:
173
174 HTMLFrameElement & operator = (const HTMLFrameElement &other);
175 HTMLFrameElement & operator = (const Node &other);
176
177 ~HTMLFrameElement();
178
185 DOMString frameBorder() const;
186
190 void setFrameBorder( const DOMString & );
191
199 DOMString longDesc() const;
200
204 void setLongDesc( const DOMString & );
205
212 DOMString marginHeight() const;
213
217 void setMarginHeight( const DOMString & );
218
225 DOMString marginWidth() const;
226
230 void setMarginWidth( const DOMString & );
231
239 DOMString name() const;
240
244 void setName( const DOMString & );
245
252 bool noResize() const;
253
257 void setNoResize( bool );
258
266 DOMString scrolling() const;
267
271 void setScrolling( const DOMString & );
272
279 DOMString src() const;
280
284 void setSrc( const DOMString & );
285
295 Document contentDocument() const;
296};
297
298// --------------------------------------------------------------------------
299
300class HTMLFrameSetElementImpl;
301class DOMString;
302
309class TDEHTML_EXPORT HTMLFrameSetElement : public HTMLElement
310{
311public:
312 HTMLFrameSetElement();
313 HTMLFrameSetElement(const HTMLFrameSetElement &other);
314 HTMLFrameSetElement(const Node &other) : HTMLElement()
315 {(*this)=other;}
316protected:
317 HTMLFrameSetElement(HTMLFrameSetElementImpl *impl);
318public:
319
320 HTMLFrameSetElement & operator = (const HTMLFrameSetElement &other);
321 HTMLFrameSetElement & operator = (const Node &other);
322
323 ~HTMLFrameSetElement();
324
331 DOMString cols() const;
332
336 void setCols( const DOMString & );
337
344 DOMString rows() const;
345
349 void setRows( const DOMString & );
350};
351
352// --------------------------------------------------------------------------
353
354class HTMLIFrameElementImpl;
355
362class TDEHTML_EXPORT HTMLIFrameElement : public HTMLElement
363{
364public:
365 HTMLIFrameElement();
366 HTMLIFrameElement(const HTMLIFrameElement &other);
367 HTMLIFrameElement(const Node &other) : HTMLElement()
368 {(*this)=other;}
369protected:
370 HTMLIFrameElement(HTMLIFrameElementImpl *impl);
371public:
372
373 HTMLIFrameElement & operator = (const HTMLIFrameElement &other);
374 HTMLIFrameElement & operator = (const Node &other);
375
376 ~HTMLIFrameElement();
377
386 DOMString align() const;
387
391 void setAlign( const DOMString & );
392
399 DOMString frameBorder() const;
400
404 void setFrameBorder( const DOMString & );
405
412 DOMString height() const;
413
417 void setHeight( const DOMString & );
418
426 DOMString longDesc() const;
427
431 void setLongDesc( const DOMString & );
432
439 DOMString marginHeight() const;
440
444 void setMarginHeight( const DOMString & );
445
452 DOMString marginWidth() const;
453
457 void setMarginWidth( const DOMString & );
458
466 DOMString name() const;
467
471 void setName( const DOMString & );
472
480 DOMString scrolling() const;
481
485 void setScrolling( const DOMString & );
486
493 DOMString src() const;
494
498 void setSrc( const DOMString & );
499
506 DOMString width() const;
507
511 void setWidth( const DOMString & );
512
522 Document contentDocument() const;
523};
524
525// --------------------------------------------------------------------------
526
527class HTMLHeadElementImpl;
528class DOMString;
529
536class TDEHTML_EXPORT HTMLHeadElement : public HTMLElement
537{
538public:
539 HTMLHeadElement();
540 HTMLHeadElement(const HTMLHeadElement &other);
541 HTMLHeadElement(const Node &other) : HTMLElement()
542 {(*this)=other;}
543protected:
544 HTMLHeadElement(HTMLHeadElementImpl *impl);
545public:
546
547 HTMLHeadElement & operator = (const HTMLHeadElement &other);
548 HTMLHeadElement & operator = (const Node &other);
549
550 ~HTMLHeadElement();
551
558 DOMString profile() const;
559
563 void setProfile( const DOMString & );
564};
565
566// --------------------------------------------------------------------------
567
568class HTMLHtmlElementImpl;
569class DOMString;
570
577class TDEHTML_EXPORT HTMLHtmlElement : public HTMLElement
578{
579public:
580 HTMLHtmlElement();
581 HTMLHtmlElement(const HTMLHtmlElement &other);
582 HTMLHtmlElement(const Node &other) : HTMLElement()
583 {(*this)=other;}
584protected:
585 HTMLHtmlElement(HTMLHtmlElementImpl *impl);
586public:
587
588 HTMLHtmlElement & operator = (const HTMLHtmlElement &other);
589 HTMLHtmlElement & operator = (const Node &other);
590
591 ~HTMLHtmlElement();
592
600 DOMString version() const;
601
605 void setVersion( const DOMString & );
606};
607
608} //namespace
609
610#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
DOM::HTMLBodyElement
The HTML document body.
Definition: html_base.h:51
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLFrameElement
Create a frame.
Definition: html_base.h:164
DOM::HTMLFrameSetElement
Create a grid of frames.
Definition: html_base.h:310
DOM::HTMLHeadElement
Document head information.
Definition: html_base.h:537
DOM::HTMLHtmlElement
Root of an HTML document.
Definition: html_base.h:578
DOM::HTMLIFrameElement
Inline subwindows.
Definition: html_base.h:363
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.