# khtml Library API Documentation

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

# DOM::HTMLObjectElement Class Reference

Generic embedded object. More...

`#include <html_object.h>`

Inheritance diagram for DOM::HTMLObjectElement:

[legend]
Collaboration diagram for DOM::HTMLObjectElement:

[legend]
List of all members.

## Public Member Functions

| HTMLObjectElement (const HTMLObjectElement &other)
| HTMLObjectElement (const Node &other)
HTMLObjectElement & | operator= (const HTMLObjectElement &other)
HTMLObjectElement & | operator= (const Node &other)
HTMLFormElement | form () const
DOMString | code () const
void | setCode (const DOMString &)
DOMString | align () const
void | setAlign (const DOMString &)
DOMString | archive () const
void | setArchive (const DOMString &)
DOMString | border () const
void | setBorder (const DOMString &)
DOMString | codeBase () const
void | setCodeBase (const DOMString &)
DOMString | codeType () const
void | setCodeType (const DOMString &)
DOMString | data () const
void | setData (const DOMString &)
bool | declare () const
void | setDeclare (bool)
DOMString | height () const
void | setHeight (const DOMString &)
long | getHspace () const
void | setHspace (long)
DOMString | hspace () const KDE_DEPRECATED
void | setHspace (const DOMString &) KDE_DEPRECATED
DOMString | name () const
void | setName (const DOMString &)
DOMString | standby () const
void | setStandby (const DOMString &)
long | tabIndex () const
void | setTabIndex (long)
DOMString | type () const
void | setType (const DOMString &)
DOMString | useMap () const
void | setUseMap (const DOMString &)
long | getVspace () const
void | setVspace (long)
DOMString | vspace () const KDE_DEPRECATED
void | setVspace (const DOMString &) KDE_DEPRECATED
DOMString | width () const
void | setWidth (const DOMString &)
Document | contentDocument () const

## Protected Member Functions

| HTMLObjectElement (HTMLObjectElementImpl *impl)

## Detailed Description

Generic embedded object.

Note. In principle, all properties on the object element are read-write but in some environments some properties may be read-only once the underlying object is instantiated. See the OBJECT element definition in HTML 4.0.

Definition at line 258 of file html_object.h.

## Member Function Documentation

HTMLFormElement DOM::HTMLObjectElement::form | ( |  | ) | const

| Returns the `FORM` element containing this control. Returns null if this control is not within the context of a form. Reimplemented from DOM::Element.

DOMString DOM::HTMLObjectElement::code | ( |  | ) | const

| Applet class file. See the `code` attribute for HTMLAppletElement.

void DOM::HTMLObjectElement::setCode | ( | const DOMString & |  | ) |

| see code

DOMString DOM::HTMLObjectElement::align | ( |  | ) | const

| Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setAlign | ( | const DOMString & |  | ) |

| see align

DOMString DOM::HTMLObjectElement::archive | ( |  | ) | const

| Space-separated list of archives. See the archive attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setArchive | ( | const DOMString & |  | ) |

| see archive

DOMString DOM::HTMLObjectElement::border | ( |  | ) | const

| Width of border around the object. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setBorder | ( | const DOMString & |  | ) |

| see border

DOMString DOM::HTMLObjectElement::codeBase | ( |  | ) | const

| Base URI for `classid` , `data` , and `archive` attributes. See the codebase attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setCodeBase | ( | const DOMString & |  | ) |

| see codeBase

DOMString DOM::HTMLObjectElement::codeType | ( |  | ) | const

| Content type for data downloaded via `classid` attribute. See the codetype attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setCodeType | ( | const DOMString & |  | ) |

| see codeType

DOMString DOM::HTMLObjectElement::data | ( |  | ) | const

| A URI specifying the location of the object's data. See the data attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setData | ( | const DOMString & |  | ) |

| see data

bool DOM::HTMLObjectElement::declare | ( |  | ) | const

| Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setDeclare | ( | bool |  | ) |

| see declare

DOMString DOM::HTMLObjectElement::height | ( |  | ) | const

| Override height. See the height attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setHeight | ( | const DOMString & |  | ) |

| see height

long DOM::HTMLObjectElement::getHspace | ( |  | ) | const

| Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setHspace | ( | long |  | ) |

| see hspace

DOMString DOM::HTMLObjectElement::hspace | ( |  | ) | const

Deprecated:

void DOM::HTMLObjectElement::setHspace | ( | const DOMString & |  | ) |

Deprecated:

DOMString DOM::HTMLObjectElement::name | ( |  | ) | const

| Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setName | ( | const DOMString & |  | ) |

| see name

DOMString DOM::HTMLObjectElement::standby | ( |  | ) | const

| Message to render while loading the object. See the standby attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setStandby | ( | const DOMString & |  | ) |

| see standby

long DOM::HTMLObjectElement::tabIndex | ( |  | ) | const

| Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setTabIndex | ( | long |  | ) |

| see tabIndex

DOMString DOM::HTMLObjectElement::type | ( |  | ) | const

| Content type for data downloaded via `data` attribute. See the type attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setType | ( | const DOMString & |  | ) |

| see type

DOMString DOM::HTMLObjectElement::useMap | ( |  | ) | const

| Use client-side image map. See the usemap attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setUseMap | ( | const DOMString & |  | ) |

| see useMap

long DOM::HTMLObjectElement::getVspace | ( |  | ) | const

| Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

void DOM::HTMLObjectElement::setVspace | ( | long |  | ) |

| see vspace

DOMString DOM::HTMLObjectElement::vspace | ( |  | ) | const

Deprecated:

void DOM::HTMLObjectElement::setVspace | ( | const DOMString & |  | ) |

Deprecated:

DOMString DOM::HTMLObjectElement::width | ( |  | ) | const

| Override width. See the width attribute definition in HTML 4.0.

void DOM::HTMLObjectElement::setWidth | ( | const DOMString & |  | ) |

| see width

Document DOM::HTMLObjectElement::contentDocument | ( |  | ) | const

Introduced in DOM Level 2.

Returns the document this iframe contains, if there is any and it is available, a Null document otherwise. The attribute is read-only.

Returns:
  The content Document if available.

The documentation for this class was generated from the following file:

- html_object.h

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:34:28 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003