• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KHTML

html_object.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * Copyright 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 // --------------------------------------------------------------------------
00031 
00032 #ifndef HTML_OBJECT_H
00033 #define HTML_OBJECT_H
00034 
00035 #include <dom/html_element.h>
00036 #include <dom/html_form.h>
00037 #include <kdemacros.h>
00038 
00039 namespace DOM {
00040 
00041 class HTMLAppletElementImpl;
00042 
00050 class KHTML_EXPORT HTMLAppletElement : public HTMLElement
00051 {
00052 public:
00053     HTMLAppletElement();
00054     HTMLAppletElement(const HTMLAppletElement &other);
00055     HTMLAppletElement(const Node &other) : HTMLElement()
00056          {(*this)=other;}
00057 protected:
00058     HTMLAppletElement(HTMLAppletElementImpl *impl);
00059 public:
00060 
00061     HTMLAppletElement & operator = (const HTMLAppletElement &other);
00062     HTMLAppletElement & operator = (const Node &other);
00063 
00064     ~HTMLAppletElement();
00065 
00074     DOMString align() const;
00075 
00079     void setAlign( const DOMString & );
00080 
00089     DOMString alt() const;
00090 
00094     void setAlt( const DOMString & );
00095 
00103     DOMString archive() const;
00104 
00108     void setArchive( const DOMString & );
00109 
00117     DOMString code() const;
00118 
00122     void setCode( const DOMString & );
00123 
00131     DOMString codeBase() const;
00132 
00136     void setCodeBase( const DOMString &value );
00137 
00145     DOMString height() const;
00146 
00150     void setHeight( const DOMString & );
00151 
00160     long getHspace() const;
00161 
00165     void setHspace( long );
00166 
00170 #ifndef KDE_NO_DEPRECATED
00171     KDE_DEPRECATED DOMString hspace() const;
00172 #endif
00173 
00177 #ifndef KDE_NO_DEPRECATED
00178     KDE_DEPRECATED void setHspace( const DOMString &value );
00179 #endif
00180 
00188     DOMString name() const;
00189 
00193     void setName( const DOMString & );
00194 
00202     DOMString object() const;
00203 
00207     void setObject( const DOMString & );
00208 
00217     long getVspace() const;
00218 
00222     void setVspace( long );
00223 
00227 #ifndef KDE_NO_DEPRECATED
00228     KDE_DEPRECATED DOMString vspace() const;
00229 #endif
00230 
00234 #ifndef KDE_NO_DEPRECATED
00235     KDE_DEPRECATED void setVspace( const DOMString & );
00236 #endif
00237 
00245     DOMString width() const;
00246 
00250     void setWidth( const DOMString & );
00251 };
00252 
00253 // --------------------------------------------------------------------------
00254 
00255 class HTMLObjectElementImpl;
00256 
00266 class KHTML_EXPORT HTMLObjectElement : public HTMLElement
00267 {
00268 public:
00269     HTMLObjectElement();
00270     HTMLObjectElement(const HTMLObjectElement &other);
00271     HTMLObjectElement(const Node &other) : HTMLElement()
00272          {(*this)=other;}
00273 protected:
00274     HTMLObjectElement(HTMLObjectElementImpl *impl);
00275 public:
00276 
00277     HTMLObjectElement & operator = (const HTMLObjectElement &other);
00278     HTMLObjectElement & operator = (const Node &other);
00279 
00280     ~HTMLObjectElement();
00281 
00288     HTMLFormElement form() const;
00289 
00295     DOMString code() const;
00296 
00300     void setCode( const DOMString & );
00301 
00310     DOMString align() const;
00311 
00315     void setAlign( const DOMString & );
00316 
00323     DOMString archive() const;
00324 
00328     void setArchive( const DOMString & );
00329 
00337     DOMString border() const;
00338 
00342     void setBorder( const DOMString & );
00343 
00351     DOMString codeBase() const;
00352 
00356     void setCodeBase( const DOMString & );
00357 
00365     DOMString codeType() const;
00366 
00370     void setCodeType( const DOMString & );
00371 
00378     DOMString data() const;
00379 
00383     void setData( const DOMString & );
00384 
00392     bool declare() const;
00393 
00397     void setDeclare( bool );
00398 
00405     DOMString height() const;
00406 
00410     void setHeight( const DOMString & );
00411 
00420     long getHspace() const;
00421 
00425     void setHspace( long );
00426 
00430 #ifndef KDE_NO_DEPRECATED
00431     KDE_DEPRECATED DOMString hspace() const;
00432 #endif
00433 
00437 #ifndef KDE_NO_DEPRECATED
00438     KDE_DEPRECATED void setHspace( const DOMString & );
00439 #endif
00440 
00448     DOMString name() const;
00449 
00453     void setName( const DOMString & );
00454 
00461     DOMString standby() const;
00462 
00466     void setStandby( const DOMString & );
00467 
00475     long tabIndex() const;
00476 
00480     void setTabIndex( long );
00481 
00489     DOMString type() const;
00490 
00494     void setType( const DOMString & );
00495 
00502     DOMString useMap() const;
00503 
00507     void setUseMap( const DOMString & );
00508 
00517     long getVspace() const;
00518 
00522     void setVspace( long );
00523 
00527 #ifndef KDE_NO_DEPRECATED
00528     KDE_DEPRECATED DOMString vspace() const;
00529 #endif
00530 
00534 #ifndef KDE_NO_DEPRECATED
00535     KDE_DEPRECATED void setVspace( const DOMString & );
00536 #endif
00537 
00544     DOMString width() const;
00545 
00549     void setWidth( const DOMString & );
00550 
00560     Document contentDocument() const;
00561 };
00562 
00563 // --------------------------------------------------------------------------
00564 
00565 class HTMLParamElementImpl;
00566 
00573 class KHTML_EXPORT HTMLParamElement : public HTMLElement
00574 {
00575 public:
00576     HTMLParamElement();
00577     HTMLParamElement(const HTMLParamElement &other);
00578     HTMLParamElement(const Node &other) : HTMLElement()
00579          {(*this)=other;}
00580 protected:
00581     HTMLParamElement(HTMLParamElementImpl *impl);
00582 public:
00583 
00584     HTMLParamElement & operator = (const HTMLParamElement &other);
00585     HTMLParamElement & operator = (const Node &other);
00586 
00587     ~HTMLParamElement();
00588 
00595     DOMString name() const;
00596 
00600     void setName( const DOMString & );
00601 
00609     DOMString type() const;
00610 
00614     void setType( const DOMString & );
00615 
00622     DOMString value() const;
00623 
00627     void setValue( const DOMString & );
00628 
00636     DOMString valueType() const;
00637 
00641     void setValueType( const DOMString & );
00642 };
00643 
00644 } // namespace
00645 
00646 #endif

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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