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);