27 #ifndef _CSS_css_stylesheet_h_
28 #define _CSS_css_stylesheet_h_
30 #include <dom/dom_string.h>
31 #include <dom/dom_node.h>
32 #include <dom/dom_misc.h>
34 #include <kdelibs_export.h>
94 bool disabled()
const;
99 void setDisabled(
bool );
161 bool isCSSStyleSheet()
const;
162 StyleSheetImpl *handle()
const {
return impl; }
163 bool isNull()
const {
return !impl; }
165 StyleSheetImpl *impl;
180 { code = other.
code;
return *
this; }
192 INVALID_MODIFICATION_ERR = 1,
193 _EXCEPTION_OFFSET = 1000
197 class CSSStyleSheetImpl;
279 unsigned long insertRule (
const DOM::DOMString &rule,
unsigned long index );
297 void deleteRule (
unsigned long index );
301 class StyleSheetListImpl;
327 unsigned long length()
const;
344 StyleSheetListImpl *handle()
const;
348 StyleSheetListImpl *impl;
395 unsigned long length()
const;
438 MediaListImpl *handle()
const;
447 class KHTML_EXPORT LinkStyle
451 LinkStyle(
const LinkStyle &other);
453 LinkStyle & operator = (
const LinkStyle &other);
454 LinkStyle & operator = (
const Node &other);
467 class DocumentStyleImpl;
469 class KHTML_EXPORT DocumentStyle
473 DocumentStyle(
const DocumentStyle &other);
475 DocumentStyle & operator = (
const DocumentStyle &other);
476 DocumentStyle & operator = (
const Document &other);
481 StyleSheetList styleSheets();
483 DOMString preferredStylesheetSet()
const;
484 DOMString selectedStylesheetSet()
const;
485 void setSelectedStylesheetSet(
const DOMString& aString );
487 bool isNull()
const {
return !impl; }
490 DOM::DocumentImpl *doc;
491 DocumentStyleImpl *impl;