• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • sources
  • kde-4.12
  • kdelibs
  • khtml
  • dom
html_base.cpp
Go to the documentation of this file.
1 
21 // --------------------------------------------------------------------------
22 
23 #include "html_base.h"
24 #include "dom_doc.h"
25 #include <xml/dom_docimpl.h>
26 #include <html/html_baseimpl.h>
27 
28 using namespace DOM;
29 
30 HTMLBodyElement::HTMLBodyElement() : HTMLElement()
31 {
32 }
33 
34 HTMLBodyElement::HTMLBodyElement(const HTMLBodyElement &other) : HTMLElement(other)
35 {
36 }
37 
38 HTMLBodyElement::HTMLBodyElement(HTMLBodyElementImpl *impl) : HTMLElement(impl)
39 {
40 }
41 
42 HTMLBodyElement &HTMLBodyElement::operator = (const Node &other)
43 {
44  assignOther( other, ID_BODY );
45  return *this;
46 }
47 
48 HTMLBodyElement &HTMLBodyElement::operator = (const HTMLBodyElement &other)
49 {
50  HTMLElement::operator = (other);
51  return *this;
52 }
53 
54 HTMLBodyElement::~HTMLBodyElement()
55 {
56 }
57 
58 DOMString HTMLBodyElement::aLink() const
59 {
60  return impl ? ((HTMLBodyElementImpl*)impl)->aLink() : DOMString();
61 }
62 
63 void HTMLBodyElement::setALink( const DOMString &value )
64 {
65  if(impl) ((HTMLBodyElementImpl *)impl)->setALink(value);
66 }
67 
68 DOMString HTMLBodyElement::background() const
69 {
70  return impl ? ((ElementImpl *)impl)->getAttribute(ATTR_BACKGROUND) : DOMString();
71 }
72 
73 void HTMLBodyElement::setBackground( const DOMString &value )
74 {
75  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_BACKGROUND, value);
76 }
77 
78 DOMString HTMLBodyElement::bgColor() const
79 {
80  return impl ? ((HTMLBodyElementImpl*)impl)->bgColor() : DOMString();
81 }
82 
83 void HTMLBodyElement::setBgColor( const DOMString &value )
84 {
85  if(impl) ((HTMLBodyElementImpl *)impl)->setBgColor(value);
86 }
87 
88 DOMString HTMLBodyElement::link() const
89 {
90  return impl ? ((HTMLBodyElementImpl*)impl)->link() : DOMString();
91 }
92 
93 void HTMLBodyElement::setLink( const DOMString &value )
94 {
95  if(impl) ((HTMLBodyElementImpl *)impl)->setLink(value);
96 }
97 
98 DOMString HTMLBodyElement::text() const
99 {
100  return impl ? ((HTMLBodyElementImpl*)impl)->text() : DOMString();
101 }
102 
103 void HTMLBodyElement::setText( const DOMString &value )
104 {
105  if(impl) ((HTMLBodyElementImpl *)impl)->setText(value);
106 }
107 
108 DOMString HTMLBodyElement::vLink() const
109 {
110  return impl ? ((HTMLBodyElementImpl*)impl)->vLink() : DOMString();
111 }
112 
113 void HTMLBodyElement::setVLink( const DOMString &value )
114 {
115  if(impl) ((HTMLBodyElementImpl *)impl)->setVLink(value);
116 }
117 
118 // --------------------------------------------------------------------------
119 
120 HTMLFrameElement::HTMLFrameElement() : HTMLElement()
121 {
122 }
123 
124 HTMLFrameElement::HTMLFrameElement(const HTMLFrameElement &other) : HTMLElement(other)
125 {
126 }
127 
128 HTMLFrameElement::HTMLFrameElement(HTMLFrameElementImpl *impl) : HTMLElement(impl)
129 {
130 }
131 
132 HTMLFrameElement &HTMLFrameElement::operator = (const Node &other)
133 {
134  assignOther( other, ID_FRAME );
135  return *this;
136 }
137 
138 HTMLFrameElement &HTMLFrameElement::operator = (const HTMLFrameElement &other)
139 {
140  HTMLElement::operator = (other);
141  return *this;
142 }
143 
144 HTMLFrameElement::~HTMLFrameElement()
145 {
146 }
147 
148 DOMString HTMLFrameElement::frameBorder() const
149 {
150  if(!impl) return DOMString();
151  return ((ElementImpl *)impl)->getAttribute(ATTR_FRAMEBORDER);
152 }
153 
154 void HTMLFrameElement::setFrameBorder( const DOMString &value )
155 {
156  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_FRAMEBORDER, value);
157 }
158 
159 DOMString HTMLFrameElement::longDesc() const
160 {
161  if(!impl) return DOMString();
162  return ((ElementImpl *)impl)->getAttribute(ATTR_LONGDESC);
163 }
164 
165 void HTMLFrameElement::setLongDesc( const DOMString &value )
166 {
167  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_LONGDESC, value);
168 }
169 
170 DOMString HTMLFrameElement::marginHeight() const
171 {
172  if(!impl) return DOMString();
173  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINHEIGHT);
174 }
175 
176 void HTMLFrameElement::setMarginHeight( const DOMString &value )
177 {
178  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINHEIGHT, value);
179 }
180 
181 DOMString HTMLFrameElement::marginWidth() const
182 {
183  if(!impl) return DOMString();
184  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINWIDTH);
185 }
186 
187 void HTMLFrameElement::setMarginWidth( const DOMString &value )
188 {
189  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINWIDTH, value);
190 }
191 
192 DOMString HTMLFrameElement::name() const
193 {
194  if(!impl) return DOMString();
195  return ((ElementImpl *)impl)->getAttribute(ATTR_NAME);
196 }
197 
198 void HTMLFrameElement::setName( const DOMString &value )
199 {
200  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_NAME, value);
201 }
202 
203 bool HTMLFrameElement::noResize() const
204 {
205  if(!impl) return false;
206  return !((ElementImpl *)impl)->getAttribute(ATTR_NORESIZE).isNull();
207 }
208 
209 void HTMLFrameElement::setNoResize( bool _noResize )
210 {
211  if(impl)
212  {
213  DOMString str;
214  if( _noResize )
215  str = "";
216  ((ElementImpl *)impl)->setAttribute(ATTR_NORESIZE, str);
217  }
218 }
219 
220 DOMString HTMLFrameElement::scrolling() const
221 {
222  if(!impl) return DOMString();
223  return ((ElementImpl *)impl)->getAttribute(ATTR_SCROLLING);
224 }
225 
226 void HTMLFrameElement::setScrolling( const DOMString &value )
227 {
228  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SCROLLING, value);
229 }
230 
231 DOMString HTMLFrameElement::src() const
232 {
233  if(!impl) return DOMString();
234  return ((ElementImpl *)impl)->getAttribute(ATTR_SRC);
235 }
236 
237 void HTMLFrameElement::setSrc( const DOMString &value )
238 {
239  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SRC, value);
240 }
241 
242 Document HTMLFrameElement::contentDocument() const
243 {
244  if (impl) return static_cast<HTMLFrameElementImpl*>(impl)->contentDocument();
245  return Document();
246 }
247 
248 // --------------------------------------------------------------------------
249 
250 HTMLIFrameElement::HTMLIFrameElement() : HTMLElement()
251 {
252 }
253 
254 HTMLIFrameElement::HTMLIFrameElement(const HTMLIFrameElement &other) : HTMLElement(other)
255 {
256 }
257 
258 HTMLIFrameElement::HTMLIFrameElement(HTMLIFrameElementImpl *impl) : HTMLElement(impl)
259 {
260 }
261 
262 HTMLIFrameElement &HTMLIFrameElement::operator = (const Node &other)
263 {
264  assignOther( other, ID_IFRAME );
265  return *this;
266 }
267 
268 HTMLIFrameElement &HTMLIFrameElement::operator = (const HTMLIFrameElement &other)
269 {
270  HTMLElement::operator = (other);
271  return *this;
272 }
273 
274 HTMLIFrameElement::~HTMLIFrameElement()
275 {
276 }
277 
278 DOMString HTMLIFrameElement::align() const
279 {
280  if(!impl) return DOMString();
281  return ((ElementImpl *)impl)->getAttribute(ATTR_ALIGN);
282 }
283 
284 void HTMLIFrameElement::setAlign( const DOMString &value )
285 {
286  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ALIGN, value);
287 }
288 
289 DOMString HTMLIFrameElement::frameBorder() const
290 {
291  if(!impl) return DOMString();
292  return ((ElementImpl *)impl)->getAttribute(ATTR_FRAMEBORDER);
293 }
294 
295 void HTMLIFrameElement::setFrameBorder( const DOMString &value )
296 {
297  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_FRAMEBORDER, value);
298 }
299 
300 DOMString HTMLIFrameElement::height() const
301 {
302  if(!impl) return DOMString();
303  return ((ElementImpl *)impl)->getAttribute(ATTR_HEIGHT);
304 }
305 
306 void HTMLIFrameElement::setHeight( const DOMString &value )
307 {
308  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HEIGHT, value);
309 }
310 
311 DOMString HTMLIFrameElement::longDesc() const
312 {
313  if(!impl) return DOMString();
314  return ((ElementImpl *)impl)->getAttribute(ATTR_LONGDESC);
315 }
316 
317 void HTMLIFrameElement::setLongDesc( const DOMString &value )
318 {
319  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_LONGDESC, value);
320 }
321 
322 DOMString HTMLIFrameElement::marginHeight() const
323 {
324  if(!impl) return DOMString();
325  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINHEIGHT);
326 }
327 
328 void HTMLIFrameElement::setMarginHeight( const DOMString &value )
329 {
330  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINHEIGHT, value);
331 }
332 
333 DOMString HTMLIFrameElement::marginWidth() const
334 {
335  if(!impl) return DOMString();
336  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINWIDTH);
337 }
338 
339 void HTMLIFrameElement::setMarginWidth( const DOMString &value )
340 {
341  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINWIDTH, value);
342 }
343 
344 DOMString HTMLIFrameElement::name() const
345 {
346  if(!impl) return DOMString();
347  return ((ElementImpl *)impl)->getAttribute(ATTR_NAME);
348 }
349 
350 void HTMLIFrameElement::setName( const DOMString &value )
351 {
352  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_NAME, value);
353 }
354 
355 DOMString HTMLIFrameElement::scrolling() const
356 {
357  if(!impl) return DOMString();
358  return ((ElementImpl *)impl)->getAttribute(ATTR_SCROLLING);
359 }
360 
361 void HTMLIFrameElement::setScrolling( const DOMString &value )
362 {
363  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SCROLLING, value);
364 }
365 
366 DOMString HTMLIFrameElement::src() const
367 {
368  if(!impl) return DOMString();
369  DOMString s = ((ElementImpl *)impl)->getAttribute(ATTR_SRC);
370  return !s.isNull() ? impl->document()->completeURL( s.string() ) : s;
371 }
372 
373 void HTMLIFrameElement::setSrc( const DOMString &value )
374 {
375  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SRC, value);
376 }
377 
378 DOMString HTMLIFrameElement::width() const
379 {
380  if(!impl) return DOMString();
381  return ((ElementImpl *)impl)->getAttribute(ATTR_WIDTH);
382 }
383 
384 void HTMLIFrameElement::setWidth( const DOMString &value )
385 {
386  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_WIDTH, value);
387 }
388 
389 Document HTMLIFrameElement::contentDocument() const
390 {
391  if (impl) return static_cast<HTMLIFrameElementImpl*>(impl)->contentDocument();
392  return Document();
393 }
394 
395 // --------------------------------------------------------------------------
396 
397 HTMLFrameSetElement::HTMLFrameSetElement() : HTMLElement()
398 {
399 }
400 
401 HTMLFrameSetElement::HTMLFrameSetElement(const HTMLFrameSetElement &other) : HTMLElement(other)
402 {
403 }
404 
405 HTMLFrameSetElement::HTMLFrameSetElement(HTMLFrameSetElementImpl *impl) : HTMLElement(impl)
406 {
407 }
408 
409 HTMLFrameSetElement &HTMLFrameSetElement::operator = (const Node &other)
410 {
411  assignOther( other, ID_FRAMESET );
412  return *this;
413 }
414 
415 HTMLFrameSetElement &HTMLFrameSetElement::operator = (const HTMLFrameSetElement &other)
416 {
417  HTMLElement::operator = (other);
418  return *this;
419 }
420 
421 HTMLFrameSetElement::~HTMLFrameSetElement()
422 {
423 }
424 
425 DOMString HTMLFrameSetElement::cols() const
426 {
427  if(!impl) return DOMString();
428  return ((ElementImpl *)impl)->getAttribute(ATTR_COLS);
429 }
430 
431 void HTMLFrameSetElement::setCols( const DOMString &value )
432 {
433  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_COLS, value);
434 }
435 
436 DOMString HTMLFrameSetElement::rows() const
437 {
438  if(!impl) return DOMString();
439  return ((ElementImpl *)impl)->getAttribute(ATTR_ROWS);
440 }
441 
442 void HTMLFrameSetElement::setRows( const DOMString &value )
443 {
444  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ROWS, value);
445 }
446 
447 // --------------------------------------------------------------------------
448 
449 HTMLHeadElement::HTMLHeadElement() : HTMLElement()
450 {
451 }
452 
453 HTMLHeadElement::HTMLHeadElement(const HTMLHeadElement &other) : HTMLElement(other)
454 {
455 }
456 
457 HTMLHeadElement::HTMLHeadElement(HTMLHeadElementImpl *impl) : HTMLElement(impl)
458 {
459 }
460 
461 HTMLHeadElement &HTMLHeadElement::operator = (const Node &other)
462 {
463  assignOther( other, ID_HEAD );
464  return *this;
465 }
466 
467 HTMLHeadElement &HTMLHeadElement::operator = (const HTMLHeadElement &other)
468 {
469  HTMLElement::operator = (other);
470  return *this;
471 }
472 
473 HTMLHeadElement::~HTMLHeadElement()
474 {
475 }
476 
477 DOMString HTMLHeadElement::profile() const
478 {
479  if(!impl) return DOMString();
480  return ((ElementImpl *)impl)->getAttribute(ATTR_PROFILE);
481 }
482 
483 void HTMLHeadElement::setProfile( const DOMString &value )
484 {
485  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_PROFILE, value);
486 }
487 
488 // --------------------------------------------------------------------------
489 
490 HTMLHtmlElement::HTMLHtmlElement() : HTMLElement()
491 {
492 }
493 
494 HTMLHtmlElement::HTMLHtmlElement(const HTMLHtmlElement &other) : HTMLElement(other)
495 {
496 }
497 
498 HTMLHtmlElement::HTMLHtmlElement(HTMLHtmlElementImpl *impl) : HTMLElement(impl)
499 {
500 }
501 
502 HTMLHtmlElement &HTMLHtmlElement::operator = (const Node &other)
503 {
504  assignOther( other, ID_HTML );
505  return *this;
506 }
507 
508 HTMLHtmlElement &HTMLHtmlElement::operator = (const HTMLHtmlElement &other)
509 {
510  HTMLElement::operator = (other);
511  return *this;
512 }
513 
514 HTMLHtmlElement::~HTMLHtmlElement()
515 {
516 }
517 
518 DOMString HTMLHtmlElement::version() const
519 {
520  if(!impl) return DOMString();
521  return ((ElementImpl *)impl)->getAttribute(ATTR_VERSION);
522 }
523 
524 void HTMLHtmlElement::setVersion( const DOMString &value )
525 {
526  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_VERSION, value);
527 }
528 
DOM::HTMLIFrameElement::name
DOMString name() const
The frame name (object of the target attribute).
Definition: html_base.cpp:344
DOM::HTMLFrameSetElement::HTMLFrameSetElement
HTMLFrameSetElement()
Definition: html_base.cpp:397
DOM::HTMLHtmlElement::operator=
HTMLHtmlElement & operator=(const HTMLHtmlElement &other)
Definition: html_base.cpp:508
DOM::HTMLBodyElement
The HTML document body.
Definition: html_base.h:49
dom_doc.h
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
DOM::HTMLFrameSetElement::rows
DOMString rows() const
The number of rows of frames in the frameset.
Definition: html_base.cpp:436
DOM::HTMLFrameElement::contentDocument
Document contentDocument() const
Introduced in DOM Level 2.
Definition: html_base.cpp:242
DOM::HTMLHeadElement::HTMLHeadElement
HTMLHeadElement()
Definition: html_base.cpp:449
DOM::HTMLFrameElement::HTMLFrameElement
HTMLFrameElement()
Definition: html_base.cpp:120
DOM::HTMLIFrameElement::setName
void setName(const DOMString &)
see name
Definition: html_base.cpp:350
DOM::HTMLIFrameElement::align
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_base.cpp:278
DOM::HTMLIFrameElement::src
DOMString src() const
A URI designating the initial frame contents.
Definition: html_base.cpp:366
DOM::HTMLFrameElement::frameBorder
DOMString frameBorder() const
Request frame borders.
Definition: html_base.cpp:148
DOM::HTMLIFrameElement::height
DOMString height() const
Frame height.
Definition: html_base.cpp:300
DOM::HTMLBodyElement::setText
void setText(const DOMString &)
see text
Definition: html_base.cpp:103
DOM::HTMLFrameElement::src
DOMString src() const
A URI designating the initial frame contents.
Definition: html_base.cpp:231
DOM::HTMLFrameSetElement::cols
DOMString cols() const
The number of columns of frames in the frameset.
Definition: html_base.cpp:425
DOM::DOMString::string
QString string() const
Definition: dom_string.cpp:236
DOM::HTMLBodyElement::setALink
void setALink(const DOMString &)
see aLink
Definition: html_base.cpp:63
DOM::HTMLIFrameElement::setFrameBorder
void setFrameBorder(const DOMString &)
see frameBorder
Definition: html_base.cpp:295
DOM::HTMLBodyElement::setLink
void setLink(const DOMString &)
see link
Definition: html_base.cpp:93
DOM::HTMLFrameSetElement::operator=
HTMLFrameSetElement & operator=(const HTMLFrameSetElement &other)
Definition: html_base.cpp:415
DOM::HTMLBodyElement::~HTMLBodyElement
~HTMLBodyElement()
Definition: html_base.cpp:54
DOM::HTMLHeadElement::operator=
HTMLHeadElement & operator=(const HTMLHeadElement &other)
Definition: html_base.cpp:467
DOM::HTMLHeadElement::~HTMLHeadElement
~HTMLHeadElement()
Definition: html_base.cpp:473
DOM::Element::Document
friend class Document
Definition: dom_element.h:211
DOM::HTMLHtmlElement::version
DOMString version() const
Version information about the document's DTD.
Definition: html_base.cpp:518
DOM::HTMLIFrameElement::operator=
HTMLIFrameElement & operator=(const HTMLIFrameElement &other)
Definition: html_base.cpp:268
DOM::HTMLFrameElement
Create a frame.
Definition: html_base.h:162
DOM::HTMLIFrameElement::setLongDesc
void setLongDesc(const DOMString &)
see longDesc
Definition: html_base.cpp:317
DOM::HTMLIFrameElement::HTMLIFrameElement
HTMLIFrameElement()
Definition: html_base.cpp:250
DOM::HTMLIFrameElement::frameBorder
DOMString frameBorder() const
Request frame borders.
Definition: html_base.cpp:289
DOM::HTMLFrameElement::longDesc
DOMString longDesc() const
URI designating a long description of this image or frame.
Definition: html_base.cpp:159
DOM::HTMLIFrameElement::setHeight
void setHeight(const DOMString &)
see height
Definition: html_base.cpp:306
DOM::HTMLIFrameElement::marginHeight
DOMString marginHeight() const
Frame margin height, in pixels.
Definition: html_base.cpp:322
DOM::HTMLFrameElement::scrolling
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
Definition: html_base.cpp:220
DOM::HTMLFrameSetElement::setCols
void setCols(const DOMString &)
see cols
Definition: html_base.cpp:431
DOM::HTMLBodyElement::setVLink
void setVLink(const DOMString &)
see vLink
Definition: html_base.cpp:113
DOM::HTMLFrameElement::setSrc
void setSrc(const DOMString &)
see src
Definition: html_base.cpp:237
DOM::HTMLIFrameElement::~HTMLIFrameElement
~HTMLIFrameElement()
Definition: html_base.cpp:274
DOM::DOMString::isNull
bool isNull() const
Definition: dom_string.h:121
DOM::HTMLIFrameElement::setScrolling
void setScrolling(const DOMString &)
see scrolling
Definition: html_base.cpp:361
DOM::HTMLFrameElement::noResize
bool noResize() const
When true, forbid user from resizing frame.
Definition: html_base.cpp:203
DOM::HTMLIFrameElement::longDesc
DOMString longDesc() const
URI designating a long description of this image or frame.
Definition: html_base.cpp:311
DOM::HTMLBodyElement::bgColor
DOMString bgColor() const
Document background color.
Definition: html_base.cpp:78
DOM::HTMLIFrameElement::width
DOMString width() const
Frame width.
Definition: html_base.cpp:378
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
DOM::HTMLFrameSetElement::setRows
void setRows(const DOMString &)
see rows
Definition: html_base.cpp:442
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:245
DOM::HTMLFrameElement::setName
void setName(const DOMString &)
see name
Definition: html_base.cpp:198
DOM::HTMLBodyElement::setBackground
void setBackground(const DOMString &)
see background
Definition: html_base.cpp:73
DOM::HTMLFrameElement::operator=
HTMLFrameElement & operator=(const HTMLFrameElement &other)
Definition: html_base.cpp:138
DOM::HTMLFrameSetElement::~HTMLFrameSetElement
~HTMLFrameSetElement()
Definition: html_base.cpp:421
DOM::HTMLFrameElement::marginWidth
DOMString marginWidth() const
Frame margin width, in pixels.
Definition: html_base.cpp:181
DOM::HTMLIFrameElement::contentDocument
Document contentDocument() const
Introduced in DOM Level 2.
Definition: html_base.cpp:389
DOM::Node::impl
NodeImpl * impl
Definition: dom_node.h:948
DOM::HTMLHtmlElement::HTMLHtmlElement
HTMLHtmlElement()
Definition: html_base.cpp:490
DOM::HTMLFrameElement::marginHeight
DOMString marginHeight() const
Frame margin height, in pixels.
Definition: html_base.cpp:170
DOM::HTMLFrameElement::setMarginWidth
void setMarginWidth(const DOMString &)
see marginWidth
Definition: html_base.cpp:187
DOM::HTMLIFrameElement::scrolling
DOMString scrolling() const
Specify whether or not the frame should have scrollbars.
Definition: html_base.cpp:355
DOM::HTMLElement::operator=
HTMLElement & operator=(const HTMLElement &other)
Definition: html_element.cpp:41
DOM::HTMLIFrameElement::setWidth
void setWidth(const DOMString &)
see width
Definition: html_base.cpp:384
DOM::HTMLIFrameElement::setMarginHeight
void setMarginHeight(const DOMString &)
see marginHeight
Definition: html_base.cpp:328
DOM::HTMLBodyElement::HTMLBodyElement
HTMLBodyElement()
Definition: html_base.cpp:30
DOM::HTMLIFrameElement::marginWidth
DOMString marginWidth() const
Frame margin width, in pixels.
Definition: html_base.cpp:333
DOM::HTMLFrameSetElement
Create a grid of frames.
Definition: html_base.h:308
DOM::HTMLBodyElement::aLink
DOMString aLink() const
Color of active links (after mouse-button down, but before mouse-button up).
Definition: html_base.cpp:58
DOM::HTMLIFrameElement
Inline subwindows.
Definition: html_base.h:361
DOM::HTMLBodyElement::setBgColor
void setBgColor(const DOMString &)
see bgColor
Definition: html_base.cpp:83
DOM::HTMLIFrameElement::setSrc
void setSrc(const DOMString &)
see src
Definition: html_base.cpp:373
DOM::HTMLIFrameElement::setMarginWidth
void setMarginWidth(const DOMString &)
see marginWidth
Definition: html_base.cpp:339
DOM::HTMLFrameElement::setScrolling
void setScrolling(const DOMString &)
see scrolling
Definition: html_base.cpp:226
DOM::HTMLHtmlElement
Root of an HTML document.
Definition: html_base.h:576
DOM::HTMLFrameElement::name
DOMString name() const
The frame name (object of the target attribute).
Definition: html_base.cpp:192
DOM::HTMLElement::assignOther
void assignOther(const Node &other, int elementId)
Definition: html_element.cpp:176
DOM::HTMLHeadElement::profile
DOMString profile() const
URI designating a metadata profile.
Definition: html_base.cpp:477
DOM::HTMLFrameElement::setNoResize
void setNoResize(bool)
see noResize
Definition: html_base.cpp:209
DOM::HTMLHeadElement
Document head information.
Definition: html_base.h:535
DOM::HTMLBodyElement::background
DOMString background() const
URI of the background texture tile image.
Definition: html_base.cpp:68
DOM::HTMLFrameElement::setMarginHeight
void setMarginHeight(const DOMString &)
see marginHeight
Definition: html_base.cpp:176
DOM::HTMLFrameElement::~HTMLFrameElement
~HTMLFrameElement()
Definition: html_base.cpp:144
DOM::HTMLHtmlElement::~HTMLHtmlElement
~HTMLHtmlElement()
Definition: html_base.cpp:514
DOM::HTMLFrameElement::setFrameBorder
void setFrameBorder(const DOMString &)
see frameBorder
Definition: html_base.cpp:154
DOM::HTMLIFrameElement::setAlign
void setAlign(const DOMString &)
see align
Definition: html_base.cpp:284
DOM::HTMLBodyElement::text
DOMString text() const
Document text color.
Definition: html_base.cpp:98
DOM::HTMLBodyElement::vLink
DOMString vLink() const
Color of links that have been visited by the user.
Definition: html_base.cpp:108
DOM::HTMLBodyElement::link
DOMString link() const
Color of links that are not active and unvisited.
Definition: html_base.cpp:88
DOM::HTMLBodyElement::operator=
HTMLBodyElement & operator=(const HTMLBodyElement &other)
Definition: html_base.cpp:48
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69
html_base.h
DOM::HTMLHeadElement::setProfile
void setProfile(const DOMString &)
see profile
Definition: html_base.cpp:483
DOM::HTMLFrameElement::setLongDesc
void setLongDesc(const DOMString &)
see longDesc
Definition: html_base.cpp:165
DOM::HTMLHtmlElement::setVersion
void setVersion(const DOMString &)
see version
Definition: html_base.cpp:524
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal