KHTML
Go to the documentation of this file.
28 #include "html/html_blockimpl.h"
29 #include "html/html_miscimpl.h"
67 return ((ElementImpl *)
impl)->getAttribute(ATTR_CITE);
72 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CITE, value);
111 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
116 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
155 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
160 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
165 if(!
impl)
return false;
166 return !((ElementImpl *)
impl)->getAttribute(ATTR_NOSHADE).isNull();
176 ((ElementImpl *)
impl)->setAttribute(ATTR_NOSHADE, str);
183 return ((ElementImpl *)
impl)->getAttribute(ATTR_SIZE);
188 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SIZE, value);
194 return ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
199 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
249 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
254 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
292 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
297 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
335 DOMString w = ((ElementImpl *)
impl)->getAttribute(ATTR_WIDTH);
344 aStr.sprintf(
"%ld", _width);
346 ((ElementImpl *)
impl)->setAttribute(ATTR_WIDTH, value);
393 aStr.sprintf(
"%ld", _top);
395 ((ElementImpl *)
impl)->setAttribute(ATTR_TOP, value);
401 DOMString l = ((ElementImpl *)
impl)->getAttribute(ATTR_LEFT);
410 aStr.sprintf(
"%ld", _left);
412 ((ElementImpl *)
impl)->setAttribute(ATTR_LEFT, value);
418 return ((ElementImpl *)
impl)->getAttribute(ATTR_VISIBILITY);
423 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_VISIBILITY, value);
429 return ((ElementImpl *)
impl)->getAttribute(ATTR_BGCOLOR);
434 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_BGCOLOR, value);
void setWidth(long)
see width
HTMLHRElement & operator=(const HTMLHRElement &other)
void setVisibility(const DOMString &)
see visibility
long left() const
The absolute position of the layer from the left.
Layer container for Netscape 4.x compatibility.
HTMLCollection layers() const
The collection of sub-layers.
quint32 elementId() const
All HTML element interfaces derive from this class.
void setSize(const DOMString &)
see size
DOMString bgColor() const
The background color of the layer.
Node & operator=(const Node &other)
void setAlign(const DOMString &)
see align
DOMString align() const
Horizontal text alignment.
DOMString align() const
Align the rule on the page.
This library provides a full-featured HTML parser and widget.
void setAlign(const DOMString &)
see align
An HTMLCollection is a list of nodes.
DOMString align() const
Horizontal text alignment.
HTMLElement & operator=(const HTMLElement &other)
DOMString visibility() const
The visibility of layers is either "show" or "hide".
HTMLParagraphElement & operator=(const HTMLParagraphElement &other)
Create a horizontal rule.
HTMLHeadingElement & operator=(const HTMLHeadingElement &other)
void setBgColor(const DOMString &)
see bgColor
long width() const
Fixed width for content.
DOMString size() const
The height of the rule.
HTMLLayerElement & operator=(const HTMLLayerElement &other)
long top() const
The absolute position of the layer from the top.
DOMString align() const
Horizontal text alignment.
void setLeft(long)
see left
HTMLDivElement & operator=(const HTMLDivElement &other)
void assignOther(const Node &other, int elementId)
void setNoShade(bool)
see noShade
DOMString cite() const
A URI designating a document that describes the reason for the change.
HTMLBlockquoteElement & operator=(const HTMLBlockquoteElement &other)
void setAlign(const DOMString &)
see align
void setAlign(const DOMString &)
see align
??? See the BLOCKQUOTE element definition in HTML 4.0.
This class implements the basic string we use in the DOM.
HTMLPreElement & operator=(const HTMLPreElement &other)
void setCite(const DOMString &)
see cite
void setWidth(const DOMString &)
see width
The Node interface is the primary datatype for the entire Document Object Model.
friend class HTMLCollection
DOMString width() const
The width of the rule.
For the H1 to H6 elements.
bool noShade() const
Indicates to the user agent that there should be no shading in the rendering of this element.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.