html_inline.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_inline.h,v 1.11 2002/02/28 18:40:47 mueller Exp $ 00029 */ 00030 #ifndef HTML_INLINE_H 00031 #define HTML_INLINE_H 00032 00033 #include <dom/html_element.h> 00034 00035 namespace DOM { 00036 class HTMLGenericElementImpl; 00037 class HTMLAnchorElementImpl; 00038 class DOMString; 00039 00046 class HTMLAnchorElement : public HTMLElement 00047 { 00048 public: 00049 HTMLAnchorElement(); 00050 HTMLAnchorElement(const HTMLAnchorElement &other); 00051 HTMLAnchorElement(const Node &other) : HTMLElement() 00052 {(*this)=other;} 00053 protected: 00054 HTMLAnchorElement(HTMLAnchorElementImpl *impl); 00055 public: 00056 00057 HTMLAnchorElement & operator = (const HTMLAnchorElement &other); 00058 HTMLAnchorElement & operator = (const Node &other); 00059 00060 ~HTMLAnchorElement(); 00061 00069 DOMString accessKey() const; 00070 00074 void setAccessKey( const DOMString & ); 00075 00082 DOMString charset() const; 00083 00087 void setCharset( const DOMString & ); 00088 00097 DOMString coords() const; 00098 00102 void setCoords( const DOMString & ); 00103 00110 DOMString href() const; 00111 00115 void setHref( const DOMString & ); 00116 00123 DOMString hreflang() const; 00124 00128 void setHreflang( const DOMString & ); 00129 00136 DOMString name() const; 00137 00141 void setName( const DOMString & ); 00142 00149 DOMString rel() const; 00150 00154 void setRel( const DOMString & ); 00155 00162 DOMString rev() const; 00163 00167 void setRev( const DOMString & ); 00168 00176 DOMString shape() const; 00177 00181 void setShape( const DOMString & ); 00182 00190 long tabIndex() const; 00191 00195 void setTabIndex( long ); 00196 00203 DOMString target() const; 00204 00208 void setTarget( const DOMString & ); 00209 00216 DOMString type() const; 00217 00221 void setType( const DOMString & ); 00222 00229 void blur ( ); 00230 00237 void focus ( ); 00238 }; 00239 00240 // -------------------------------------------------------------------------- 00241 00242 class HTMLBRElementImpl; 00243 00250 class HTMLBRElement : public HTMLElement 00251 { 00252 public: 00253 HTMLBRElement(); 00254 HTMLBRElement(const HTMLBRElement &other); 00255 HTMLBRElement(const Node &other) : HTMLElement() 00256 {(*this)=other;} 00257 protected: 00258 HTMLBRElement(HTMLBRElementImpl *impl); 00259 public: 00260 00261 HTMLBRElement & operator = (const HTMLBRElement &other); 00262 HTMLBRElement & operator = (const Node &other); 00263 00264 ~HTMLBRElement(); 00265 00273 DOMString clear() const; 00274 00278 void setClear( const DOMString & ); 00279 }; 00280 00281 // -------------------------------------------------------------------------- 00282 00283 class HTMLFontElementImpl; 00284 class DOMString; 00285 00293 class HTMLFontElement : public HTMLElement 00294 { 00295 public: 00296 HTMLFontElement(); 00297 HTMLFontElement(const HTMLFontElement &other); 00298 HTMLFontElement(const Node &other) : HTMLElement() 00299 {(*this)=other;} 00300 protected: 00301 HTMLFontElement(HTMLFontElementImpl *impl); 00302 public: 00303 00304 HTMLFontElement & operator = (const HTMLFontElement &other); 00305 HTMLFontElement & operator = (const Node &other); 00306 00307 ~HTMLFontElement(); 00308 00316 DOMString color() const; 00317 00321 void setColor( const DOMString & ); 00322 00330 DOMString face() const; 00331 00335 void setFace( const DOMString & ); 00336 00344 DOMString size() const; 00345 00349 void setSize( const DOMString & ); 00350 }; 00351 00352 class HTMLModElementImpl; 00353 class DOMString; 00354 00363 class HTMLModElement : public HTMLElement 00364 { 00365 public: 00366 HTMLModElement(); 00367 HTMLModElement(const HTMLModElement &other); 00368 HTMLModElement(const Node &other) : HTMLElement() 00369 {(*this)=other;} 00370 protected: 00371 HTMLModElement(HTMLElementImpl *impl); 00372 public: 00373 00374 HTMLModElement & operator = (const HTMLModElement &other); 00375 HTMLModElement & operator = (const Node &other); 00376 00377 ~HTMLModElement(); 00378 00385 DOMString cite() const; 00386 00390 void setCite( const DOMString & ); 00391 00398 DOMString dateTime() const; 00399 00403 void setDateTime( const DOMString & ); 00404 }; 00405 00406 // -------------------------------------------------------------------------- 00407 00408 class HTMLQuoteElementImpl; 00409 00421 class HTMLQuoteElement : public HTMLElement 00422 { 00423 public: 00424 HTMLQuoteElement(); 00425 HTMLQuoteElement(const HTMLQuoteElement &other); 00426 HTMLQuoteElement(const Node &other) : HTMLElement() 00427 {(*this)=other;} 00428 protected: 00429 HTMLQuoteElement(HTMLGenericElementImpl *impl); 00430 public: 00431 00432 HTMLQuoteElement & operator = (const HTMLQuoteElement &other); 00433 HTMLQuoteElement & operator = (const Node &other); 00434 00435 ~HTMLQuoteElement(); 00436 00444 DOMString cite() const; 00445 00449 void setCite( const DOMString & ); 00450 }; 00451 00452 }; //namespace 00453 00454 #endif