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 <tdelibs_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 TDEHTML_EXPORT LinkStyle
451 LinkStyle(
const LinkStyle &other);
453 LinkStyle & operator = (
const LinkStyle &other);
454 LinkStyle & operator = (
const Node &other);
467 class DocumentStyleImpl;
469 class TDEHTML_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;
This exception is raised when a specific CSS operation is impossible to perform.
unsigned short code
An integer indicating the type of error generated.
The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.
The CSSRule interface is the abstract base interface for any type of CSS statement .
The CSSStyleSheet interface is a concrete interface used to represent a CSS style sheet i....
This class implements the basic string we use in the DOM.
The Node interface is the primary datatype for the entire Document Object Model.
The StyleSheetList interface provides the abstraction of an ordered collection of style sheets.
The StyleSheet interface is the abstract base interface for any type of style sheet.
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...