html_base.h
/*
* This file is part of the DOM implementation for KDE.
*
* (C) 1999 Lars Knoll (knoll@kde.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
* This file includes excerpts from the Document Object Model (DOM)
* Level 1 Specification (Recommendation)
* http://www.w3.org/TR/REC-DOM-Level-1/
* Copyright © World Wide Web Consortium , (Massachusetts Institute of
* Technology , Institut National de Recherche en Informatique et en
* Automatique , Keio University ). All Rights Reserved.
*
*/
#ifndef HTML_BASE_H
#define HTML_BASE_H
#include <dom/html_element.h>
#include <kdelibs_export.h>
namespace DOM {
class HTMLBodyElementImpl;
class DOMString;
class KHTML_EXPORT HTMLBodyElement : public HTMLElement
{
public:
HTMLBodyElement();
HTMLBodyElement(const HTMLBodyElement &other);
HTMLBodyElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLBodyElement(HTMLBodyElementImpl *impl);
public:
HTMLBodyElement & operator = (const HTMLBodyElement &other);
HTMLBodyElement & operator = (const Node &other);
~HTMLBodyElement();
DOMString aLink() const;
void setALink( const DOMString & );
DOMString background() const;
void setBackground( const DOMString & );
DOMString bgColor() const;
void setBgColor( const DOMString & );
DOMString link() const;
void setLink( const DOMString & );
DOMString text() const;
void setText( const DOMString & );
DOMString vLink() const;
void setVLink( const DOMString & );
};
// --------------------------------------------------------------------------
class HTMLFrameElementImpl;
class DOMString;
class KHTML_EXPORT HTMLFrameElement : public HTMLElement
{
public:
HTMLFrameElement();
HTMLFrameElement(const HTMLFrameElement &other);
HTMLFrameElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLFrameElement(HTMLFrameElementImpl *impl);
public:
HTMLFrameElement & operator = (const HTMLFrameElement &other);
HTMLFrameElement & operator = (const Node &other);
~HTMLFrameElement();
DOMString frameBorder() const;
void setFrameBorder( const DOMString & );
DOMString longDesc() const;
void setLongDesc( const DOMString & );
DOMString marginHeight() const;
void setMarginHeight( const DOMString & );
DOMString marginWidth() const;
void setMarginWidth( const DOMString & );
DOMString name() const;
void setName( const DOMString & );
bool noResize() const;
void setNoResize( bool );
DOMString scrolling() const;
void setScrolling( const DOMString & );
DOMString src() const;
void setSrc( const DOMString & );
Document contentDocument() const;
};
// --------------------------------------------------------------------------
class HTMLFrameSetElementImpl;
class DOMString;
class KHTML_EXPORT HTMLFrameSetElement : public HTMLElement
{
public:
HTMLFrameSetElement();
HTMLFrameSetElement(const HTMLFrameSetElement &other);
HTMLFrameSetElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLFrameSetElement(HTMLFrameSetElementImpl *impl);
public:
HTMLFrameSetElement & operator = (const HTMLFrameSetElement &other);
HTMLFrameSetElement & operator = (const Node &other);
~HTMLFrameSetElement();
DOMString cols() const;
void setCols( const DOMString & );
DOMString rows() const;
void setRows( const DOMString & );
};
// --------------------------------------------------------------------------
class HTMLIFrameElementImpl;
class KHTML_EXPORT HTMLIFrameElement : public HTMLElement
{
public:
HTMLIFrameElement();
HTMLIFrameElement(const HTMLIFrameElement &other);
HTMLIFrameElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLIFrameElement(HTMLIFrameElementImpl *impl);
public:
HTMLIFrameElement & operator = (const HTMLIFrameElement &other);
HTMLIFrameElement & operator = (const Node &other);
~HTMLIFrameElement();
DOMString align() const;
void setAlign( const DOMString & );
DOMString frameBorder() const;
void setFrameBorder( const DOMString & );
DOMString height() const;
void setHeight( const DOMString & );
DOMString longDesc() const;
void setLongDesc( const DOMString & );
DOMString marginHeight() const;
void setMarginHeight( const DOMString & );
DOMString marginWidth() const;
void setMarginWidth( const DOMString & );
DOMString name() const;
void setName( const DOMString & );
DOMString scrolling() const;
void setScrolling( const DOMString & );
DOMString src() const;
void setSrc( const DOMString & );
DOMString width() const;
void setWidth( const DOMString & );
Document contentDocument() const;
};
// --------------------------------------------------------------------------
class HTMLHeadElementImpl;
class DOMString;
class KHTML_EXPORT HTMLHeadElement : public HTMLElement
{
public:
HTMLHeadElement();
HTMLHeadElement(const HTMLHeadElement &other);
HTMLHeadElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLHeadElement(HTMLHeadElementImpl *impl);
public:
HTMLHeadElement & operator = (const HTMLHeadElement &other);
HTMLHeadElement & operator = (const Node &other);
~HTMLHeadElement();
DOMString profile() const;
void setProfile( const DOMString & );
};
// --------------------------------------------------------------------------
class HTMLHtmlElementImpl;
class DOMString;
class KHTML_EXPORT HTMLHtmlElement : public HTMLElement
{
public:
HTMLHtmlElement();
HTMLHtmlElement(const HTMLHtmlElement &other);
HTMLHtmlElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLHtmlElement(HTMLHtmlElementImpl *impl);
public:
HTMLHtmlElement & operator = (const HTMLHtmlElement &other);
HTMLHtmlElement & operator = (const Node &other);
~HTMLHtmlElement();
DOMString version() const;
void setVersion( const DOMString & );
};
} //namespace
#endif
DOM::HTMLBodyElement
The HTML document body.
Definition: html_base.h:50
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
DOM::HTMLFrameElement
Create a frame.
Definition: html_base.h:163
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:245
DOM::HTMLFrameSetElement
Create a grid of frames.
Definition: html_base.h:309
DOM::HTMLIFrameElement
Inline subwindows.
Definition: html_base.h:362
DOM::HTMLHtmlElement
Root of an HTML document.
Definition: html_base.h:577
DOM::HTMLHeadElement
Document head information.
Definition: html_base.h:536
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69

KDE Home | KDE Accessibility Home | Description of Access Keys