# khtml Library API Documentation

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

# html_blockimpl.h

    00001 /*
    00002  * This file is part of the DOM implementation for KDE.
    00003  *
    00004  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
    00005  *           (C) 1999 Antti Koivisto (koivisto@kde.org)
    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., 59 Temple Place - Suite 330,
    00020  * Boston, MA 02111-1307, USA.
    00021  *
    00022  * $Id: html_blockimpl.h,v 1.32.4.3 2003/05/18 12:34:39 mueller Exp $
    00023  */
    00024
    00025 // -------------------------------------------------------------------------
    00026 #ifndef HTML_BLOCKIMPL_H
    00027 #define HTML_BLOCKIMPL_H
    00028
    00029 #include "html_elementimpl.h"
    00030 #include "dtd.h"
    00031
    00032 namespace DOM {
    00033
    00034 // -------------------------------------------------------------------------
    00035
    00036 class HTMLDivElementImpl : public HTMLGenericElementImpl
    00037 {
    00038 public:
    00039     HTMLDivElementImpl(DocumentPtr *doc, ushort _tagid)
    00040         : HTMLGenericElementImpl(doc, _tagid) {}
    00041
    00042     virtual void parseAttribute(AttributeImpl *token);
    00043 };
    00044
    00045 // -------------------------------------------------------------------------
    00046
    00047 class HTMLHRElementImpl : public HTMLElementImpl
    00048 {
    00049 public:
    00050     HTMLHRElementImpl(DocumentPtr *doc)
    00051         : HTMLElementImpl(doc) {}
    00052
    00053     virtual NodeImpl::Id id() const;
    00054     virtual void parseAttribute(AttributeImpl *);
    00055     virtual void attach();
    00056 };
    00057
    00058 // -------------------------------------------------------------------------
    00059
    00060 class HTMLPreElementImpl : public HTMLGenericElementImpl
    00061 {
    00062 public:
    00063     HTMLPreElementImpl(DocumentPtr *doc, ushort _tagid)
    00064         : HTMLGenericElementImpl(doc, _tagid) {}
    00065
    00066     long width() const;
    00067     void setWidth( long w );
    00068 };
    00069
    00070 } //namespace
    00071 #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