khtml Library API Documentation

html_block.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 */ 00029 // -------------------------------------------------------------------------- 00030 00031 #ifndef HTML_BLOCK_H 00032 #define HTML_BLOCK_H 00033 00034 #include <dom/html_element.h> 00035 00036 namespace DOM { 00037 00038 class HTMLElementImpl; 00039 class DOMString; 00040 00047 class HTMLBlockquoteElement : public HTMLElement 00048 { 00049 public: 00050 HTMLBlockquoteElement(); 00051 HTMLBlockquoteElement(const HTMLBlockquoteElement &other); 00052 HTMLBlockquoteElement(const Node &other) : HTMLElement() 00053 {(*this)=other;} 00054 protected: 00055 HTMLBlockquoteElement(HTMLElementImpl *impl); 00056 public: 00057 00058 HTMLBlockquoteElement & operator = (const HTMLBlockquoteElement &other); 00059 HTMLBlockquoteElement & operator = (const Node &other); 00060 00061 ~HTMLBlockquoteElement(); 00062 00069 DOMString cite() const; 00070 00074 void setCite( const DOMString & ); 00075 }; 00076 00077 // -------------------------------------------------------------------------- 00078 00079 class HTMLDivElementImpl; 00080 class DOMString; 00081 00088 class HTMLDivElement : public HTMLElement 00089 { 00090 public: 00091 HTMLDivElement(); 00092 HTMLDivElement(const HTMLDivElement &other); 00093 HTMLDivElement(const Node &other) : HTMLElement() 00094 {(*this)=other;} 00095 protected: 00096 HTMLDivElement(HTMLDivElementImpl *impl); 00097 public: 00098 00099 HTMLDivElement & operator = (const HTMLDivElement &other); 00100 HTMLDivElement & operator = (const Node &other); 00101 00102 ~HTMLDivElement(); 00103 00111 DOMString align() const; 00112 00116 void setAlign( const DOMString & ); 00117 }; 00118 00119 // -------------------------------------------------------------------------- 00120 00121 class HTMLHRElementImpl; 00122 class DOMString; 00123 00130 class HTMLHRElement : public HTMLElement 00131 { 00132 public: 00133 HTMLHRElement(); 00134 HTMLHRElement(const HTMLHRElement &other); 00135 HTMLHRElement(const Node &other) : HTMLElement() 00136 {(*this)=other;} 00137 protected: 00138 HTMLHRElement(HTMLHRElementImpl *impl); 00139 public: 00140 00141 HTMLHRElement & operator = (const HTMLHRElement &other); 00142 HTMLHRElement & operator = (const Node &other); 00143 00144 ~HTMLHRElement(); 00145 00153 DOMString align() const; 00154 00158 void setAlign( const DOMString & ); 00159 00168 bool noShade() const; 00169 00173 void setNoShade( bool ); 00174 00182 DOMString size() const; 00183 00187 void setSize( const DOMString & ); 00188 00196 DOMString width() const; 00197 00201 void setWidth( const DOMString & ); 00202 }; 00203 00204 // -------------------------------------------------------------------------- 00205 00206 class DOMString; 00207 00214 class HTMLHeadingElement : public HTMLElement 00215 { 00216 public: 00217 HTMLHeadingElement(); 00218 HTMLHeadingElement(const HTMLHeadingElement &other); 00219 HTMLHeadingElement(const Node &other) : HTMLElement() 00220 {(*this)=other;} 00221 protected: 00222 HTMLHeadingElement(HTMLElementImpl *impl); 00223 public: 00224 00225 HTMLHeadingElement & operator = (const HTMLHeadingElement &other); 00226 HTMLHeadingElement & operator = (const Node &other); 00227 00228 ~HTMLHeadingElement(); 00229 00237 DOMString align() const; 00238 00242 void setAlign( const DOMString & ); 00243 }; 00244 00245 // -------------------------------------------------------------------------- 00246 00247 class DOMString; 00248 00255 class HTMLParagraphElement : public HTMLElement 00256 { 00257 public: 00258 HTMLParagraphElement(); 00259 HTMLParagraphElement(const HTMLParagraphElement &other); 00260 HTMLParagraphElement(const Node &other) : HTMLElement() 00261 {(*this)=other;} 00262 protected: 00263 HTMLParagraphElement(HTMLElementImpl *impl); 00264 public: 00265 00266 HTMLParagraphElement & operator = (const HTMLParagraphElement &other); 00267 HTMLParagraphElement & operator = (const Node &other); 00268 00269 ~HTMLParagraphElement(); 00270 00278 DOMString align() const; 00279 00283 void setAlign( const DOMString & ); 00284 }; 00285 00286 // -------------------------------------------------------------------------- 00287 00288 class HTMLPreElementImpl; 00289 00296 class HTMLPreElement : public HTMLElement 00297 { 00298 public: 00299 HTMLPreElement(); 00300 HTMLPreElement(const HTMLPreElement &other); 00301 HTMLPreElement(const Node &other) : HTMLElement() 00302 {(*this)=other;} 00303 protected: 00304 HTMLPreElement(HTMLPreElementImpl *impl); 00305 public: 00306 00307 HTMLPreElement & operator = (const HTMLPreElement &other); 00308 HTMLPreElement & operator = (const Node &other); 00309 00310 ~HTMLPreElement(); 00311 00319 long width() const; 00320 00324 void setWidth( long ); 00325 }; 00326 00327 } //namespace 00328 00329 #endif
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 20 09:50:27 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003