25#include <xml/dom_docimpl.h>
26#include <html/html_baseimpl.h>
65 if(
impl) ((HTMLBodyElementImpl *)
impl)->setALink(value);
75 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_BACKGROUND, value);
85 if(
impl) ((HTMLBodyElementImpl *)
impl)->setBgColor(value);
95 if(
impl) ((HTMLBodyElementImpl *)
impl)->setLink(value);
105 if(
impl) ((HTMLBodyElementImpl *)
impl)->setText(value);
115 if(
impl) ((HTMLBodyElementImpl *)
impl)->setVLink(value);
151 return ((ElementImpl *)
impl)->getAttribute(ATTR_FRAMEBORDER);
156 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_FRAMEBORDER, value);
162 return ((ElementImpl *)
impl)->getAttribute(ATTR_LONGDESC);
167 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_LONGDESC, value);
173 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINHEIGHT);
178 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINHEIGHT, value);
184 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINWIDTH);
189 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINWIDTH, value);
195 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
200 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
205 if(!
impl)
return false;
206 return !((ElementImpl *)
impl)->getAttribute(ATTR_NORESIZE).isNull();
216 ((ElementImpl *)
impl)->setAttribute(ATTR_NORESIZE, str);
223 return ((ElementImpl *)
impl)->getAttribute(ATTR_SCROLLING);
228 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SCROLLING, value);
240 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
282 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
287 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
293 return ((ElementImpl *)
impl)->getAttribute(ATTR_FRAMEBORDER);
298 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_FRAMEBORDER, value);
304 return ((ElementImpl *)
impl)->getAttribute(ATTR_HEIGHT);
309 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HEIGHT, value);
315 return ((ElementImpl *)
impl)->getAttribute(ATTR_LONGDESC);
320 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_LONGDESC, value);
326 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINHEIGHT);
331 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINHEIGHT, value);
337 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINWIDTH);
342 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINWIDTH, value);
348 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
353 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
359 return ((ElementImpl *)
impl)->getAttribute(ATTR_SCROLLING);
364 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SCROLLING, value);
376 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
382 return ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
387 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
429 return ((ElementImpl *)
impl)->getAttribute(ATTR_COLS);
434 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_COLS, value);
440 return ((ElementImpl *)
impl)->getAttribute(ATTR_ROWS);
445 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ROWS, value);
481 return ((ElementImpl *)
impl)->getAttribute(ATTR_PROFILE);
486 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_PROFILE, value);
522 return ((ElementImpl *)
impl)->getAttribute(ATTR_VERSION);
527 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VERSION, value);
This class implements the basic string we use in the DOM.
DOMString parsedUrl() const
Return a parsed url.
The Document interface represents the entire HTML or XML document.
DOMString text() const
Document text color.
void setVLink(const DOMString &)
see vLink
HTMLBodyElement & operator=(const HTMLBodyElement &other)
DOMString link() const
Color of links that are not active and unvisited.
void setBackground(const DOMString &)
see background
void setALink(const DOMString &)
see aLink
void setLink(const DOMString &)
see link
DOMString background() const
URI of the background texture tile image.
void setText(const DOMString &)
see text
DOMString bgColor() const
Document background color.
DOMString aLink() const
Color of active links (after mouse-button down, but before mouse-button up).
void setBgColor(const DOMString &)
see bgColor
DOMString vLink() const
Color of links that have been visited by the user.
All HTML element interfaces derive from this class.
void assignOther(const Node &other, int elementId)
HTMLElement & operator=(const HTMLElement &other)
DOMString src() const
A URI designating the initial frame contents.
HTMLFrameElement & operator=(const HTMLFrameElement &other)
bool noResize() const
When true, forbid user from resizing frame.
DOMString longDesc() const
URI designating a long description of this image or frame.
void setScrolling(const DOMString &)
see scrolling
void setNoResize(bool)
see noResize
void setSrc(const DOMString &)
see src
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
DOMString name() const
The frame name (object of the target attribute).
Document contentDocument() const
Introduced in DOM Level 2.
void setLongDesc(const DOMString &)
see longDesc
void setFrameBorder(const DOMString &)
see frameBorder
DOMString marginWidth() const
Frame margin width, in pixels.
void setName(const DOMString &)
see name
void setMarginWidth(const DOMString &)
see marginWidth
void setMarginHeight(const DOMString &)
see marginHeight
DOMString frameBorder() const
Request frame borders.
DOMString marginHeight() const
Frame margin height, in pixels.
void setRows(const DOMString &)
see rows
void setCols(const DOMString &)
see cols
DOMString cols() const
The number of columns of frames in the frameset.
DOMString rows() const
The number of rows of frames in the frameset.
HTMLFrameSetElement & operator=(const HTMLFrameSetElement &other)
Document head information.
DOMString profile() const
URI designating a metadata profile.
void setProfile(const DOMString &)
see profile
HTMLHeadElement & operator=(const HTMLHeadElement &other)
Root of an HTML document.
HTMLHtmlElement & operator=(const HTMLHtmlElement &other)
void setVersion(const DOMString &)
see version
DOMString version() const
Version information about the document's DTD.
void setWidth(const DOMString &)
see width
void setName(const DOMString &)
see name
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
void setLongDesc(const DOMString &)
see longDesc
DOMString src() const
A URI designating the initial frame contents.
void setAlign(const DOMString &)
see align
DOMString frameBorder() const
Request frame borders.
void setHeight(const DOMString &)
see height
DOMString height() const
Frame height.
DOMString longDesc() const
URI designating a long description of this image or frame.
void setFrameBorder(const DOMString &)
see frameBorder
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
Document contentDocument() const
Introduced in DOM Level 2.
DOMString marginWidth() const
Frame margin width, in pixels.
DOMString marginHeight() const
Frame margin height, in pixels.
void setMarginWidth(const DOMString &)
see marginWidth
DOMString name() const
The frame name (object of the target attribute).
void setSrc(const DOMString &)
see src
HTMLIFrameElement & operator=(const HTMLIFrameElement &other)
DOMString width() const
Frame width.
void setScrolling(const DOMString &)
see scrolling
void setMarginHeight(const DOMString &)
see marginHeight
The Node interface is the primary datatype for the entire Document Object Model.
This library provides a full-featured HTML parser and widget.