khtml Library API Documentation

html_base.h

00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * (C) 1999 Lars Knoll (knoll@kde.org)
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019  * Boston, MA 02111-1307, USA.
00020  *
00021  * This file includes excerpts from the Document Object Model (DOM)
00022  * Level 1 Specification (Recommendation)
00023  * http://www.w3.org/TR/REC-DOM-Level-1/
00024  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
00025  * Technology , Institut National de Recherche en Informatique et en
00026  * Automatique , Keio University ). All Rights Reserved.
00027  *
00028  */
00029 
00030 #ifndef HTML_BASE_H
00031 #define HTML_BASE_H
00032 
00033 #include <dom/html_element.h>
00034 
00035 namespace DOM {
00036 
00037 class HTMLBodyElementImpl;
00038 class DOMString;
00039 
00048 class HTMLBodyElement : public HTMLElement
00049 {
00050 public:
00051     HTMLBodyElement();
00052     HTMLBodyElement(const HTMLBodyElement &other);
00053     HTMLBodyElement(const Node &other) : HTMLElement()
00054          {(*this)=other;}
00055 protected:
00056     HTMLBodyElement(HTMLBodyElementImpl *impl);
00057 public:
00058 
00059     HTMLBodyElement & operator = (const HTMLBodyElement &other);
00060     HTMLBodyElement & operator = (const Node &other);
00061 
00062     ~HTMLBodyElement();
00063 
00072     DOMString aLink() const;
00073 
00077     void setALink( const DOMString & );
00078 
00086     DOMString background() const;
00087 
00091     void setBackground( const DOMString & );
00092 
00100     DOMString bgColor() const;
00101 
00105     void setBgColor( const DOMString & );
00106 
00114     DOMString link() const;
00115 
00119     void setLink( const DOMString & );
00120 
00128     DOMString text() const;
00129 
00133     void setText( const DOMString & );
00134 
00142     DOMString vLink() const;
00143 
00147     void setVLink( const DOMString & );
00148 };
00149 
00150 // --------------------------------------------------------------------------
00151 
00152 class HTMLFrameElementImpl;
00153 class DOMString;
00154 
00161 class HTMLFrameElement : public HTMLElement
00162 {
00163 public:
00164     HTMLFrameElement();
00165     HTMLFrameElement(const HTMLFrameElement &other);
00166     HTMLFrameElement(const Node &other) : HTMLElement()
00167          {(*this)=other;}
00168 protected:
00169     HTMLFrameElement(HTMLFrameElementImpl *impl);
00170 public:
00171 
00172     HTMLFrameElement & operator = (const HTMLFrameElement &other);
00173     HTMLFrameElement & operator = (const Node &other);
00174 
00175     ~HTMLFrameElement();
00176 
00183     DOMString frameBorder() const;
00184 
00188     void setFrameBorder( const DOMString & );
00189 
00197     DOMString longDesc() const;
00198 
00202     void setLongDesc( const DOMString & );
00203 
00210     DOMString marginHeight() const;
00211 
00215     void setMarginHeight( const DOMString & );
00216 
00223     DOMString marginWidth() const;
00224 
00228     void setMarginWidth( const DOMString & );
00229 
00237     DOMString name() const;
00238 
00242     void setName( const DOMString & );
00243 
00250     bool noResize() const;
00251 
00255     void setNoResize( bool );
00256 
00264     DOMString scrolling() const;
00265 
00269     void setScrolling( const DOMString & );
00270 
00277     DOMString src() const;
00278 
00282     void setSrc( const DOMString & );
00283 
00293     Document contentDocument() const;
00294 };
00295 
00296 // --------------------------------------------------------------------------
00297 
00298 class HTMLFrameSetElementImpl;
00299 class DOMString;
00300 
00307 class HTMLFrameSetElement : public HTMLElement
00308 {
00309 public:
00310     HTMLFrameSetElement();
00311     HTMLFrameSetElement(const HTMLFrameSetElement &other);
00312     HTMLFrameSetElement(const Node &other) : HTMLElement()
00313          {(*this)=other;}
00314 protected:
00315     HTMLFrameSetElement(HTMLFrameSetElementImpl *impl);
00316 public:
00317 
00318     HTMLFrameSetElement & operator = (const HTMLFrameSetElement &other);
00319     HTMLFrameSetElement & operator = (const Node &other);
00320 
00321     ~HTMLFrameSetElement();
00322 
00329     DOMString cols() const;
00330 
00334     void setCols( const DOMString & );
00335 
00342     DOMString rows() const;
00343 
00347     void setRows( const DOMString & );
00348 };
00349 
00350 // --------------------------------------------------------------------------
00351 
00352 class HTMLIFrameElementImpl;
00353 
00360 class HTMLIFrameElement : public HTMLElement
00361 {
00362 public:
00363     HTMLIFrameElement();
00364     HTMLIFrameElement(const HTMLIFrameElement &other);
00365     HTMLIFrameElement(const Node &other) : HTMLElement()
00366          {(*this)=other;}
00367 protected:
00368     HTMLIFrameElement(HTMLIFrameElementImpl *impl);
00369 public:
00370 
00371     HTMLIFrameElement & operator = (const HTMLIFrameElement &other);
00372     HTMLIFrameElement & operator = (const Node &other);
00373 
00374     ~HTMLIFrameElement();
00375 
00384     DOMString align() const;
00385 
00389     void setAlign( const DOMString & );
00390 
00397     DOMString frameBorder() const;
00398 
00402     void setFrameBorder( const DOMString & );
00403 
00410     DOMString height() const;
00411 
00415     void setHeight( const DOMString & );
00416 
00424     DOMString longDesc() const;
00425 
00429     void setLongDesc( const DOMString & );
00430 
00437     DOMString marginHeight() const;
00438 
00442     void setMarginHeight( const DOMString & );
00443 
00450     DOMString marginWidth() const;
00451 
00455     void setMarginWidth( const DOMString & );
00456 
00464     DOMString name() const;
00465 
00469     void setName( const DOMString & );
00470 
00478     DOMString scrolling() const;
00479 
00483     void setScrolling( const DOMString & );
00484 
00491     DOMString src() const;
00492 
00496     void setSrc( const DOMString & );
00497 
00504     DOMString width() const;
00505 
00509     void setWidth( const DOMString & );
00510 
00520     Document contentDocument() const;
00521 };
00522 
00523 // --------------------------------------------------------------------------
00524 
00525 class HTMLHeadElementImpl;
00526 class DOMString;
00527 
00534 class HTMLHeadElement : public HTMLElement
00535 {
00536 public:
00537     HTMLHeadElement();
00538     HTMLHeadElement(const HTMLHeadElement &other);
00539     HTMLHeadElement(const Node &other) : HTMLElement()
00540          {(*this)=other;}
00541 protected:
00542     HTMLHeadElement(HTMLHeadElementImpl *impl);
00543 public:
00544 
00545     HTMLHeadElement & operator = (const HTMLHeadElement &other);
00546     HTMLHeadElement & operator = (const Node &other);
00547 
00548     ~HTMLHeadElement();
00549 
00556     DOMString profile() const;
00557 
00561     void setProfile( const DOMString & );
00562 };
00563 
00564 // --------------------------------------------------------------------------
00565 
00566 class HTMLHtmlElementImpl;
00567 class DOMString;
00568 
00575 class HTMLHtmlElement : public HTMLElement
00576 {
00577 public:
00578     HTMLHtmlElement();
00579     HTMLHtmlElement(const HTMLHtmlElement &other);
00580     HTMLHtmlElement(const Node &other) : HTMLElement()
00581          {(*this)=other;}
00582 protected:
00583     HTMLHtmlElement(HTMLHtmlElementImpl *impl);
00584 public:
00585 
00586     HTMLHtmlElement & operator = (const HTMLHtmlElement &other);
00587     HTMLHtmlElement & operator = (const Node &other);
00588 
00589     ~HTMLHtmlElement();
00590 
00598     DOMString version() const;
00599 
00603     void setVersion( const DOMString & );
00604 };
00605 
00606 } //namespace
00607 
00608 #endif
KDE Logo
This file is part of the documentation for khtml Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Jan 15 13:34:38 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003