• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

html_base.h

Go to the documentation of this file.
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., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, 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 #include <kdelibs_export.h>
00036 
00037 namespace DOM {
00038 
00039 class HTMLBodyElementImpl;
00040 class DOMString;
00041 
00050 class KHTML_EXPORT HTMLBodyElement : public HTMLElement
00051 {
00052 public:
00053     HTMLBodyElement();
00054     HTMLBodyElement(const HTMLBodyElement &other);
00055     HTMLBodyElement(const Node &other) : HTMLElement()
00056          {(*this)=other;}
00057 protected:
00058     HTMLBodyElement(HTMLBodyElementImpl *impl);
00059 public:
00060 
00061     HTMLBodyElement & operator = (const HTMLBodyElement &other);
00062     HTMLBodyElement & operator = (const Node &other);
00063 
00064     ~HTMLBodyElement();
00065 
00074     DOMString aLink() const;
00075 
00079     void setALink( const DOMString & );
00080 
00088     DOMString background() const;
00089 
00093     void setBackground( const DOMString & );
00094 
00102     DOMString bgColor() const;
00103 
00107     void setBgColor( const DOMString & );
00108 
00116     DOMString link() const;
00117 
00121     void setLink( const DOMString & );
00122 
00130     DOMString text() const;
00131 
00135     void setText( const DOMString & );
00136 
00144     DOMString vLink() const;
00145 
00149     void setVLink( const DOMString & );
00150 };
00151 
00152 // --------------------------------------------------------------------------
00153 
00154 class HTMLFrameElementImpl;
00155 class DOMString;
00156 
00163 class KHTML_EXPORT HTMLFrameElement : public HTMLElement
00164 {
00165 public:
00166     HTMLFrameElement();
00167     HTMLFrameElement(const HTMLFrameElement &other);
00168     HTMLFrameElement(const Node &other) : HTMLElement()
00169          {(*this)=other;}
00170 protected:
00171     HTMLFrameElement(HTMLFrameElementImpl *impl);
00172 public:
00173 
00174     HTMLFrameElement & operator = (const HTMLFrameElement &other);
00175     HTMLFrameElement & operator = (const Node &other);
00176 
00177     ~HTMLFrameElement();
00178 
00185     DOMString frameBorder() const;
00186 
00190     void setFrameBorder( const DOMString & );
00191 
00199     DOMString longDesc() const;
00200 
00204     void setLongDesc( const DOMString & );
00205 
00212     DOMString marginHeight() const;
00213 
00217     void setMarginHeight( const DOMString & );
00218 
00225     DOMString marginWidth() const;
00226 
00230     void setMarginWidth( const DOMString & );
00231 
00239     DOMString name() const;
00240 
00244     void setName( const DOMString & );
00245 
00252     bool noResize() const;
00253 
00257     void setNoResize( bool );
00258 
00266     DOMString scrolling() const;
00267 
00271     void setScrolling( const DOMString & );
00272 
00279     DOMString src() const;
00280 
00284     void setSrc( const DOMString & );
00285 
00295     Document contentDocument() const;
00296 };
00297 
00298 // --------------------------------------------------------------------------
00299 
00300 class HTMLFrameSetElementImpl;
00301 class DOMString;
00302 
00309 class KHTML_EXPORT HTMLFrameSetElement : public HTMLElement
00310 {
00311 public:
00312     HTMLFrameSetElement();
00313     HTMLFrameSetElement(const HTMLFrameSetElement &other);
00314     HTMLFrameSetElement(const Node &other) : HTMLElement()
00315          {(*this)=other;}
00316 protected:
00317     HTMLFrameSetElement(HTMLFrameSetElementImpl *impl);
00318 public:
00319 
00320     HTMLFrameSetElement & operator = (const HTMLFrameSetElement &other);
00321     HTMLFrameSetElement & operator = (const Node &other);
00322 
00323     ~HTMLFrameSetElement();
00324 
00331     DOMString cols() const;
00332 
00336     void setCols( const DOMString & );
00337 
00344     DOMString rows() const;
00345 
00349     void setRows( const DOMString & );
00350 };
00351 
00352 // --------------------------------------------------------------------------
00353 
00354 class HTMLIFrameElementImpl;
00355 
00362 class KHTML_EXPORT HTMLIFrameElement : public HTMLElement
00363 {
00364 public:
00365     HTMLIFrameElement();
00366     HTMLIFrameElement(const HTMLIFrameElement &other);
00367     HTMLIFrameElement(const Node &other) : HTMLElement()
00368          {(*this)=other;}
00369 protected:
00370     HTMLIFrameElement(HTMLIFrameElementImpl *impl);
00371 public:
00372 
00373     HTMLIFrameElement & operator = (const HTMLIFrameElement &other);
00374     HTMLIFrameElement & operator = (const Node &other);
00375 
00376     ~HTMLIFrameElement();
00377 
00386     DOMString align() const;
00387 
00391     void setAlign( const DOMString & );
00392 
00399     DOMString frameBorder() const;
00400 
00404     void setFrameBorder( const DOMString & );
00405 
00412     DOMString height() const;
00413 
00417     void setHeight( const DOMString & );
00418 
00426     DOMString longDesc() const;
00427 
00431     void setLongDesc( const DOMString & );
00432 
00439     DOMString marginHeight() const;
00440 
00444     void setMarginHeight( const DOMString & );
00445 
00452     DOMString marginWidth() const;
00453 
00457     void setMarginWidth( const DOMString & );
00458 
00466     DOMString name() const;
00467 
00471     void setName( const DOMString & );
00472 
00480     DOMString scrolling() const;
00481 
00485     void setScrolling( const DOMString & );
00486 
00493     DOMString src() const;
00494 
00498     void setSrc( const DOMString & );
00499 
00506     DOMString width() const;
00507 
00511     void setWidth( const DOMString & );
00512 
00522     Document contentDocument() const;
00523 };
00524 
00525 // --------------------------------------------------------------------------
00526 
00527 class HTMLHeadElementImpl;
00528 class DOMString;
00529 
00536 class KHTML_EXPORT HTMLHeadElement : public HTMLElement
00537 {
00538 public:
00539     HTMLHeadElement();
00540     HTMLHeadElement(const HTMLHeadElement &other);
00541     HTMLHeadElement(const Node &other) : HTMLElement()
00542          {(*this)=other;}
00543 protected:
00544     HTMLHeadElement(HTMLHeadElementImpl *impl);
00545 public:
00546 
00547     HTMLHeadElement & operator = (const HTMLHeadElement &other);
00548     HTMLHeadElement & operator = (const Node &other);
00549 
00550     ~HTMLHeadElement();
00551 
00558     DOMString profile() const;
00559 
00563     void setProfile( const DOMString & );
00564 };
00565 
00566 // --------------------------------------------------------------------------
00567 
00568 class HTMLHtmlElementImpl;
00569 class DOMString;
00570 
00577 class KHTML_EXPORT HTMLHtmlElement : public HTMLElement
00578 {
00579 public:
00580     HTMLHtmlElement();
00581     HTMLHtmlElement(const HTMLHtmlElement &other);
00582     HTMLHtmlElement(const Node &other) : HTMLElement()
00583          {(*this)=other;}
00584 protected:
00585     HTMLHtmlElement(HTMLHtmlElementImpl *impl);
00586 public:
00587 
00588     HTMLHtmlElement & operator = (const HTMLHtmlElement &other);
00589     HTMLHtmlElement & operator = (const Node &other);
00590 
00591     ~HTMLHtmlElement();
00592 
00600     DOMString version() const;
00601 
00605     void setVersion( const DOMString & );
00606 };
00607 
00608 } //namespace
00609 
00610 #endif

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal