26 #include <html/html_objectimpl.h>
63 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
68 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
74 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALT);
79 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALT, value);
85 return ((ElementImpl *)
impl)->getAttribute(ATTR_ARCHIVE);
90 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ARCHIVE, value);
96 return ((ElementImpl *)
impl)->getAttribute(ATTR_CODE);
101 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CODE, value);
107 return ((ElementImpl *)
impl)->getAttribute(ATTR_CODEBASE);
112 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CODEBASE, value);
118 return ((ElementImpl *)
impl)->getAttribute(ATTR_HEIGHT);
123 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HEIGHT, value);
126 #ifndef KDE_NO_DEPRECATED
130 return ((ElementImpl *)
impl)->getAttribute(ATTR_HSPACE);
134 #ifndef KDE_NO_DEPRECATED
137 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HSPACE, value);
144 return ((ElementImpl *)
impl)->getAttribute(ATTR_HSPACE).toInt();
155 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
160 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
166 return ((ElementImpl *)
impl)->getAttribute(ATTR_OBJECT);
171 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_OBJECT, value);
174 #ifndef KDE_NO_DEPRECATED
178 return ((ElementImpl *)
impl)->getAttribute(ATTR_VSPACE);
182 #ifndef KDE_NO_DEPRECATED
185 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VSPACE, value);
192 return ((ElementImpl *)
impl)->getAttribute(ATTR_VSPACE).toInt();
204 return ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
209 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
245 return ((HTMLObjectElementImpl *)
impl)->
form();
251 return ((ElementImpl *)
impl)->getAttribute(ATTR_CODE);
256 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CODE, value);
262 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
267 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
273 return ((ElementImpl *)
impl)->getAttribute(ATTR_ARCHIVE);
278 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ARCHIVE, value);
284 return ((ElementImpl *)
impl)->getAttribute(ATTR_BORDER);
289 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_BORDER, value);
295 return ((ElementImpl *)
impl)->getAttribute(ATTR_CODEBASE);
300 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CODEBASE, value);
306 return ((ElementImpl *)
impl)->getAttribute(ATTR_CODETYPE);
311 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CODETYPE, value);
317 return ((ElementImpl *)
impl)->getAttribute(ATTR_DATA);
322 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_DATA, value);
328 return !((ElementImpl *)
impl)->getAttribute(ATTR_DECLARE).isNull();
338 ((ElementImpl *)
impl)->setAttribute(ATTR_DECLARE, str);
345 return ((ElementImpl *)
impl)->getAttribute(ATTR_HEIGHT);
350 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HEIGHT, value);
353 #ifndef KDE_NO_DEPRECATED
357 return ((ElementImpl *)
impl)->getAttribute(ATTR_HSPACE);
361 #ifndef KDE_NO_DEPRECATED
364 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HSPACE, value);
371 return ((ElementImpl *)
impl)->getAttribute(ATTR_HSPACE).toInt();
382 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
387 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
393 return ((ElementImpl *)
impl)->getAttribute(ATTR_STANDBY);
398 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_STANDBY, value);
404 return ((ElementImpl *)
impl)->getAttribute(ATTR_TABINDEX).toInt();
411 ((ElementImpl *)
impl)->setAttribute(ATTR_TABINDEX,value);
418 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
423 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
429 return ((ElementImpl *)
impl)->getAttribute(ATTR_USEMAP);
434 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_USEMAP, value);
437 #ifndef KDE_NO_DEPRECATED
441 return ((ElementImpl *)
impl)->getAttribute(ATTR_VSPACE);
445 #ifndef KDE_NO_DEPRECATED
448 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VSPACE, value);
455 return ((ElementImpl *)
impl)->getAttribute(ATTR_VSPACE).toInt();
466 return ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
471 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
513 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
518 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
524 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
529 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
535 return ((ElementImpl *)
impl)->getAttribute(ATTR_VALUE);
540 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VALUE, value);
546 return ((ElementImpl *)
impl)->getAttribute(ATTR_VALUETYPE);
551 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VALUETYPE, value);
DOMString object() const
Serialized applet file.
DOMString archive() const
Comma-separated archive list.
DOMString width() const
Override width.
void setBorder(const DOMString &)
see border
DOMString name() const
The name of a run-time parameter.
The Node interface is the primary datatype for the entire Document Object Model.
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
HTMLFormElement form() const
Returns the FORM element containing this control.
void setCode(const DOMString &)
see code
void setName(const DOMString &)
see name
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
bool declare() const
Declare (for future reference), but do not instantiate, this object.
void setArchive(const DOMString &)
see archive
DOMString valueType() const
Information about the meaning of the value attribute value.
void setType(const DOMString &)
see type
void setCode(const DOMString &)
see code
HTMLAppletElement & operator=(const HTMLAppletElement &other)
void setHspace(long)
see hspace
void setAlign(const DOMString &)
see align
DOMString value() const
The value of a run-time parameter.
void setHeight(const DOMString &)
see height
Document contentDocument() const
Introduced in DOM Level 2.
DOMString border() const
Width of border around the object.
void setDeclare(bool)
see declare
DOMString code() const
Applet class file.
DOMString archive() const
Space-separated list of archives.
void setHspace(long)
see hspace
DOMString codeBase() const
Base URI for classid , data , and archive attributes.
void setValue(const DOMString &)
see value
void setData(const DOMString &)
see data
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
void setCodeType(const DOMString &)
see codeType
Parameters fed to the OBJECT element.
HTMLObjectElement & operator=(const HTMLObjectElement &other)
QString number(int n, int base)
long tabIndex() const
Index that represents the element's position in the tabbing order.
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
void setArchive(const DOMString &)
see archive
This class implements the basic string we use in the DOM.
The Document interface represents the entire HTML or XML document.
DOMString name() const
Form control or object name when submitted with a form.
DOMString type() const
Content type for data downloaded via data attribute.
void setUseMap(const DOMString &)
see useMap
DOMString data() const
A URI specifying the location of the object's data.
DOMString height() const
Override height.
DOMString type() const
Content type for the value attribute when valuetype has the value "ref".
HTMLElement & operator=(const HTMLElement &other)
void setName(const DOMString &)
see name
void setWidth(const DOMString &)
see width
void setVspace(long)
see vspace
void setType(const DOMString &)
see type
DOMString codeBase() const
Optional base URI for applet.
void setObject(const DOMString &)
see object
DOMString name() const
The name of the applet.
DOMString code() const
Applet class file.
HTMLParamElement & operator=(const HTMLParamElement &other)
void setAlign(const DOMString &)
see align
void setValueType(const DOMString &)
see valueType
Element form() const
KHTML extension to DOM This method returns the associated form element.
void setTabIndex(long)
see tabIndex
void setAlt(const DOMString &)
see alt
void setVspace(long)
see vspace
void setHeight(const DOMString &)
see height
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
void setStandby(const DOMString &)
see standby
DOMString codeType() const
Content type for data downloaded via classid attribute.
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
void assignOther(const Node &other, int elementId)
DOMString standby() const
Message to render while loading the object.
void setCodeBase(const DOMString &)
see codeBase
DOMString height() const
Override height.
DOMString width() const
Override width.
void setWidth(const DOMString &)
see width
DOMString useMap() const
Use client-side image map.
void setName(const DOMString &)
see name
All HTML element interfaces derive from this class.
void setCodeBase(const DOMString &value)
see codeBase
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.