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

tdehtml

  • tdehtml
  • dom
html_inline.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#ifndef HTML_INLINE_H
30#define HTML_INLINE_H
31
32#include <dom/html_element.h>
33
34#include <tdelibs_export.h>
35
36namespace DOM {
37class HTMLGenericElementImpl;
38class HTMLAnchorElementImpl;
39class DOMString;
40
47class TDEHTML_EXPORT HTMLAnchorElement : public HTMLElement
48{
49public:
50 HTMLAnchorElement();
51 HTMLAnchorElement(const HTMLAnchorElement &other);
52 HTMLAnchorElement(const Node &other) : HTMLElement()
53 {(*this)=other;}
54protected:
55 HTMLAnchorElement(HTMLAnchorElementImpl *impl);
56public:
57
58 HTMLAnchorElement & operator = (const HTMLAnchorElement &other);
59 HTMLAnchorElement & operator = (const Node &other);
60
61 ~HTMLAnchorElement();
62
70 DOMString accessKey() const;
71
75 void setAccessKey( const DOMString & );
76
83 DOMString charset() const;
84
88 void setCharset( const DOMString & );
89
98 DOMString coords() const;
99
103 void setCoords( const DOMString & );
104
111 DOMString href() const;
112
116 void setHref( const DOMString & );
117
124 DOMString hreflang() const;
125
129 void setHreflang( const DOMString & );
130
137 DOMString name() const;
138
142 void setName( const DOMString & );
143
150 DOMString rel() const;
151
155 void setRel( const DOMString & );
156
163 DOMString rev() const;
164
168 void setRev( const DOMString & );
169
177 DOMString shape() const;
178
182 void setShape( const DOMString & );
183
191 long tabIndex() const;
192
196 void setTabIndex( long );
197
204 DOMString target() const;
205
209 void setTarget( const DOMString & );
210
217 DOMString type() const;
218
222 void setType( const DOMString & );
223
230 void blur ( );
231
238 void focus ( );
239
245 void click ( );
246
247};
248
249// --------------------------------------------------------------------------
250
251class HTMLBRElementImpl;
252
259class TDEHTML_EXPORT HTMLBRElement : public HTMLElement
260{
261public:
262 HTMLBRElement();
263 HTMLBRElement(const HTMLBRElement &other);
264 HTMLBRElement(const Node &other) : HTMLElement()
265 {(*this)=other;}
266protected:
267 HTMLBRElement(HTMLBRElementImpl *impl);
268public:
269
270 HTMLBRElement & operator = (const HTMLBRElement &other);
271 HTMLBRElement & operator = (const Node &other);
272
273 ~HTMLBRElement();
274
282 DOMString clear() const;
283
287 void setClear( const DOMString & );
288};
289
290// --------------------------------------------------------------------------
291
292class HTMLFontElementImpl;
293class DOMString;
294
302class TDEHTML_EXPORT HTMLFontElement : public HTMLElement
303{
304public:
305 HTMLFontElement();
306 HTMLFontElement(const HTMLFontElement &other);
307 HTMLFontElement(const Node &other) : HTMLElement()
308 {(*this)=other;}
309protected:
310 HTMLFontElement(HTMLFontElementImpl *impl);
311public:
312
313 HTMLFontElement & operator = (const HTMLFontElement &other);
314 HTMLFontElement & operator = (const Node &other);
315
316 ~HTMLFontElement();
317
325 DOMString color() const;
326
330 void setColor( const DOMString & );
331
339 DOMString face() const;
340
344 void setFace( const DOMString & );
345
353 DOMString size() const;
354
358 void setSize( const DOMString & );
359};
360
361class HTMLModElementImpl;
362class DOMString;
363
372class TDEHTML_EXPORT HTMLModElement : public HTMLElement
373{
374public:
375 HTMLModElement();
376 HTMLModElement(const HTMLModElement &other);
377 HTMLModElement(const Node &other) : HTMLElement()
378 {(*this)=other;}
379protected:
380 HTMLModElement(HTMLElementImpl *impl);
381public:
382
383 HTMLModElement & operator = (const HTMLModElement &other);
384 HTMLModElement & operator = (const Node &other);
385
386 ~HTMLModElement();
387
394 DOMString cite() const;
395
399 void setCite( const DOMString & );
400
407 DOMString dateTime() const;
408
412 void setDateTime( const DOMString & );
413};
414
415// --------------------------------------------------------------------------
416
417class HTMLQuoteElementImpl;
418
430class TDEHTML_EXPORT HTMLQuoteElement : public HTMLElement
431{
432public:
433 HTMLQuoteElement();
434 HTMLQuoteElement(const HTMLQuoteElement &other);
435 HTMLQuoteElement(const Node &other) : HTMLElement()
436 {(*this)=other;}
437protected:
438 HTMLQuoteElement(HTMLGenericElementImpl *impl);
439public:
440
441 HTMLQuoteElement & operator = (const HTMLQuoteElement &other);
442 HTMLQuoteElement & operator = (const Node &other);
443
444 ~HTMLQuoteElement();
445
453 DOMString cite() const;
454
458 void setCite( const DOMString & );
459};
460
461} //namespace
462
463#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition dom_string.h:44
DOM::HTMLAnchorElement::setAccessKey
void setAccessKey(const DOMString &)
see accessKey
Definition html_inline.cpp:68
DOM::HTMLAnchorElement::rev
DOMString rev() const
Reverse link type.
Definition html_inline.cpp:140
DOM::HTMLAnchorElement::focus
void focus()
Gives keyboard focus to this element.
Definition html_inline.cpp:204
DOM::HTMLAnchorElement::click
void click()
Simulate a mouse-click.
Definition html_inline.cpp:210
DOM::HTMLAnchorElement::setHref
void setHref(const DOMString &)
see href
Definition html_inline.cpp:102
DOM::HTMLAnchorElement::hreflang
DOMString hreflang() const
Language code of the linked resource.
Definition html_inline.cpp:107
DOM::HTMLAnchorElement::coords
DOMString coords() const
Comma-separated list of lengths, defining an active region geometry.
Definition html_inline.cpp:84
DOM::HTMLAnchorElement::type
DOMString type() const
Advisory content type.
Definition html_inline.cpp:187
DOM::HTMLAnchorElement::tabIndex
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition html_inline.cpp:162
DOM::HTMLAnchorElement::setCharset
void setCharset(const DOMString &)
see charset
Definition html_inline.cpp:79
DOM::HTMLAnchorElement::setName
void setName(const DOMString &)
see name
Definition html_inline.cpp:124
DOM::HTMLAnchorElement::setRev
void setRev(const DOMString &)
see rev
Definition html_inline.cpp:146
DOM::HTMLAnchorElement::setShape
void setShape(const DOMString &)
see shape
Definition html_inline.cpp:157
DOM::HTMLAnchorElement::shape
DOMString shape() const
The shape of the active area.
Definition html_inline.cpp:151
DOM::HTMLAnchorElement::setRel
void setRel(const DOMString &)
see rel
Definition html_inline.cpp:135
DOM::HTMLAnchorElement::setHreflang
void setHreflang(const DOMString &)
see hreflang
Definition html_inline.cpp:113
DOM::HTMLAnchorElement::setTarget
void setTarget(const DOMString &)
see target
Definition html_inline.cpp:182
DOM::HTMLAnchorElement::href
DOMString href() const
The URI of the linked resource.
Definition html_inline.cpp:95
DOM::HTMLAnchorElement::blur
void blur()
Removes keyboard focus from this element.
Definition html_inline.cpp:198
DOM::HTMLAnchorElement::accessKey
DOMString accessKey() const
A single character access key to give access to the form control.
Definition html_inline.cpp:62
DOM::HTMLAnchorElement::name
DOMString name() const
Anchor name.
Definition html_inline.cpp:118
DOM::HTMLAnchorElement::setType
void setType(const DOMString &)
see type
Definition html_inline.cpp:193
DOM::HTMLAnchorElement::setCoords
void setCoords(const DOMString &)
see coords
Definition html_inline.cpp:90
DOM::HTMLAnchorElement::setTabIndex
void setTabIndex(long)
see tabIndex
Definition html_inline.cpp:168
DOM::HTMLAnchorElement::target
DOMString target() const
Frame to render the resource in.
Definition html_inline.cpp:176
DOM::HTMLAnchorElement::charset
DOMString charset() const
The character encoding of the linked resource.
Definition html_inline.cpp:73
DOM::HTMLAnchorElement::rel
DOMString rel() const
Forward link type.
Definition html_inline.cpp:129
DOM::HTMLBRElement::setClear
void setClear(const DOMString &)
see clear
Definition html_inline.cpp:252
DOM::HTMLBRElement::clear
DOMString clear() const
Control flow of text around floats.
Definition html_inline.cpp:246
DOM::HTMLFontElement::face
DOMString face() const
Font face identifier.
Definition html_inline.cpp:298
DOM::HTMLFontElement::size
DOMString size() const
Font size.
Definition html_inline.cpp:309
DOM::HTMLFontElement::setFace
void setFace(const DOMString &)
see face
Definition html_inline.cpp:304
DOM::HTMLFontElement::setColor
void setColor(const DOMString &)
see color
Definition html_inline.cpp:293
DOM::HTMLFontElement::color
DOMString color() const
Font color.
Definition html_inline.cpp:287
DOM::HTMLFontElement::setSize
void setSize(const DOMString &)
see size
Definition html_inline.cpp:315
DOM::HTMLModElement::setDateTime
void setDateTime(const DOMString &)
see dateTime
Definition html_inline.cpp:383
DOM::HTMLModElement::setCite
void setCite(const DOMString &)
see cite
Definition html_inline.cpp:372
DOM::HTMLModElement::cite
DOMString cite() const
A URI designating a document that describes the reason for the change.
Definition html_inline.cpp:366
DOM::HTMLModElement::dateTime
DOMString dateTime() const
The date and time of the change.
Definition html_inline.cpp:377
DOM::HTMLQuoteElement::setCite
void setCite(const DOMString &)
see cite
Definition html_inline.cpp:430
DOM::HTMLQuoteElement::cite
DOMString cite() const
A URI designating a document that designates a source document or message.
Definition html_inline.cpp:424
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.