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