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

KHTML

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

Skip menu "kdelibs-4.14.38 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
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