24#include "dom/html_misc.h" 
   25#include "html/html_miscimpl.h" 
   26#include "misc/htmlhashes.h" 
   30HTMLBaseFontElement::HTMLBaseFontElement() : 
HTMLElement()
 
   38HTMLBaseFontElement::HTMLBaseFontElement(HTMLBaseFontElementImpl *impl) : 
HTMLElement(impl)
 
   44    assignOther( other, ID_BASEFONT );
 
   50    HTMLElement::operator = (other);
 
   54HTMLBaseFontElement::~HTMLBaseFontElement()
 
   61    return ((ElementImpl *)impl)->getAttribute(ATTR_COLOR);
 
   66    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_COLOR, value);
 
   72    return ((ElementImpl *)impl)->getAttribute(ATTR_FACE);
 
   77    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_FACE, value);
 
   83    return ((ElementImpl *)impl)->getAttribute(ATTR_SIZE);
 
   88    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SIZE, value);
 
   94    return ((ElementImpl *)impl)->getAttribute(ATTR_SIZE).toInt();
 
  101        DOMString value( TQString::number( _value ) );
 
  102        ((ElementImpl *)impl)->setAttribute(ATTR_SIZE, value);
 
  109HTMLCollection::HTMLCollection()
 
  117    if(impl) impl->ref();
 
  120HTMLCollection::HTMLCollection(NodeImpl *base, 
int type)
 
  122    impl = 
new HTMLCollectionImpl(base, type);
 
  128    if(impl != other.impl) {
 
  129        if(impl) impl->deref();
 
  131        if(impl) impl->ref();
 
  136HTMLCollection::~HTMLCollection()
 
  138    if(impl) impl->deref();
 
  144    return ((HTMLCollectionImpl *)impl)->length();
 
  150    return ((HTMLCollectionImpl *)impl)->item( index );
 
  156    return ((HTMLCollectionImpl *)impl)->namedItem( name );
 
  159Node HTMLCollection::base()
 const 
  164    return static_cast<HTMLCollectionImpl*
>( impl )->m_refNode;
 
  167Node HTMLCollection::firstItem()
 const 
  171    return static_cast<HTMLCollectionImpl*
>( impl )->firstItem();
 
  174Node HTMLCollection::nextItem()
 const 
  178    return static_cast<HTMLCollectionImpl*
>( impl )->nextItem();
 
  181Node HTMLCollection::nextNamedItem( 
const DOMString &name )
 const 
  185    return static_cast<HTMLCollectionImpl*
>( impl )->nextNamedItem( name );
 
  188HTMLCollectionImpl *HTMLCollection::handle()
 const 
  193bool HTMLCollection::isNull()
 const 
  201HTMLFormCollection::HTMLFormCollection(NodeImpl *base)
 
  204    impl = 
new HTMLFormCollectionImpl(base);
 
  210HTMLMappedNameCollection::HTMLMappedNameCollection(NodeImpl *base, 
int type, 
const DOMString &name )
 
  212    impl = 
new HTMLMappedNameCollectionImpl(base, type, name);
 
This class implements the basic string we use in the DOM.
 
long getSize() const
Computed Font size.
 
void setFace(const DOMString &)
see face
 
DOMString size() const TDE_DEPRECATED
 
DOMString face() const
Font face identifier.
 
DOMString color() const
Font color.
 
void setColor(const DOMString &)
see color
 
void setSize(long)
see size
 
An HTMLCollection is a list of nodes.
 
Node item(unsigned long index) const
This method retrieves a node specified by ordinal index.
 
unsigned long length() const
This attribute specifies the length or size of the list.
 
Node namedItem(const DOMString &name) const
This method retrieves a Node using a name.
 
All HTML element interfaces derive from this class.
 
The Node interface is the primary datatype for the entire Document Object Model.
 
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...