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);
234 return ((ElementImpl *)
impl)->getAttribute(ATTR_SRC);
239 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
281 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
286 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
292 return ((ElementImpl *)
impl)->getAttribute(ATTR_FRAMEBORDER);
297 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_FRAMEBORDER, value);
303 return ((ElementImpl *)
impl)->getAttribute(ATTR_HEIGHT);
308 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HEIGHT, value);
314 return ((ElementImpl *)
impl)->getAttribute(ATTR_LONGDESC);
319 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_LONGDESC, value);
325 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINHEIGHT);
330 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINHEIGHT, value);
336 return ((ElementImpl *)
impl)->getAttribute(ATTR_MARGINWIDTH);
341 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MARGINWIDTH, value);
347 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
352 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
358 return ((ElementImpl *)
impl)->getAttribute(ATTR_SCROLLING);
363 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SCROLLING, value);
375 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
381 return ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
386 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
428 return ((ElementImpl *)
impl)->getAttribute(ATTR_COLS);
433 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_COLS, value);
439 return ((ElementImpl *)
impl)->getAttribute(ATTR_ROWS);
444 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ROWS, value);
480 return ((ElementImpl *)
impl)->getAttribute(ATTR_PROFILE);
485 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_PROFILE, value);
521 return ((ElementImpl *)
impl)->getAttribute(ATTR_VERSION);
526 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 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