# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# 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  * $Id: html_block.h,v 1.8.12.2 2003/05/18 12:34:37 mueller Exp $
    00029  */
    00030 // --------------------------------------------------------------------------
    00031
    00032 #ifndef HTML_BLOCK_H
    00033 #define HTML_BLOCK_H
    00034
    00035 #include <dom/html_element.h>
    00036
    00037 namespace DOM {
    00038
    00039 class HTMLElementImpl;
    00040 class DOMString;
    00041
    00048 class HTMLBlockquoteElement : public HTMLElement
    00049 {
    00050 public:
    00051     HTMLBlockquoteElement();
    00052     HTMLBlockquoteElement(const HTMLBlockquoteElement &other);
    00053     HTMLBlockquoteElement(const Node &other) : HTMLElement()
    00054         {(*this)=other;}
    00055 protected:
    00056     HTMLBlockquoteElement(HTMLElementImpl *impl);
    00057 public:
    00058
    00059     HTMLBlockquoteElement & operator = (const HTMLBlockquoteElement &other);
    00060     HTMLBlockquoteElement & operator = (const Node &other);
    00061
    00062     ~HTMLBlockquoteElement();
    00063
    00070     DOMString cite() const;
    00071
    00075     void setCite( const DOMString & );
    00076 };
    00077
    00078 // --------------------------------------------------------------------------
    00079
    00080 class HTMLDivElementImpl;
    00081 class DOMString;
    00082
    00089 class HTMLDivElement : public HTMLElement
    00090 {
    00091 public:
    00092     HTMLDivElement();
    00093     HTMLDivElement(const HTMLDivElement &other);
    00094     HTMLDivElement(const Node &other) : HTMLElement()
    00095         {(*this)=other;}
    00096 protected:
    00097     HTMLDivElement(HTMLDivElementImpl *impl);
    00098 public:
    00099
    00100     HTMLDivElement & operator = (const HTMLDivElement &other);
    00101     HTMLDivElement & operator = (const Node &other);
    00102
    00103     ~HTMLDivElement();
    00104
    00112     DOMString align() const;
    00113
    00117     void setAlign( const DOMString & );
    00118 };
    00119
    00120 // --------------------------------------------------------------------------
    00121
    00122 class HTMLHRElementImpl;
    00123 class DOMString;
    00124
    00131 class HTMLHRElement : public HTMLElement
    00132 {
    00133 public:
    00134     HTMLHRElement();
    00135     HTMLHRElement(const HTMLHRElement &other);
    00136     HTMLHRElement(const Node &other) : HTMLElement()
    00137         {(*this)=other;}
    00138 protected:
    00139     HTMLHRElement(HTMLHRElementImpl *impl);
    00140 public:
    00141
    00142     HTMLHRElement & operator = (const HTMLHRElement &other);
    00143     HTMLHRElement & operator = (const Node &other);
    00144
    00145     ~HTMLHRElement();
    00146
    00154     DOMString align() const;
    00155
    00159     void setAlign( const DOMString & );
    00160
    00169     bool noShade() const;
    00170
    00174     void setNoShade( bool );
    00175
    00183     DOMString size() const;
    00184
    00188     void setSize( const DOMString & );
    00189
    00197     DOMString width() const;
    00198
    00202     void setWidth( const DOMString & );
    00203 };
    00204
    00205 // --------------------------------------------------------------------------
    00206
    00207 class DOMString;
    00208
    00215 class HTMLHeadingElement : public HTMLElement
    00216 {
    00217 public:
    00218     HTMLHeadingElement();
    00219     HTMLHeadingElement(const HTMLHeadingElement &other);
    00220     HTMLHeadingElement(const Node &other) : HTMLElement()
    00221          {(*this)=other;}
    00222 protected:
    00223     HTMLHeadingElement(HTMLElementImpl *impl);
    00224 public:
    00225
    00226     HTMLHeadingElement & operator = (const HTMLHeadingElement &other);
    00227     HTMLHeadingElement & operator = (const Node &other);
    00228
    00229     ~HTMLHeadingElement();
    00230
    00238     DOMString align() const;
    00239
    00243     void setAlign( const DOMString & );
    00244 };
    00245
    00246 // --------------------------------------------------------------------------
    00247
    00248 class DOMString;
    00249
    00256 class HTMLParagraphElement : public HTMLElement
    00257 {
    00258 public:
    00259     HTMLParagraphElement();
    00260     HTMLParagraphElement(const HTMLParagraphElement &other);
    00261     HTMLParagraphElement(const Node &other) : HTMLElement()
    00262          {(*this)=other;}
    00263 protected:
    00264     HTMLParagraphElement(HTMLElementImpl *impl);
    00265 public:
    00266
    00267     HTMLParagraphElement & operator = (const HTMLParagraphElement &other);
    00268     HTMLParagraphElement & operator = (const Node &other);
    00269
    00270     ~HTMLParagraphElement();
    00271
    00279     DOMString align() const;
    00280
    00284     void setAlign( const DOMString & );
    00285 };
    00286
    00287 // --------------------------------------------------------------------------
    00288
    00289 class HTMLPreElementImpl;
    00290
    00297 class HTMLPreElement : public HTMLElement
    00298 {
    00299 public:
    00300     HTMLPreElement();
    00301     HTMLPreElement(const HTMLPreElement &other);
    00302     HTMLPreElement(const Node &other) : HTMLElement()
    00303          {(*this)=other;}
    00304 protected:
    00305     HTMLPreElement(HTMLPreElementImpl *impl);
    00306 public:
    00307
    00308     HTMLPreElement & operator = (const HTMLPreElement &other);
    00309     HTMLPreElement & operator = (const Node &other);
    00310
    00311     ~HTMLPreElement();
    00312
    00320     long width() const;
    00321
    00325     void setWidth( long );
    00326 };
    00327
    00328 } //namespace
    00329
    00330 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:33:50 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001