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);
DOMString name() const
The frame name (object of the target attribute).
HTMLHtmlElement & operator=(const HTMLHtmlElement &other)
The Node interface is the primary datatype for the entire Document Object Model.
DOMString rows() const
The number of rows of frames in the frameset.
Document contentDocument() const
Introduced in DOM Level 2.
void setName(const DOMString &)
see name
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
DOMString src() const
A URI designating the initial frame contents.
DOMString frameBorder() const
Request frame borders.
DOMString height() const
Frame height.
void setText(const DOMString &)
see text
DOMString src() const
A URI designating the initial frame contents.
DOMString cols() const
The number of columns of frames in the frameset.
void setALink(const DOMString &)
see aLink
void setFrameBorder(const DOMString &)
see frameBorder
void setLink(const DOMString &)
see link
HTMLFrameSetElement & operator=(const HTMLFrameSetElement &other)
HTMLHeadElement & operator=(const HTMLHeadElement &other)
DOMString version() const
Version information about the document's DTD.
HTMLIFrameElement & operator=(const HTMLIFrameElement &other)
void setLongDesc(const DOMString &)
see longDesc
DOMString frameBorder() const
Request frame borders.
DOMString longDesc() const
URI designating a long description of this image or frame.
void setHeight(const DOMString &)
see height
DOMString marginHeight() const
Frame margin height, in pixels.
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
void setCols(const DOMString &)
see cols
void setVLink(const DOMString &)
see vLink
void setSrc(const DOMString &)
see src
void setScrolling(const DOMString &)
see scrolling
bool noResize() const
When true, forbid user from resizing frame.
DOMString longDesc() const
URI designating a long description of this image or frame.
DOMString bgColor() const
Document background color.
DOMString width() const
Frame width.
This class implements the basic string we use in the DOM.
void setRows(const DOMString &)
see rows
The Document interface represents the entire HTML or XML document.
void setName(const DOMString &)
see name
void setBackground(const DOMString &)
see background
HTMLFrameElement & operator=(const HTMLFrameElement &other)
DOMString marginWidth() const
Frame margin width, in pixels.
Document contentDocument() const
Introduced in DOM Level 2.
DOMString marginHeight() const
Frame margin height, in pixels.
void setMarginWidth(const DOMString &)
see marginWidth
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
HTMLElement & operator=(const HTMLElement &other)
void setWidth(const DOMString &)
see width
void setMarginHeight(const DOMString &)
see marginHeight
DOMString marginWidth() const
Frame margin width, in pixels.
DOMString parsedUrl() const
Return a parsed url.
DOMString aLink() const
Color of active links (after mouse-button down, but before mouse-button up).
void setBgColor(const DOMString &)
see bgColor
void setSrc(const DOMString &)
see src
void setMarginWidth(const DOMString &)
see marginWidth
void setScrolling(const DOMString &)
see scrolling
Root of an HTML document.
DOMString name() const
The frame name (object of the target attribute).
void assignOther(const Node &other, int elementId)
DOMString profile() const
URI designating a metadata profile.
void setNoResize(bool)
see noResize
Document head information.
DOMString background() const
URI of the background texture tile image.
void setMarginHeight(const DOMString &)
see marginHeight
void setFrameBorder(const DOMString &)
see frameBorder
void setAlign(const DOMString &)
see align
DOMString text() const
Document text color.
DOMString vLink() const
Color of links that have been visited by the user.
DOMString link() const
Color of links that are not active and unvisited.
HTMLBodyElement & operator=(const HTMLBodyElement &other)
All HTML element interfaces derive from this class.
void setProfile(const DOMString &)
see profile
void setLongDesc(const DOMString &)
see longDesc
void setVersion(const DOMString &)
see version