00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
#ifndef HTML_INLINE_H
00030
#define HTML_INLINE_H
00031
00032
#include <dom/html_element.h>
00033
00034
#include <kdelibs_export.h>
00035
00036
namespace DOM {
00037
class HTMLGenericElementImpl;
00038
class HTMLAnchorElementImpl;
00039
class DOMString;
00040
00047 class KHTML_EXPORT HTMLAnchorElement :
public HTMLElement
00048 {
00049
public:
00050 HTMLAnchorElement();
00051 HTMLAnchorElement(
const HTMLAnchorElement &other);
00052 HTMLAnchorElement(
const Node &other) :
HTMLElement()
00053 {(*this)=other;}
00054
protected:
00055 HTMLAnchorElement(HTMLAnchorElementImpl *impl);
00056
public:
00057
00058 HTMLAnchorElement & operator = (
const HTMLAnchorElement &other);
00059 HTMLAnchorElement & operator = (
const Node &other);
00060
00061 ~HTMLAnchorElement();
00062
00070
DOMString accessKey()
const;
00071
00075
void setAccessKey(
const DOMString & );
00076
00083
DOMString charset()
const;
00084
00088
void setCharset(
const DOMString & );
00089
00098
DOMString coords()
const;
00099
00103
void setCoords(
const DOMString & );
00104
00111
DOMString href()
const;
00112
00116
void setHref(
const DOMString & );
00117
00124
DOMString hreflang()
const;
00125
00129
void setHreflang(
const DOMString & );
00130
00137
DOMString name()
const;
00138
00142
void setName(
const DOMString & );
00143
00150
DOMString rel()
const;
00151
00155
void setRel(
const DOMString & );
00156
00163
DOMString rev()
const;
00164
00168
void setRev(
const DOMString & );
00169
00177
DOMString shape()
const;
00178
00182
void setShape(
const DOMString & );
00183
00191
long tabIndex()
const;
00192
00196
void setTabIndex(
long );
00197
00204
DOMString target()
const;
00205
00209
void setTarget(
const DOMString & );
00210
00217
DOMString type()
const;
00218
00222
void setType(
const DOMString & );
00223
00230
void blur ( );
00231
00238
void focus ( );
00239 };
00240
00241
00242
00243
class HTMLBRElementImpl;
00244
00251 class KHTML_EXPORT HTMLBRElement :
public HTMLElement
00252 {
00253
public:
00254 HTMLBRElement();
00255 HTMLBRElement(
const HTMLBRElement &other);
00256 HTMLBRElement(
const Node &other) :
HTMLElement()
00257 {(*this)=other;}
00258
protected:
00259 HTMLBRElement(HTMLBRElementImpl *impl);
00260
public:
00261
00262 HTMLBRElement & operator = (
const HTMLBRElement &other);
00263 HTMLBRElement & operator = (
const Node &other);
00264
00265 ~HTMLBRElement();
00266
00274
DOMString clear()
const;
00275
00279
void setClear(
const DOMString & );
00280 };
00281
00282
00283
00284
class HTMLFontElementImpl;
00285
class DOMString;
00286
00294 class KHTML_EXPORT HTMLFontElement :
public HTMLElement
00295 {
00296
public:
00297 HTMLFontElement();
00298 HTMLFontElement(
const HTMLFontElement &other);
00299 HTMLFontElement(
const Node &other) :
HTMLElement()
00300 {(*this)=other;}
00301
protected:
00302 HTMLFontElement(HTMLFontElementImpl *impl);
00303
public:
00304
00305 HTMLFontElement & operator = (
const HTMLFontElement &other);
00306 HTMLFontElement & operator = (
const Node &other);
00307
00308 ~HTMLFontElement();
00309
00317
DOMString color()
const;
00318
00322
void setColor(
const DOMString & );
00323
00331
DOMString face()
const;
00332
00336
void setFace(
const DOMString & );
00337
00345
DOMString size()
const;
00346
00350
void setSize(
const DOMString & );
00351 };
00352
00353
class HTMLModElementImpl;
00354
class DOMString;
00355
00364 class KHTML_EXPORT HTMLModElement :
public HTMLElement
00365 {
00366
public:
00367 HTMLModElement();
00368 HTMLModElement(
const HTMLModElement &other);
00369 HTMLModElement(
const Node &other) :
HTMLElement()
00370 {(*this)=other;}
00371
protected:
00372 HTMLModElement(HTMLElementImpl *impl);
00373
public:
00374
00375 HTMLModElement & operator = (
const HTMLModElement &other);
00376 HTMLModElement & operator = (
const Node &other);
00377
00378 ~HTMLModElement();
00379
00386
DOMString cite()
const;
00387
00391
void setCite(
const DOMString & );
00392
00399
DOMString dateTime()
const;
00400
00404
void setDateTime(
const DOMString & );
00405 };
00406
00407
00408
00409
class HTMLQuoteElementImpl;
00410
00422 class KHTML_EXPORT HTMLQuoteElement :
public HTMLElement
00423 {
00424
public:
00425 HTMLQuoteElement();
00426 HTMLQuoteElement(
const HTMLQuoteElement &other);
00427 HTMLQuoteElement(
const Node &other) :
HTMLElement()
00428 {(*this)=other;}
00429
protected:
00430 HTMLQuoteElement(HTMLGenericElementImpl *impl);
00431
public:
00432
00433 HTMLQuoteElement & operator = (
const HTMLQuoteElement &other);
00434 HTMLQuoteElement & operator = (
const Node &other);
00435
00436 ~HTMLQuoteElement();
00437
00445
DOMString cite()
const;
00446
00450
void setCite(
const DOMString & );
00451 };
00452
00453 }
00454
00455
#endif