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

KHTML

  • sources
  • kde-4.14
  • 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  const DOMString s = ((ElementImpl *)impl)->getAttribute(ATTR_SRC).parsedUrl();
235  return !s.isNull() ? impl->document()->completeURL(s.string()) : s;
236 }
237 
238 void HTMLFrameElement::setSrc( const DOMString &value )
239 {
240  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SRC, value);
241 }
242 
243 Document HTMLFrameElement::contentDocument() const
244 {
245  if (impl) return static_cast<HTMLFrameElementImpl*>(impl)->contentDocument();
246  return Document();
247 }
248 
249 // --------------------------------------------------------------------------
250 
251 HTMLIFrameElement::HTMLIFrameElement() : HTMLElement()
252 {
253 }
254 
255 HTMLIFrameElement::HTMLIFrameElement(const HTMLIFrameElement &other) : HTMLElement(other)
256 {
257 }
258 
259 HTMLIFrameElement::HTMLIFrameElement(HTMLIFrameElementImpl *impl) : HTMLElement(impl)
260 {
261 }
262 
263 HTMLIFrameElement &HTMLIFrameElement::operator = (const Node &other)
264 {
265  assignOther( other, ID_IFRAME );
266  return *this;
267 }
268 
269 HTMLIFrameElement &HTMLIFrameElement::operator = (const HTMLIFrameElement &other)
270 {
271  HTMLElement::operator = (other);
272  return *this;
273 }
274 
275 HTMLIFrameElement::~HTMLIFrameElement()
276 {
277 }
278 
279 DOMString HTMLIFrameElement::align() const
280 {
281  if(!impl) return DOMString();
282  return ((ElementImpl *)impl)->getAttribute(ATTR_ALIGN);
283 }
284 
285 void HTMLIFrameElement::setAlign( const DOMString &value )
286 {
287  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ALIGN, value);
288 }
289 
290 DOMString HTMLIFrameElement::frameBorder() const
291 {
292  if(!impl) return DOMString();
293  return ((ElementImpl *)impl)->getAttribute(ATTR_FRAMEBORDER);
294 }
295 
296 void HTMLIFrameElement::setFrameBorder( const DOMString &value )
297 {
298  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_FRAMEBORDER, value);
299 }
300 
301 DOMString HTMLIFrameElement::height() const
302 {
303  if(!impl) return DOMString();
304  return ((ElementImpl *)impl)->getAttribute(ATTR_HEIGHT);
305 }
306 
307 void HTMLIFrameElement::setHeight( const DOMString &value )
308 {
309  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HEIGHT, value);
310 }
311 
312 DOMString HTMLIFrameElement::longDesc() const
313 {
314  if(!impl) return DOMString();
315  return ((ElementImpl *)impl)->getAttribute(ATTR_LONGDESC);
316 }
317 
318 void HTMLIFrameElement::setLongDesc( const DOMString &value )
319 {
320  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_LONGDESC, value);
321 }
322 
323 DOMString HTMLIFrameElement::marginHeight() const
324 {
325  if(!impl) return DOMString();
326  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINHEIGHT);
327 }
328 
329 void HTMLIFrameElement::setMarginHeight( const DOMString &value )
330 {
331  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINHEIGHT, value);
332 }
333 
334 DOMString HTMLIFrameElement::marginWidth() const
335 {
336  if(!impl) return DOMString();
337  return ((ElementImpl *)impl)->getAttribute(ATTR_MARGINWIDTH);
338 }
339 
340 void HTMLIFrameElement::setMarginWidth( const DOMString &value )
341 {
342  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MARGINWIDTH, value);
343 }
344 
345 DOMString HTMLIFrameElement::name() const
346 {
347  if(!impl) return DOMString();
348  return ((ElementImpl *)impl)->getAttribute(ATTR_NAME);
349 }
350 
351 void HTMLIFrameElement::setName( const DOMString &value )
352 {
353  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_NAME, value);
354 }
355 
356 DOMString HTMLIFrameElement::scrolling() const
357 {
358  if(!impl) return DOMString();
359  return ((ElementImpl *)impl)->getAttribute(ATTR_SCROLLING);
360 }
361 
362 void HTMLIFrameElement::setScrolling( const DOMString &value )
363 {
364  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SCROLLING, value);
365 }
366 
367 DOMString HTMLIFrameElement::src() const
368 {
369  if(!impl) return DOMString();
370  const DOMString s = ((ElementImpl *)impl)->getAttribute(ATTR_SRC).parsedUrl();
371  return !s.isNull() ? impl->document()->completeURL(s.string()) : s;
372 }
373 
374 void HTMLIFrameElement::setSrc( const DOMString &value )
375 {
376  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SRC, value);
377 }
378 
379 DOMString HTMLIFrameElement::width() const
380 {
381  if(!impl) return DOMString();
382  return ((ElementImpl *)impl)->getAttribute(ATTR_WIDTH);
383 }
384 
385 void HTMLIFrameElement::setWidth( const DOMString &value )
386 {
387  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_WIDTH, value);
388 }
389 
390 Document HTMLIFrameElement::contentDocument() const
391 {
392  if (impl) return static_cast<HTMLIFrameElementImpl*>(impl)->contentDocument();
393  return Document();
394 }
395 
396 // --------------------------------------------------------------------------
397 
398 HTMLFrameSetElement::HTMLFrameSetElement() : HTMLElement()
399 {
400 }
401 
402 HTMLFrameSetElement::HTMLFrameSetElement(const HTMLFrameSetElement &other) : HTMLElement(other)
403 {
404 }
405 
406 HTMLFrameSetElement::HTMLFrameSetElement(HTMLFrameSetElementImpl *impl) : HTMLElement(impl)
407 {
408 }
409 
410 HTMLFrameSetElement &HTMLFrameSetElement::operator = (const Node &other)
411 {
412  assignOther( other, ID_FRAMESET );
413  return *this;
414 }
415 
416 HTMLFrameSetElement &HTMLFrameSetElement::operator = (const HTMLFrameSetElement &other)
417 {
418  HTMLElement::operator = (other);
419  return *this;
420 }
421 
422 HTMLFrameSetElement::~HTMLFrameSetElement()
423 {
424 }
425 
426 DOMString HTMLFrameSetElement::cols() const
427 {
428  if(!impl) return DOMString();
429  return ((ElementImpl *)impl)->getAttribute(ATTR_COLS);
430 }
431 
432 void HTMLFrameSetElement::setCols( const DOMString &value )
433 {
434  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_COLS, value);
435 }
436 
437 DOMString HTMLFrameSetElement::rows() const
438 {
439  if(!impl) return DOMString();
440  return ((ElementImpl *)impl)->getAttribute(ATTR_ROWS);
441 }
442 
443 void HTMLFrameSetElement::setRows( const DOMString &value )
444 {
445  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ROWS, value);
446 }
447 
448 // --------------------------------------------------------------------------
449 
450 HTMLHeadElement::HTMLHeadElement() : HTMLElement()
451 {
452 }
453 
454 HTMLHeadElement::HTMLHeadElement(const HTMLHeadElement &other) : HTMLElement(other)
455 {
456 }
457 
458 HTMLHeadElement::HTMLHeadElement(HTMLHeadElementImpl *impl) : HTMLElement(impl)
459 {
460 }
461 
462 HTMLHeadElement &HTMLHeadElement::operator = (const Node &other)
463 {
464  assignOther( other, ID_HEAD );
465  return *this;
466 }
467 
468 HTMLHeadElement &HTMLHeadElement::operator = (const HTMLHeadElement &other)
469 {
470  HTMLElement::operator = (other);
471  return *this;
472 }
473 
474 HTMLHeadElement::~HTMLHeadElement()
475 {
476 }
477 
478 DOMString HTMLHeadElement::profile() const
479 {
480  if(!impl) return DOMString();
481  return ((ElementImpl *)impl)->getAttribute(ATTR_PROFILE);
482 }
483 
484 void HTMLHeadElement::setProfile( const DOMString &value )
485 {
486  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_PROFILE, value);
487 }
488 
489 // --------------------------------------------------------------------------
490 
491 HTMLHtmlElement::HTMLHtmlElement() : HTMLElement()
492 {
493 }
494 
495 HTMLHtmlElement::HTMLHtmlElement(const HTMLHtmlElement &other) : HTMLElement(other)
496 {
497 }
498 
499 HTMLHtmlElement::HTMLHtmlElement(HTMLHtmlElementImpl *impl) : HTMLElement(impl)
500 {
501 }
502 
503 HTMLHtmlElement &HTMLHtmlElement::operator = (const Node &other)
504 {
505  assignOther( other, ID_HTML );
506  return *this;
507 }
508 
509 HTMLHtmlElement &HTMLHtmlElement::operator = (const HTMLHtmlElement &other)
510 {
511  HTMLElement::operator = (other);
512  return *this;
513 }
514 
515 HTMLHtmlElement::~HTMLHtmlElement()
516 {
517 }
518 
519 DOMString HTMLHtmlElement::version() const
520 {
521  if(!impl) return DOMString();
522  return ((ElementImpl *)impl)->getAttribute(ATTR_VERSION);
523 }
524 
525 void HTMLHtmlElement::setVersion( const DOMString &value )
526 {
527  if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_VERSION, value);
528 }
529 
DOM::HTMLIFrameElement::name
DOMString name() const
The frame name (object of the target attribute).
Definition: html_base.cpp:345
DOM::HTMLFrameSetElement::HTMLFrameSetElement
HTMLFrameSetElement()
Definition: html_base.cpp:398
DOM::HTMLHtmlElement::operator=
HTMLHtmlElement & operator=(const HTMLHtmlElement &other)
Definition: html_base.cpp:509
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:437
DOM::HTMLFrameElement::contentDocument
Document contentDocument() const
Introduced in DOM Level 2.
Definition: html_base.cpp:243
DOM::HTMLHeadElement::HTMLHeadElement
HTMLHeadElement()
Definition: html_base.cpp:450
DOM::HTMLFrameElement::HTMLFrameElement
HTMLFrameElement()
Definition: html_base.cpp:120
DOM::HTMLIFrameElement::setName
void setName(const DOMString &)
see name
Definition: html_base.cpp:351
DOM::HTMLIFrameElement::align
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_base.cpp:279
DOM::HTMLIFrameElement::src
DOMString src() const
A URI designating the initial frame contents.
Definition: html_base.cpp:367
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:301
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:426
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:296
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:416
DOM::HTMLBodyElement::~HTMLBodyElement
~HTMLBodyElement()
Definition: html_base.cpp:54
DOM::HTMLHeadElement::operator=
HTMLHeadElement & operator=(const HTMLHeadElement &other)
Definition: html_base.cpp:468
DOM::HTMLHeadElement::~HTMLHeadElement
~HTMLHeadElement()
Definition: html_base.cpp:474
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:519
DOM::HTMLIFrameElement::operator=
HTMLIFrameElement & operator=(const HTMLIFrameElement &other)
Definition: html_base.cpp:269
DOM::HTMLFrameElement
Create a frame.
Definition: html_base.h:162
DOM::HTMLIFrameElement::setLongDesc
void setLongDesc(const DOMString &)
see longDesc
Definition: html_base.cpp:318
DOM::HTMLIFrameElement::HTMLIFrameElement
HTMLIFrameElement()
Definition: html_base.cpp:251
DOM::HTMLIFrameElement::frameBorder
DOMString frameBorder() const
Request frame borders.
Definition: html_base.cpp:290
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:307
DOM::HTMLIFrameElement::marginHeight
DOMString marginHeight() const
Frame margin height, in pixels.
Definition: html_base.cpp:323
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:432
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:238
DOM::HTMLIFrameElement::~HTMLIFrameElement
~HTMLIFrameElement()
Definition: html_base.cpp:275
DOM::DOMString::isNull
bool isNull() const
Definition: dom_string.h:121
DOM::HTMLIFrameElement::setScrolling
void setScrolling(const DOMString &)
see scrolling
Definition: html_base.cpp:362
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:312
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:379
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:443
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:422
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:390
DOM::Node::impl
NodeImpl * impl
Definition: dom_node.h:948
DOM::HTMLHtmlElement::HTMLHtmlElement
HTMLHtmlElement()
Definition: html_base.cpp:491
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:356
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:385
DOM::HTMLIFrameElement::setMarginHeight
void setMarginHeight(const DOMString &)
see marginHeight
Definition: html_base.cpp:329
DOM::HTMLBodyElement::HTMLBodyElement
HTMLBodyElement()
Definition: html_base.cpp:30
DOM::HTMLIFrameElement::marginWidth
DOMString marginWidth() const
Frame margin width, in pixels.
Definition: html_base.cpp:334
DOM::HTMLFrameSetElement
Create a grid of frames.
Definition: html_base.h:308
DOM::DOMString::parsedUrl
DOMString parsedUrl() const
Return a parsed url.
Definition: dom_string.cpp:300
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:374
DOM::HTMLIFrameElement::setMarginWidth
void setMarginWidth(const DOMString &)
see marginWidth
Definition: html_base.cpp:340
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:478
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:515
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:285
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:484
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:525
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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