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

# css_renderstyledeclarationimpl.h

    00001
    00021 #ifndef CSS_RENDERSTYLEIMPL_H
    00022 #define CSS_RENDERSTYLEIMPL_H
    00023
    00024 #include "css/css_valueimpl.h"
    00025 #include "dom/dom_string.h"
    00026 #include "rendering/render_style.h"
    00027
    00028 class RenderObject;
    00029
    00030 namespace DOM {
    00031     class NodeImpl;
    00032 }
    00033
    00034 namespace khtml {
    00035
    00036 // Used by DOM::Counter::listStyle()
    00037 DOM::DOMString stringForListStyleType(khtml::EListStyleType type);
    00038
    00039 class RenderStyleDeclarationImpl : public DOM::CSSStyleDeclarationImpl
    00040 {
    00041 public:
    00042     RenderStyleDeclarationImpl( DOM::NodeImpl *node );
    00043     virtual ~RenderStyleDeclarationImpl();
    00044
    00045     DOM::DOMString cssText() const;
    00046     void setCssText( DOM::DOMString str );
    00047
    00048     DOM::CSSValueImpl *getPropertyCSSValue( int propertyID ) const;
    00049     DOM::DOMString getPropertyValue( int propertyID ) const;
    00050     bool getPropertyPriority( int propertyID ) const;
    00051
    00052     DOM::DOMString removeProperty( int propertyID, bool NonCSSHints = false );
    00053     bool setProperty ( int propertyId, const DOM::DOMString &value, bool important = false,
    00054                        bool nonCSSHint = false);
    00055     void setProperty ( int propertyId, int value, bool important = false, bool nonCSSHint = false);
    00056     void setLengthProperty(int id, const DOM::DOMString &value, bool important,
    00057                            bool nonCSSHint = true, bool multiLength = false);
    00058
    00059     void setProperty ( const DOM::DOMString &propertyString);
    00060     DOM::DOMString item ( unsigned long index ) const;
    00061
    00062 protected:
    00063     DOM::CSSProperty property( int id ) const;
    00064
    00065 protected:
    00066     khtml::RenderObject *m_renderer;
    00067 };
    00068
    00069
    00070 }
    00071
    00072 #endif

This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:33:07 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003