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