.TH "DOM::StyleSheet" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::StyleSheet \- The \fC \fBStyleSheet\fP \fP interface is the abstract base interface for any type of style sheet.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <css_stylesheet.h>\fP
.PP
Inherited by \fBDOM::CSSStyleSheet\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBStyleSheet\fP (const  \fBStyleSheet\fP &other)"
.br
.ti -1c
.RI "\fBStyleSheet\fP (StyleSheetImpl *impl)"
.br
.ti -1c
.RI "\fBStyleSheet\fP & \fBoperator=\fP (const  \fBStyleSheet\fP &other)"
.br
.ti -1c
.RI "\fBDOM::DOMString\fP \fBtype\fP () const "
.br
.RI "\fIThis specifies the style sheet language for this style sheet. \fP"
.ti -1c
.RI "bool \fBdisabled\fP () const "
.br
.RI "\fI\fC false \fP if the style sheet is applied to the document. \fP"
.ti -1c
.RI "void \fBsetDisabled\fP (bool)"
.br
.RI "\fIsee \fBdisabled\fP \fP"
.ti -1c
.RI "\fBDOM::Node\fP \fBownerNode\fP () const "
.br
.RI "\fIThe node that associates this style sheet with the document. \fP"
.ti -1c
.RI "\fBStyleSheet\fP \fBparentStyleSheet\fP () const "
.br
.RI "\fIFor style sheet languages that support the concept of style sheet inclusion, this attribute represents the including style sheet, if one exists. \fP"
.ti -1c
.RI "\fBDOM::DOMString\fP \fBhref\fP () const "
.br
.RI "\fIIf the style sheet is a linked style sheet, the value of its attribute is its location. \fP"
.ti -1c
.RI "\fBDOM::DOMString\fP \fBtitle\fP () const "
.br
.RI "\fIThe advisory title. \fP"
.ti -1c
.RI "\fBMediaList\fP \fBmedia\fP () const "
.br
.RI "\fIThe intended destination media for style information. \fP"
.ti -1c
.RI "bool \fBisCSSStyleSheet\fP () const "
.br
.ti -1c
.RI "StyleSheetImpl * \fBhandle\fP () const "
.br
.ti -1c
.RI "bool \fBisNull\fP () const "
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "StyleSheetImpl * \fBimpl\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fC \fBStyleSheet\fP \fP interface is the abstract base interface for any type of style sheet. 

It represents a single style sheet associated with a structured document. In HTML, the \fBStyleSheet\fP interface represents either an external style sheet, included via the HTML \fCLINK \fP element, or an inline \fCSTYLE \fP element. In XML, this interface represents an external style sheet, included via a \fCstyle sheet processing instruction \fP . 
.PP
Definition at line 58 of file css_stylesheet.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP StyleSheet::type () const"
.PP
This specifies the style sheet language for this style sheet. The style sheet language is specified as a content type (e.g. 'text/css'). The content type is often specified in the \fC ownerNode \fP . A list of registered content types can be found at \fCftp://ftp.isi.edu/in-notes/iana/assignments/media-types/ \fP . Also see the \fCtype attribute definition \fP for the \fC LINK \fP element in HTML 4.0, and the type pseudo-attribute for the XML \fCstyle sheet processing instruction \fP . Definition at line 70 of file css_stylesheet.cpp.
.SS "bool StyleSheet::disabled () const"
.PP
\fC false \fP if the style sheet is applied to the document. \fC true \fP if it is not. Modifying this attribute may cause a reresolution of style for the document. Definition at line 76 of file css_stylesheet.cpp.
.SS "void StyleSheet::setDisabled (bool)"
.PP
see \fBdisabled\fP Definition at line 82 of file css_stylesheet.cpp.
.SS "\fBDOM::Node\fP StyleSheet::ownerNode () const"
.PP
The node that associates this style sheet with the document. For HTML, this may be the corresponding \fC LINK \fP or \fC STYLE \fP element. For XML, it may be the linking processing instruction. For style sheets that are included by other style sheets, this attribute has a value of null. Definition at line 88 of file css_stylesheet.cpp.
.SS "\fBStyleSheet\fP StyleSheet::parentStyleSheet () const"
.PP
For style sheet languages that support the concept of style sheet inclusion, this attribute represents the including style sheet, if one exists. If the style sheet is a top-level style sheet, or the style sheet language does not support inclusion, the value of the attribute is null. Definition at line 94 of file css_stylesheet.cpp.
.SS "\fBDOMString\fP StyleSheet::href () const"
.PP
If the style sheet is a linked style sheet, the value of its attribute is its location. For inline style sheets, the value of this attribute is null. See the \fChref attribute definition \fP for the \fC LINK \fP element in HTML 4.0, and the href pseudo-attribute for the XML \fCstyle sheet processing instruction \fP . Definition at line 100 of file css_stylesheet.cpp.
.SS "\fBDOMString\fP StyleSheet::title () const"
.PP
The advisory title. The title is often specified in the \fC ownerNode \fP . See the \fCtitle attribute definition \fP for the \fC LINK \fP element in HTML 4.0, and the title pseudo-attribute for the XML \fCstyle sheet processing instruction \fP . Definition at line 106 of file css_stylesheet.cpp.
.SS "\fBMediaList\fP StyleSheet::media () const"
.PP
The intended destination media for style information. The media is often specified in the \fC ownerNode \fP . See the \fCmedia attribute definition \fP for the \fC LINK \fP element in HTML 4.0, and the media pseudo-attribute for the XML \fCstyle sheet processing instruction \fP . Definition at line 112 of file css_stylesheet.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
