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();
149 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HSPACE, QString::number(value));
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();
197 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VSPACE, QString::number(value));
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();
376 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HSPACE, QString::number(value));
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();
410 DOMString value(QString::number(_tabIndex));
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();
460 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VSPACE, QString::number(value));
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);
void setBorder(const DOMString &)
see border
DOMString code() const
Applet class file.
Document contentDocument() const
Introduced in DOM Level 2.
The Node interface is the primary datatype for the entire Document Object Model.
void setCode(const DOMString &)
see code
HTMLFormElement form() const
Returns the FORM element containing this control.
void setName(const DOMString &)
see name
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
DOMString name() const
The name of a run-time parameter.
DOMString height() const
Override height.
DOMString border() const
Width of border around the object.
bool declare() const
Declare (for future reference), but do not instantiate, this object.
DOMString type() const
Content type for data downloaded via data attribute.
void setArchive(const DOMString &)
see archive
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 archive() const
Comma-separated archive list.
DOMString value() const
The value of a run-time parameter.
void setHeight(const DOMString &)
see height
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Element form() const
KHTML extension to DOM This method returns the associated form element.
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
DOMString height() const
Override height.
DOMString standby() const
Message to render while loading the object.
DOMString type() const
Content type for the value attribute when valuetype has the value "ref".
DOMString width() const
Override width.
void setDeclare(bool)
see declare
void setHspace(long)
see hspace
void setValue(const DOMString &)
see value
void setData(const DOMString &)
see data
void setCodeType(const DOMString &)
see codeType
DOMString width() const
Override width.
Parameters fed to the OBJECT element.
HTMLObjectElement & operator=(const HTMLObjectElement &other)
long tabIndex() const
Index that represents the element's position in the tabbing order.
void setArchive(const DOMString &)
see archive
DOMString name() const
The name of the applet.
This class implements the basic string we use in the DOM.
The Document interface represents the entire HTML or XML document.
void setUseMap(const DOMString &)
see useMap
DOMString name() const
Form control or object name when submitted with a form.
DOMString codeBase() const
Optional base URI for applet.
This library provides a full-featured HTML parser and widget.
HTMLElement & operator=(const HTMLElement &other)
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
void setName(const DOMString &)
see name
void setWidth(const DOMString &)
see width
DOMString codeType() const
Content type for data downloaded via classid attribute.
void setVspace(long)
see vspace
void setType(const DOMString &)
see type
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
void setObject(const DOMString &)
see object
DOMString archive() const
Space-separated list of archives.
DOMString useMap() const
Use client-side image map.
HTMLParamElement & operator=(const HTMLParamElement &other)
void setAlign(const DOMString &)
see align
void setValueType(const DOMString &)
see valueType
DOMString codeBase() const
Base URI for classid , data , and archive attributes.
void setTabIndex(long)
see tabIndex
void setAlt(const DOMString &)
see alt
void setVspace(long)
see vspace
void setHeight(const DOMString &)
see height
void setStandby(const DOMString &)
see standby
DOMString object() const
Serialized applet file.
void assignOther(const Node &other, int elementId)
DOMString valueType() const
Information about the meaning of the value attribute value.
void setCodeBase(const DOMString &)
see codeBase
DOMString code() const
Applet class file.
void setWidth(const DOMString &)
see width
void setName(const DOMString &)
see name
All HTML element interfaces derive from this class.
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
DOMString data() const
A URI specifying the location of the object's data.
void setCodeBase(const DOMString &value)
see codeBase