• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
  • dom
html_object.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * (C) 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 <tdemacros.h>
38
39namespace DOM {
40
41class HTMLAppletElementImpl;
42
50class TDEHTML_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 DOMString hspace() const TDE_DEPRECATED;
171
175 void setHspace( const DOMString &value ) TDE_DEPRECATED;
176
184 DOMString name() const;
185
189 void setName( const DOMString & );
190
198 DOMString object() const;
199
203 void setObject( const DOMString & );
204
213 long getVspace() const;
214
218 void setVspace( long );
219
223 DOMString vspace() const TDE_DEPRECATED;
224
228 void setVspace( const DOMString & ) TDE_DEPRECATED;
229
237 DOMString width() const;
238
242 void setWidth( const DOMString & );
243};
244
245// --------------------------------------------------------------------------
246
247class HTMLObjectElementImpl;
248
258class TDEHTML_EXPORT HTMLObjectElement : public HTMLElement
259{
260public:
261 HTMLObjectElement();
262 HTMLObjectElement(const HTMLObjectElement &other);
263 HTMLObjectElement(const Node &other) : HTMLElement()
264 {(*this)=other;}
265protected:
266 HTMLObjectElement(HTMLObjectElementImpl *impl);
267public:
268
269 HTMLObjectElement & operator = (const HTMLObjectElement &other);
270 HTMLObjectElement & operator = (const Node &other);
271
272 ~HTMLObjectElement();
273
280 HTMLFormElement form() const;
281
287 DOMString code() const;
288
292 void setCode( const DOMString & );
293
302 DOMString align() const;
303
307 void setAlign( const DOMString & );
308
315 DOMString archive() const;
316
320 void setArchive( const DOMString & );
321
329 DOMString border() const;
330
334 void setBorder( const DOMString & );
335
343 DOMString codeBase() const;
344
348 void setCodeBase( const DOMString & );
349
357 DOMString codeType() const;
358
362 void setCodeType( const DOMString & );
363
370 DOMString data() const;
371
375 void setData( const DOMString & );
376
384 bool declare() const;
385
389 void setDeclare( bool );
390
397 DOMString height() const;
398
402 void setHeight( const DOMString & );
403
412 long getHspace() const;
413
417 void setHspace( long );
418
422 DOMString hspace() const TDE_DEPRECATED;
423
427 void setHspace( const DOMString & ) TDE_DEPRECATED;
428
436 DOMString name() const;
437
441 void setName( const DOMString & );
442
449 DOMString standby() const;
450
454 void setStandby( const DOMString & );
455
463 long tabIndex() const;
464
468 void setTabIndex( long );
469
477 DOMString type() const;
478
482 void setType( const DOMString & );
483
490 DOMString useMap() const;
491
495 void setUseMap( const DOMString & );
496
505 long getVspace() const;
506
510 void setVspace( long );
511
515 DOMString vspace() const TDE_DEPRECATED;
516
520 void setVspace( const DOMString & ) TDE_DEPRECATED;
521
528 DOMString width() const;
529
533 void setWidth( const DOMString & );
534
544 Document contentDocument() const;
545};
546
547// --------------------------------------------------------------------------
548
549class HTMLParamElementImpl;
550
557class TDEHTML_EXPORT HTMLParamElement : public HTMLElement
558{
559public:
560 HTMLParamElement();
561 HTMLParamElement(const HTMLParamElement &other);
562 HTMLParamElement(const Node &other) : HTMLElement()
563 {(*this)=other;}
564protected:
565 HTMLParamElement(HTMLParamElementImpl *impl);
566public:
567
568 HTMLParamElement & operator = (const HTMLParamElement &other);
569 HTMLParamElement & operator = (const Node &other);
570
571 ~HTMLParamElement();
572
579 DOMString name() const;
580
584 void setName( const DOMString & );
585
593 DOMString type() const;
594
598 void setType( const DOMString & );
599
606 DOMString value() const;
607
611 void setValue( const DOMString & );
612
620 DOMString valueType() const;
621
625 void setValueType( const DOMString & );
626};
627
628} // namespace
629
630#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::setWidth
void setWidth(const DOMString &)
see width
Definition html_object.cpp:197
DOM::HTMLAppletElement::getVspace
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
Definition html_object.cpp:179
DOM::HTMLAppletElement::width
DOMString width() const
Override width.
Definition html_object.cpp:191
DOM::HTMLAppletElement::archive
DOMString archive() const
Comma-separated archive list.
Definition html_object.cpp:80
DOM::HTMLAppletElement::align
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition html_object.cpp:58
DOM::HTMLAppletElement::HTMLAppletElement
HTMLAppletElement()
This file is part of the DOM implementation for KDE.
Definition html_object.cpp:28
DOM::HTMLAppletElement::setObject
void setObject(const DOMString &)
see object
Definition html_object.cpp:163
DOM::HTMLAppletElement::alt
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
Definition html_object.cpp:69
DOM::HTMLAppletElement::setHspace
void setHspace(long)
see hspace
DOM::HTMLAppletElement::setCodeBase
void setCodeBase(const DOMString &value)
see codeBase
Definition html_object.cpp:108
DOM::HTMLAppletElement::setHeight
void setHeight(const DOMString &)
see height
Definition html_object.cpp:119
DOM::HTMLAppletElement::name
DOMString name() const
The name of the applet.
Definition html_object.cpp:146
DOM::HTMLAppletElement::height
DOMString height() const
Override height.
Definition html_object.cpp:113
DOM::HTMLAppletElement::setCode
void setCode(const DOMString &)
see code
Definition html_object.cpp:97
DOM::HTMLAppletElement::getHspace
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
Definition html_object.cpp:135
DOM::HTMLAppletElement::hspace
DOMString hspace() const TDE_DEPRECATED
Definition html_object.cpp:124
DOM::HTMLAppletElement::setVspace
void setVspace(long)
see vspace
DOM::HTMLAppletElement::codeBase
DOMString codeBase() const
Optional base URI for applet.
Definition html_object.cpp:102
DOM::HTMLAppletElement::setArchive
void setArchive(const DOMString &)
see archive
Definition html_object.cpp:86
DOM::HTMLAppletElement::setAlign
void setAlign(const DOMString &)
see align
Definition html_object.cpp:64
DOM::HTMLAppletElement::setAlt
void setAlt(const DOMString &)
see alt
Definition html_object.cpp:75
DOM::HTMLAppletElement::vspace
DOMString vspace() const TDE_DEPRECATED
Definition html_object.cpp:168
DOM::HTMLAppletElement::code
DOMString code() const
Applet class file.
Definition html_object.cpp:91
DOM::HTMLAppletElement::setName
void setName(const DOMString &)
see name
Definition html_object.cpp:152
DOM::HTMLFormElement
The FORM element encompasses behavior similar to a collection and an element.
Definition html_form.h:207
DOM::HTMLObjectElement::setCodeBase
void setCodeBase(const DOMString &)
see codeBase
Definition html_object.cpp:288
DOM::HTMLObjectElement::setDeclare
void setDeclare(bool)
see declare
Definition html_object.cpp:321
DOM::HTMLObjectElement::tabIndex
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition html_object.cpp:387
DOM::HTMLObjectElement::setUseMap
void setUseMap(const DOMString &)
see useMap
Definition html_object.cpp:418
DOM::HTMLObjectElement::setWidth
void setWidth(const DOMString &)
see width
Definition html_object.cpp:451
DOM::HTMLObjectElement::codeType
DOMString codeType() const
Content type for data downloaded via classid attribute.
Definition html_object.cpp:293
DOM::HTMLObjectElement::setArchive
void setArchive(const DOMString &)
see archive
Definition html_object.cpp:266
DOM::HTMLObjectElement::useMap
DOMString useMap() const
Use client-side image map.
Definition html_object.cpp:412
DOM::HTMLObjectElement::setType
void setType(const DOMString &)
see type
Definition html_object.cpp:407
DOM::HTMLObjectElement::data
DOMString data() const
A URI specifying the location of the object's data.
Definition html_object.cpp:304
DOM::HTMLObjectElement::setName
void setName(const DOMString &)
see name
Definition html_object.cpp:371
DOM::HTMLObjectElement::name
DOMString name() const
Form control or object name when submitted with a form.
Definition html_object.cpp:365
DOM::HTMLObjectElement::hspace
DOMString hspace() const TDE_DEPRECATED
Definition html_object.cpp:343
DOM::HTMLObjectElement::align
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition html_object.cpp:249
DOM::HTMLObjectElement::archive
DOMString archive() const
Space-separated list of archives.
Definition html_object.cpp:260
DOM::HTMLObjectElement::setStandby
void setStandby(const DOMString &)
see standby
Definition html_object.cpp:382
DOM::HTMLObjectElement::form
HTMLFormElement form() const
Returns the FORM element containing this control.
Definition html_object.cpp:232
DOM::HTMLObjectElement::setHspace
void setHspace(long)
see hspace
DOM::HTMLObjectElement::setCodeType
void setCodeType(const DOMString &)
see codeType
Definition html_object.cpp:299
DOM::HTMLObjectElement::vspace
DOMString vspace() const TDE_DEPRECATED
Definition html_object.cpp:423
DOM::HTMLObjectElement::getHspace
long getHspace() const
Horizontal space, in pixels, to the left and right of this image, applet, or object.
Definition html_object.cpp:354
DOM::HTMLObjectElement::codeBase
DOMString codeBase() const
Base URI for classid , data , and archive attributes.
Definition html_object.cpp:282
DOM::HTMLObjectElement::code
DOMString code() const
Applet class file.
Definition html_object.cpp:238
DOM::HTMLObjectElement::setData
void setData(const DOMString &)
see data
Definition html_object.cpp:310
DOM::HTMLObjectElement::setHeight
void setHeight(const DOMString &)
see height
Definition html_object.cpp:338
DOM::HTMLObjectElement::setBorder
void setBorder(const DOMString &)
see border
Definition html_object.cpp:277
DOM::HTMLObjectElement::standby
DOMString standby() const
Message to render while loading the object.
Definition html_object.cpp:376
DOM::HTMLObjectElement::height
DOMString height() const
Override height.
Definition html_object.cpp:332
DOM::HTMLObjectElement::setVspace
void setVspace(long)
see vspace
DOM::HTMLObjectElement::setTabIndex
void setTabIndex(long)
see tabIndex
Definition html_object.cpp:393
DOM::HTMLObjectElement::border
DOMString border() const
Width of border around the object.
Definition html_object.cpp:271
DOM::HTMLObjectElement::type
DOMString type() const
Content type for data downloaded via data attribute.
Definition html_object.cpp:401
DOM::HTMLObjectElement::setAlign
void setAlign(const DOMString &)
see align
Definition html_object.cpp:255
DOM::HTMLObjectElement::setCode
void setCode(const DOMString &)
see code
Definition html_object.cpp:244
DOM::HTMLObjectElement::contentDocument
Document contentDocument() const
Introduced in DOM Level 2.
Definition html_object.cpp:456
DOM::HTMLObjectElement::declare
bool declare() const
Declare (for future reference), but do not instantiate, this object.
Definition html_object.cpp:315
DOM::HTMLObjectElement::getVspace
long getVspace() const
Vertical space, in pixels, above and below this image, applet, or object.
Definition html_object.cpp:434
DOM::HTMLObjectElement::width
DOMString width() const
Override width.
Definition html_object.cpp:445
DOM::HTMLParamElement::type
DOMString type() const
Content type for the value attribute when valuetype has the value "ref".
Definition html_object.cpp:503
DOM::HTMLParamElement::setType
void setType(const DOMString &)
see type
Definition html_object.cpp:509
DOM::HTMLParamElement::setValue
void setValue(const DOMString &)
see value
Definition html_object.cpp:520
DOM::HTMLParamElement::name
DOMString name() const
The name of a run-time parameter.
Definition html_object.cpp:492
DOM::HTMLParamElement::valueType
DOMString valueType() const
Information about the meaning of the value attribute value.
Definition html_object.cpp:525
DOM::HTMLParamElement::setValueType
void setValueType(const DOMString &)
see valueType
Definition html_object.cpp:531
DOM::HTMLParamElement::value
DOMString value() const
The value of a run-time parameter.
Definition html_object.cpp:514
DOM::HTMLParamElement::setName
void setName(const DOMString &)
see name
Definition html_object.cpp:498
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:275
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition design.h:57

tdehtml

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

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.15.0
This website is maintained by Timothy Pearson.