html_object.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_OBJECT_H
#define HTML_OBJECT_H
#include <dom/html_element.h>
#include <dom/html_form.h>
#include <kdemacros.h>
namespace DOM {
class HTMLAppletElementImpl;
class KHTML_EXPORT HTMLAppletElement : public HTMLElement
{
public:
HTMLAppletElement();
HTMLAppletElement(const HTMLAppletElement &other);
HTMLAppletElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLAppletElement(HTMLAppletElementImpl *impl);
public:
HTMLAppletElement & operator = (const HTMLAppletElement &other);
HTMLAppletElement & operator = (const Node &other);
~HTMLAppletElement();
DOMString align() const;
void setAlign( const DOMString & );
DOMString alt() const;
void setAlt( const DOMString & );
DOMString archive() const;
void setArchive( const DOMString & );
DOMString code() const;
void setCode( const DOMString & );
DOMString codeBase() const;
void setCodeBase( const DOMString &value );
DOMString height() const;
void setHeight( const DOMString & );
long getHspace() const;
void setHspace( long );
DOMString hspace() const KDE_DEPRECATED;
void setHspace( const DOMString &value ) KDE_DEPRECATED;
DOMString name() const;
void setName( const DOMString & );
DOMString object() const;
void setObject( const DOMString & );
long getVspace() const;
void setVspace( long );
DOMString vspace() const KDE_DEPRECATED;
void setVspace( const DOMString & ) KDE_DEPRECATED;
DOMString width() const;
void setWidth( const DOMString & );
};
// --------------------------------------------------------------------------
class HTMLObjectElementImpl;
class KHTML_EXPORT HTMLObjectElement : public HTMLElement
{
public:
HTMLObjectElement();
HTMLObjectElement(const HTMLObjectElement &other);
HTMLObjectElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLObjectElement(HTMLObjectElementImpl *impl);
public:
HTMLObjectElement & operator = (const HTMLObjectElement &other);
HTMLObjectElement & operator = (const Node &other);
~HTMLObjectElement();
HTMLFormElement form() const;
DOMString code() const;
void setCode( const DOMString & );
DOMString align() const;
void setAlign( const DOMString & );
DOMString archive() const;
void setArchive( const DOMString & );
DOMString border() const;
void setBorder( const DOMString & );
DOMString codeBase() const;
void setCodeBase( const DOMString & );
DOMString codeType() const;
void setCodeType( const DOMString & );
DOMString data() const;
void setData( const DOMString & );
bool declare() const;
void setDeclare( bool );
DOMString height() const;
void setHeight( const DOMString & );
long getHspace() const;
void setHspace( long );
DOMString hspace() const KDE_DEPRECATED;
void setHspace( const DOMString & ) KDE_DEPRECATED;
DOMString name() const;
void setName( const DOMString & );
DOMString standby() const;
void setStandby( const DOMString & );
long tabIndex() const;
void setTabIndex( long );
DOMString type() const;
void setType( const DOMString & );
DOMString useMap() const;
void setUseMap( const DOMString & );
long getVspace() const;
void setVspace( long );
DOMString vspace() const KDE_DEPRECATED;
void setVspace( const DOMString & ) KDE_DEPRECATED;
DOMString width() const;
void setWidth( const DOMString & );
Document contentDocument() const;
};
// --------------------------------------------------------------------------
class HTMLParamElementImpl;
class KHTML_EXPORT HTMLParamElement : public HTMLElement
{
public:
HTMLParamElement();
HTMLParamElement(const HTMLParamElement &other);
HTMLParamElement(const Node &other) : HTMLElement()
{(*this)=other;}
protected:
HTMLParamElement(HTMLParamElementImpl *impl);
public:
HTMLParamElement & operator = (const HTMLParamElement &other);
HTMLParamElement & operator = (const Node &other);
~HTMLParamElement();
DOMString name() const;
void setName( const DOMString & );
DOMString type() const;
void setType( const DOMString & );
DOMString value() const;
void setValue( const DOMString & );
DOMString valueType() const;
void setValueType( const DOMString & );
};
} // namespace
#endif
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
DOM::HTMLFormElement
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:206
DOM::HTMLAppletElement
An embedded Java applet.
Definition: html_object.h:50
DOM::HTMLParamElement
Parameters fed to the OBJECT element.
Definition: html_object.h:557
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::HTMLObjectElement
Generic embedded object.
Definition: html_object.h:258
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69

KDE Home | KDE Accessibility Home | Description of Access Keys