• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

html_block.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
00005  *           (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public License
00018  * along with this library; see the file COPYING.LIB.  If not, write to
00019  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020  * Boston, MA 02110-1301, USA.
00021  *
00022  * This file includes excerpts from the Document Object Model (DOM)
00023  * Level 1 Specification (Recommendation)
00024  * http://www.w3.org/TR/REC-DOM-Level-1/
00025  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
00026  * Technology , Institut National de Recherche en Informatique et en
00027  * Automatique , Keio University ). All Rights Reserved.
00028  *
00029  */
00030 // --------------------------------------------------------------------------
00031 
00032 #ifndef HTML_BLOCK_H
00033 #define HTML_BLOCK_H
00034 
00035 #include <dom/html_element.h>
00036 
00037 #include <kdelibs_export.h>
00038 
00039 namespace DOM {
00040 
00041 class HTMLElementImpl;
00042 class DOMString;
00043 
00050 class KHTML_EXPORT HTMLBlockquoteElement : public HTMLElement
00051 {
00052 public:
00053     HTMLBlockquoteElement();
00054     HTMLBlockquoteElement(const HTMLBlockquoteElement &other);
00055     HTMLBlockquoteElement(const Node &other) : HTMLElement()
00056         {(*this)=other;}
00057 protected:
00058     HTMLBlockquoteElement(HTMLElementImpl *impl);
00059 public:
00060 
00061     HTMLBlockquoteElement & operator = (const HTMLBlockquoteElement &other);
00062     HTMLBlockquoteElement & operator = (const Node &other);
00063 
00064     ~HTMLBlockquoteElement();
00065 
00072     DOMString cite() const;
00073 
00077     void setCite( const DOMString & );
00078 };
00079 
00080 // --------------------------------------------------------------------------
00081 
00082 class HTMLDivElementImpl;
00083 class DOMString;
00084 
00091 class KHTML_EXPORT HTMLDivElement : public HTMLElement
00092 {
00093 public:
00094     HTMLDivElement();
00095     HTMLDivElement(const HTMLDivElement &other);
00096     HTMLDivElement(const Node &other) : HTMLElement()
00097         {(*this)=other;}
00098 protected:
00099     HTMLDivElement(HTMLDivElementImpl *impl);
00100 public:
00101 
00102     HTMLDivElement & operator = (const HTMLDivElement &other);
00103     HTMLDivElement & operator = (const Node &other);
00104 
00105     ~HTMLDivElement();
00106 
00114     DOMString align() const;
00115 
00119     void setAlign( const DOMString & );
00120 };
00121 
00122 // --------------------------------------------------------------------------
00123 
00124 class HTMLHRElementImpl;
00125 class DOMString;
00126 
00133 class KHTML_EXPORT HTMLHRElement : public HTMLElement
00134 {
00135 public:
00136     HTMLHRElement();
00137     HTMLHRElement(const HTMLHRElement &other);
00138     HTMLHRElement(const Node &other) : HTMLElement()
00139         {(*this)=other;}
00140 protected:
00141     HTMLHRElement(HTMLHRElementImpl *impl);
00142 public:
00143 
00144     HTMLHRElement & operator = (const HTMLHRElement &other);
00145     HTMLHRElement & operator = (const Node &other);
00146 
00147     ~HTMLHRElement();
00148 
00156     DOMString align() const;
00157 
00161     void setAlign( const DOMString & );
00162 
00171     bool noShade() const;
00172 
00176     void setNoShade( bool );
00177 
00185     DOMString size() const;
00186 
00190     void setSize( const DOMString & );
00191 
00199     DOMString width() const;
00200 
00204     void setWidth( const DOMString & );
00205 };
00206 
00207 // --------------------------------------------------------------------------
00208 
00209 class DOMString;
00210 
00217 class KHTML_EXPORT HTMLHeadingElement : public HTMLElement
00218 {
00219 public:
00220     HTMLHeadingElement();
00221     HTMLHeadingElement(const HTMLHeadingElement &other);
00222     HTMLHeadingElement(const Node &other) : HTMLElement()
00223          {(*this)=other;}
00224 protected:
00225     HTMLHeadingElement(HTMLElementImpl *impl);
00226 public:
00227 
00228     HTMLHeadingElement & operator = (const HTMLHeadingElement &other);
00229     HTMLHeadingElement & operator = (const Node &other);
00230 
00231     ~HTMLHeadingElement();
00232 
00240     DOMString align() const;
00241 
00245     void setAlign( const DOMString & );
00246 };
00247 
00248 // --------------------------------------------------------------------------
00249 
00250 class DOMString;
00251 
00258 class KHTML_EXPORT HTMLParagraphElement : public HTMLElement
00259 {
00260 public:
00261     HTMLParagraphElement();
00262     HTMLParagraphElement(const HTMLParagraphElement &other);
00263     HTMLParagraphElement(const Node &other) : HTMLElement()
00264          {(*this)=other;}
00265 protected:
00266     HTMLParagraphElement(HTMLElementImpl *impl);
00267 public:
00268 
00269     HTMLParagraphElement & operator = (const HTMLParagraphElement &other);
00270     HTMLParagraphElement & operator = (const Node &other);
00271 
00272     ~HTMLParagraphElement();
00273 
00281     DOMString align() const;
00282 
00286     void setAlign( const DOMString & );
00287 };
00288 
00289 // --------------------------------------------------------------------------
00290 
00291 class HTMLPreElementImpl;
00292 
00299 class KHTML_EXPORT HTMLPreElement : public HTMLElement
00300 {
00301 public:
00302     HTMLPreElement();
00303     HTMLPreElement(const HTMLPreElement &other);
00304     HTMLPreElement(const Node &other) : HTMLElement()
00305          {(*this)=other;}
00306 protected:
00307     HTMLPreElement(HTMLPreElementImpl *impl);
00308 public:
00309 
00310     HTMLPreElement & operator = (const HTMLPreElement &other);
00311     HTMLPreElement & operator = (const Node &other);
00312 
00313     ~HTMLPreElement();
00314 
00322     long width() const;
00323 
00327     void setWidth( long );
00328 };
00329 
00330 class HTMLLayerElementImpl;
00331 
00337 class KHTML_EXPORT HTMLLayerElement : public HTMLElement
00338 {
00339 public:
00340     HTMLLayerElement();
00341     HTMLLayerElement(const HTMLLayerElement &other);
00342     HTMLLayerElement(const Node &other) : HTMLElement()
00343          {(*this)=other;}
00344 protected:
00345     HTMLLayerElement(HTMLLayerElementImpl *impl);
00346 public:
00347 
00348     HTMLLayerElement & operator = (const HTMLLayerElement &other);
00349     HTMLLayerElement & operator = (const Node &other);
00350 
00351     ~HTMLLayerElement();
00352 
00357     long top() const;
00358 
00362     void setTop( long );
00363 
00368     long left() const;
00369 
00373     void setLeft( long );
00374 
00379     DOMString visibility() const;
00380 
00384     void setVisibility( const DOMString & );
00385 
00390     DOMString bgColor() const;
00391 
00395     void setBgColor( const DOMString & );
00396 
00401     HTMLCollection layers() const;
00402 };
00403 
00404 } //namespace
00405 
00406 #endif

KHTML

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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