• 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 
39 namespace DOM {
40 
41 class HTMLAppletElementImpl;
42 
50 class TDEHTML_EXPORT HTMLAppletElement : public HTMLElement
51 {
52 public:
53  HTMLAppletElement();
54  HTMLAppletElement(const HTMLAppletElement &other);
55  HTMLAppletElement(const Node &other) : HTMLElement()
56  {(*this)=other;}
57 protected:
58  HTMLAppletElement(HTMLAppletElementImpl *impl);
59 public:
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 
247 class HTMLObjectElementImpl;
248 
258 class TDEHTML_EXPORT HTMLObjectElement : public HTMLElement
259 {
260 public:
261  HTMLObjectElement();
262  HTMLObjectElement(const HTMLObjectElement &other);
263  HTMLObjectElement(const Node &other) : HTMLElement()
264  {(*this)=other;}
265 protected:
266  HTMLObjectElement(HTMLObjectElementImpl *impl);
267 public:
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 
549 class HTMLParamElementImpl;
550 
557 class TDEHTML_EXPORT HTMLParamElement : public HTMLElement
558 {
559 public:
560  HTMLParamElement();
561  HTMLParamElement(const HTMLParamElement &other);
562  HTMLParamElement(const Node &other) : HTMLElement()
563  {(*this)=other;}
564 protected:
565  HTMLParamElement(HTMLParamElementImpl *impl);
566 public:
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
An embedded Java applet.
Definition: html_object.h:51
DOM::HTMLAppletElement::setHspace
void setHspace(long)
see hspace
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:259
DOM::HTMLObjectElement::setHspace
void setHspace(long)
see hspace
DOM::HTMLParamElement
Parameters fed to the OBJECT element.
Definition: html_object.h:558
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.9.1
This website is maintained by Timothy Pearson.