html_listimpl.h Source File (khtml Library)

| # khtml Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# html_listimpl.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_listimpl.h,v 1.26.4.2 2003/05/18 12:34:39 mueller Exp $
    00023  */
    00024 #ifndef HTML_LISTIMPL_H
    00025 #define HTML_LISTIMPL_H
    00026
    00027 /*
    00028  * we ignore the deprecated compact attribute. Netscape does so too...
    00029  */
    00030
    00031 #include "html_elementimpl.h"
    00032
    00033 namespace DOM
    00034 {
    00035
    00036 class DOMString;
    00037
    00038 class HTMLUListElementImpl : public HTMLElementImpl
    00039 {
    00040 public:
    00041     HTMLUListElementImpl(DocumentPtr *doc) : HTMLElementImpl(doc) {}
    00042
    00043     virtual Id id() const;
    00044
    00045     virtual void parseAttribute(AttributeImpl *);
    00046
    00047     virtual int start() const { return 1; }
    00048 };
    00049
    00050 // -------------------------------------------------------------------------
    00051
    00052 class HTMLDirectoryElementImpl : public HTMLElementImpl
    00053 {
    00054 public:
    00055     HTMLDirectoryElementImpl(DocumentPtr *doc) : HTMLElementImpl(doc) {}
    00056
    00057     virtual Id id() const;
    00058 };
    00059
    00060 // -------------------------------------------------------------------------
    00061
    00062 class HTMLMenuElementImpl : public HTMLElementImpl
    00063 {
    00064 public:
    00065     HTMLMenuElementImpl(DocumentPtr *doc) : HTMLElementImpl(doc) {}
    00066     virtual ~HTMLMenuElementImpl() {}
    00067
    00068     virtual Id id() const;
    00069 };
    00070
    00071 // -------------------------------------------------------------------------
    00072
    00073 class HTMLOListElementImpl : public HTMLUListElementImpl
    00074 {
    00075 public:
    00076     HTMLOListElementImpl(DocumentPtr *doc)
    00077         : HTMLUListElementImpl(doc), _start(1) {}
    00078
    00079     virtual Id id() const;
    00080     virtual void parseAttribute(AttributeImpl *);
    00081
    00082     int start() const { return _start; }
    00083 private:
    00084     int _start;
    00085 };
    00086
    00087 // -------------------------------------------------------------------------
    00088
    00089 class HTMLLIElementImpl : public HTMLElementImpl
    00090 {
    00091 public:
    00092     HTMLLIElementImpl(DocumentPtr *doc)
    00093         : HTMLElementImpl(doc) {}
    00094
    00095     virtual Id id() const;
    00096     virtual void parseAttribute(AttributeImpl *attr);
    00097     virtual void attach();
    00098 };
    00099
    00100 // -------------------------------------------------------------------------
    00101
    00102 class HTMLDListElementImpl : public HTMLElementImpl
    00103 {
    00104 public:
    00105     HTMLDListElementImpl(DocumentPtr *doc) : HTMLElementImpl(doc) {}
    00106     virtual ~HTMLDListElementImpl() {}
    00107
    00108     virtual Id id() const;
    00109 };
    00110
    00111 } //namespace
    00112
    00113 #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:55 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001