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

KHTML

  • khtml
  • dom
html_object.h
Go to the documentation of this file.
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * Copyright 1999 Lars Knoll (knoll@kde.org)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * This file includes excerpts from the Document Object Model (DOM)
22 * Level 1 Specification (Recommendation)
23 * http://www.w3.org/TR/REC-DOM-Level-1/
24 * Copyright © World Wide Web Consortium , (Massachusetts Institute of
25 * Technology , Institut National de Recherche en Informatique et en
26 * Automatique , Keio University ). All Rights Reserved.
27 *
28 */
29
30// --------------------------------------------------------------------------
31
32#ifndef HTML_OBJECT_H
33#define HTML_OBJECT_H
34
35#include <dom/html_element.h>
36#include <dom/html_form.h>
37#include <kdemacros.h>
38
39namespace DOM {
40
41class HTMLAppletElementImpl;
42
50class KHTML_EXPORT HTMLAppletElement : public HTMLElement
51{
52public:
53 HTMLAppletElement();
54 HTMLAppletElement(const HTMLAppletElement &other);
55 HTMLAppletElement(const Node &other) : HTMLElement()
56 {(*this)=other;}
57protected:
58 HTMLAppletElement(HTMLAppletElementImpl *impl);
59public:
60
61 HTMLAppletElement & operator = (const HTMLAppletElement &other);
62 HTMLAppletElement & operator = (const Node &other);
63
64 ~HTMLAppletElement();
65
74 DOMString align() const;
75
79 void setAlign( const DOMString & );
80
89 DOMString alt() const;
90
94 void setAlt( const DOMString & );
95
103 DOMString archive() const;
104
108 void setArchive( const DOMString & );
109
117 DOMString code() const;
118
122 void setCode( const DOMString & );
123
131 DOMString codeBase() const;
132
136 void setCodeBase( const DOMString &value );
137
145 DOMString height() const;
146
150 void setHeight( const DOMString & );
151
160 long getHspace() const;
161
165 void setHspace( long );
166
170#ifndef KDE_NO_DEPRECATED
171 KDE_DEPRECATED DOMString hspace() const;
172#endif
173
177#ifndef KDE_NO_DEPRECATED
178 KDE_DEPRECATED void setHspace( const DOMString &value );
179#endif
180
188 DOMString name() const;
189
193 void setName( const DOMString & );
194
202 DOMString object() const;
203
207 void setObject( const DOMString & );
208
217 long getVspace() const;
218
222 void setVspace( long );
223
227#ifndef KDE_NO_DEPRECATED
228 KDE_DEPRECATED DOMString vspace() const;
229#endif
230
234#ifndef KDE_NO_DEPRECATED
235 KDE_DEPRECATED void setVspace( const DOMString & );
236#endif
237
245 DOMString width() const;
246
250 void setWidth( const DOMString & );
251};
252
253// --------------------------------------------------------------------------
254
255class HTMLObjectElementImpl;
256
266class KHTML_EXPORT HTMLObjectElement : public HTMLElement
267{
268public:
269 HTMLObjectElement();
270 HTMLObjectElement(const HTMLObjectElement &other);
271 HTMLObjectElement(const Node &other) : HTMLElement()
272 {(*this)=other;}
273protected:
274 HTMLObjectElement(HTMLObjectElementImpl *impl);
275public:
276
277 HTMLObjectElement & operator = (const HTMLObjectElement &other);
278 HTMLObjectElement & operator = (const Node &other);
279
280 ~HTMLObjectElement();
281
288 HTMLFormElement form() const;
289
295 DOMString code() const;
296
300 void setCode( const DOMString & );
301
310 DOMString align() const;
311
315 void setAlign( const DOMString & );
316
323 DOMString archive() const;
324
328 void setArchive( const DOMString & );
329
337 DOMString border() const;
338
342 void setBorder( const DOMString & );
343
351 DOMString codeBase() const;
352
356 void setCodeBase( const DOMString & );
357
365 DOMString codeType() const;
366
370 void setCodeType( const DOMString & );
371
378 DOMString data() const;
379
383 void setData( const DOMString & );
384
392 bool declare() const;
393
397 void setDeclare( bool );
398
405 DOMString height() const;
406
410 void setHeight( const DOMString & );
411
420 long getHspace() const;
421
425 void setHspace( long );
426
430#ifndef KDE_NO_DEPRECATED
431 KDE_DEPRECATED DOMString hspace() const;
432#endif
433
437#ifndef KDE_NO_DEPRECATED
438 KDE_DEPRECATED void setHspace( const DOMString & );
439#endif
440
448 DOMString name() const;
449
453 void setName( const DOMString & );
454
461 DOMString standby() const;
462
466 void setStandby( const DOMString & );
467
475 long tabIndex() const;
476
480 void setTabIndex( long );
481
489 DOMString type() const;
490
494 void setType( const DOMString & );
495
502 DOMString useMap() const;
503
507 void setUseMap( const DOMString & );
508
517 long getVspace() const;
518
522 void setVspace( long );
523
527#ifndef KDE_NO_DEPRECATED
528 KDE_DEPRECATED DOMString vspace() const;
529#endif
530
534#ifndef KDE_NO_DEPRECATED
535 KDE_DEPRECATED void setVspace( const DOMString & );
536#endif
537
544 DOMString width() const;
545
549 void setWidth( const DOMString & );
550
560 Document contentDocument() const;
561};
562
563// --------------------------------------------------------------------------
564
565class HTMLParamElementImpl;
566
573class KHTML_EXPORT HTMLParamElement : public HTMLElement
574{
575public:
576 HTMLParamElement();
577 HTMLParamElement(const HTMLParamElement &other);
578 HTMLParamElement(const Node &other) : HTMLElement()
579 {(*this)=other;}
580protected:
581 HTMLParamElement(HTMLParamElementImpl *impl);
582public:
583
584 HTMLParamElement & operator = (const HTMLParamElement &other);
585 HTMLParamElement & operator = (const Node &other);
586
587 ~HTMLParamElement();
588
595 DOMString name() const;
596
600 void setName( const DOMString & );
601
609 DOMString type() const;
610
614 void setType( const DOMString & );
615
622 DOMString value() const;
623
627 void setValue( const DOMString & );
628
636 DOMString valueType() const;
637
641 void setValueType( const DOMString & );
642};
643
644} // namespace
645
646#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
DOM::HTMLAppletElement
An embedded Java applet.
Definition: html_object.h:51
DOM::HTMLAppletElement::HTMLAppletElement
HTMLAppletElement(const Node &other)
Definition: html_object.h:55
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLFormElement
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:207
DOM::HTMLObjectElement
Generic embedded object.
Definition: html_object.h:267
DOM::HTMLObjectElement::HTMLObjectElement
HTMLObjectElement(const Node &other)
Definition: html_object.h:271
DOM::HTMLParamElement
Parameters fed to the OBJECT element.
Definition: html_object.h:574
DOM::HTMLParamElement::HTMLParamElement
HTMLParamElement(const Node &other)
Definition: html_object.h:578
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
html_element.h
html_form.h
DOM
This library provides a full-featured HTML parser and widget.
Definition: design.h:55
name
const char * name(StandardAction id)
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