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  * $Id: html_base.h,v 1.11 2002/02/28 18:40:47 mueller Exp $
00029  */
00030 
00031 #ifndef HTML_BASE_H
00032 #define HTML_BASE_H
00033 
00034 #include <dom/html_element.h>
00035 
00036 namespace DOM {
00037 
00038 class HTMLBodyElementImpl;
00039 class DOMString;
00040 
00049 class HTMLBodyElement : public HTMLElement
00050 {
00051 public:
00052     HTMLBodyElement();
00053     HTMLBodyElement(const HTMLBodyElement &other);
00054     HTMLBodyElement(const Node &other) : HTMLElement()
00055          {(*this)=other;}
00056 protected:
00057     HTMLBodyElement(HTMLBodyElementImpl *impl);
00058 public:
00059 
00060     HTMLBodyElement & operator = (const HTMLBodyElement &other);
00061     HTMLBodyElement & operator = (const Node &other);
00062 
00063     ~HTMLBodyElement();
00064 
00073     DOMString aLink() const;
00074 
00078     void setALink( const DOMString & );
00079 
00087     DOMString background() const;
00088 
00092     void setBackground( const DOMString & );
00093 
00101     DOMString bgColor() const;
00102 
00106     void setBgColor( const DOMString & );
00107 
00115     DOMString link() const;
00116 
00120     void setLink( const DOMString & );
00121 
00129     DOMString text() const;
00130 
00134     void setText( const DOMString & );
00135 
00143     DOMString vLink() const;
00144 
00148     void setVLink( const DOMString & );
00149 };
00150 
00151 // --------------------------------------------------------------------------
00152 
00153 class HTMLFrameElementImpl;
00154 class DOMString;
00155 
00162 class HTMLFrameElement : public HTMLElement
00163 {
00164 public:
00165     HTMLFrameElement();
00166     HTMLFrameElement(const HTMLFrameElement &other);
00167     HTMLFrameElement(const Node &other) : HTMLElement()
00168          {(*this)=other;}
00169 protected:
00170     HTMLFrameElement(HTMLFrameElementImpl *impl);
00171 public:
00172 
00173     HTMLFrameElement & operator = (const HTMLFrameElement &other);
00174     HTMLFrameElement & operator = (const Node &other);
00175 
00176     ~HTMLFrameElement();
00177 
00184     DOMString frameBorder() const;
00185 
00189     void setFrameBorder( const DOMString & );
00190 
00198     DOMString longDesc() const;
00199 
00203     void setLongDesc( const DOMString & );
00204 
00211     DOMString marginHeight() const;
00212 
00216     void setMarginHeight( const DOMString & );
00217 
00224     DOMString marginWidth() const;
00225 
00229     void setMarginWidth( const DOMString & );
00230 
00238     DOMString name() const;
00239 
00243     void setName( const DOMString & );
00244 
00251     bool noResize() const;
00252 
00256     void setNoResize( bool );
00257 
00265     DOMString scrolling() const;
00266 
00270     void setScrolling( const DOMString & );
00271 
00278     DOMString src() const;
00279 
00283     void setSrc( const DOMString & );
00284 
00294     Document contentDocument() const;
00295 };
00296 
00297 // --------------------------------------------------------------------------
00298 
00299 class HTMLFrameSetElementImpl;
00300 class DOMString;
00301 
00308 class HTMLFrameSetElement : public HTMLElement
00309 {
00310 public:
00311     HTMLFrameSetElement();
00312     HTMLFrameSetElement(const HTMLFrameSetElement &other);
00313     HTMLFrameSetElement(const Node &other) : HTMLElement()
00314          {(*this)=other;}
00315 protected:
00316     HTMLFrameSetElement(HTMLFrameSetElementImpl *impl);
00317 public:
00318 
00319     HTMLFrameSetElement & operator = (const HTMLFrameSetElement &other);
00320     HTMLFrameSetElement & operator = (const Node &other);
00321 
00322     ~HTMLFrameSetElement();
00323 
00330     DOMString cols() const;
00331 
00335     void setCols( const DOMString & );
00336 
00343     DOMString rows() const;
00344 
00348     void setRows( const DOMString & );
00349 };
00350 
00351 // --------------------------------------------------------------------------
00352 
00353 class HTMLIFrameElementImpl;
00354 
00361 class HTMLIFrameElement : public HTMLElement
00362 {
00363 public:
00364     HTMLIFrameElement();
00365     HTMLIFrameElement(const HTMLIFrameElement &other);
00366     HTMLIFrameElement(const Node &other) : HTMLElement()
00367          {(*this)=other;}
00368 protected:
00369     HTMLIFrameElement(HTMLIFrameElementImpl *impl);
00370 public:
00371 
00372     HTMLIFrameElement & operator = (const HTMLIFrameElement &other);
00373     HTMLIFrameElement & operator = (const Node &other);
00374 
00375     ~HTMLIFrameElement();
00376 
00385     DOMString align() const;
00386 
00390     void setAlign( const DOMString & );
00391 
00398     DOMString frameBorder() const;
00399 
00403     void setFrameBorder( const DOMString & );
00404 
00411     DOMString height() const;
00412 
00416     void setHeight( const DOMString & );
00417 
00425     DOMString longDesc() const;
00426 
00430     void setLongDesc( const DOMString & );
00431 
00438     DOMString marginHeight() const;
00439 
00443     void setMarginHeight( const DOMString & );
00444 
00451     DOMString marginWidth() const;
00452 
00456     void setMarginWidth( const DOMString & );
00457 
00465     DOMString name() const;
00466 
00470     void setName( const DOMString & );
00471 
00479     DOMString scrolling() const;
00480 
00484     void setScrolling( const DOMString & );
00485 
00492     DOMString src() const;
00493 
00497     void setSrc( const DOMString & );
00498 
00505     DOMString width() const;
00506 
00510     void setWidth( const DOMString & );
00511 
00521     Document contentDocument() const;
00522 };
00523 
00524 // --------------------------------------------------------------------------
00525 
00526 class HTMLHeadElementImpl;
00527 class DOMString;
00528 
00535 class HTMLHeadElement : public HTMLElement
00536 {
00537 public:
00538     HTMLHeadElement();
00539     HTMLHeadElement(const HTMLHeadElement &other);
00540     HTMLHeadElement(const Node &other) : HTMLElement()
00541          {(*this)=other;}
00542 protected:
00543     HTMLHeadElement(HTMLHeadElementImpl *impl);
00544 public:
00545 
00546     HTMLHeadElement & operator = (const HTMLHeadElement &other);
00547     HTMLHeadElement & operator = (const Node &other);
00548 
00549     ~HTMLHeadElement();
00550 
00557     DOMString profile() const;
00558 
00562     void setProfile( const DOMString & );
00563 };
00564 
00565 // --------------------------------------------------------------------------
00566 
00567 class HTMLHtmlElementImpl;
00568 class DOMString;
00569 
00576 class HTMLHtmlElement : public HTMLElement
00577 {
00578 public:
00579     HTMLHtmlElement();
00580     HTMLHtmlElement(const HTMLHtmlElement &other);
00581     HTMLHtmlElement(const Node &other) : HTMLElement()
00582          {(*this)=other;}
00583 protected:
00584     HTMLHtmlElement(HTMLHtmlElementImpl *impl);
00585 public:
00586 
00587     HTMLHtmlElement & operator = (const HTMLHtmlElement &other);
00588     HTMLHtmlElement & operator = (const Node &other);
00589 
00590     ~HTMLHtmlElement();
00591 
00599     DOMString version() const;
00600 
00604     void setVersion( const DOMString & );
00605 };
00606 
00607 }; //namespace
00608 
00609 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:36 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001