\section{DOM::Style\-Sheet Class Reference}
\label{classDOM_1_1StyleSheet}\index{DOM::StyleSheet@{DOM::StyleSheet}}
The {\tt {\bf Style\-Sheet}{\rm (p.\,\pageref{classDOM_1_1StyleSheet})}} interface is the abstract base interface for any type of style sheet.  


{\tt \#include $<$css\_\-stylesheet.h$>$}

Inheritance diagram for DOM::Style\-Sheet:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=75pt]{classDOM_1_1StyleSheet__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Style\-Sheet} (const {\bf Style\-Sheet} \&other)\label{classDOM_1_1StyleSheet_a1}

\item 
{\bf Style\-Sheet} (Style\-Sheet\-Impl $\ast$impl)\label{classDOM_1_1StyleSheet_a2}

\item 
{\bf Style\-Sheet} \& {\bf operator=} (const {\bf Style\-Sheet} \&other)\label{classDOM_1_1StyleSheet_a3}

\item 
{\bf DOM::DOMString} {\bf type} () const 
\item 
bool {\bf disabled} () const 
\item 
void {\bf set\-Disabled} (bool)
\item 
{\bf DOM::Node} {\bf owner\-Node} () const 
\item 
{\bf Style\-Sheet} {\bf parent\-Style\-Sheet} () const 
\item 
{\bf DOM::DOMString} {\bf href} () const 
\item 
{\bf DOM::DOMString} {\bf title} () const 
\item 
{\bf Media\-List} {\bf media} () const 
\item 
bool {\bf is\-CSSStyle\-Sheet} () const \label{classDOM_1_1StyleSheet_a13}

\item 
Style\-Sheet\-Impl $\ast$ {\bf handle} () const \label{classDOM_1_1StyleSheet_a14}

\item 
bool {\bf is\-Null} () const \label{classDOM_1_1StyleSheet_a15}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
Style\-Sheet\-Impl $\ast$ {\bf impl}\label{classDOM_1_1StyleSheet_p0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt {\bf Style\-Sheet}{\rm (p.\,\pageref{classDOM_1_1StyleSheet})}} 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 {\bf Style\-Sheet}{\rm (p.\,\pageref{classDOM_1_1StyleSheet})} interface represents either an external style sheet, included via the HTML {\tt LINK } element, or an inline {\tt STYLE } element. In XML, this interface represents an external style sheet, included via a {\tt style sheet processing instruction } . 



Definition at line 58 of file css\_\-stylesheet.h.

\subsection{Member Function Documentation}
\index{DOM::StyleSheet@{DOM::Style\-Sheet}!type@{type}}
\index{type@{type}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Style\-Sheet::type () const}\label{classDOM_1_1StyleSheet_a5}


This specifies the style sheet language for this style sheet. 

The style sheet language is specified as a content type (e.g. \char`\"{}text/css\char`\"{}). The content type is often specified in the {\tt owner\-Node} . A list of registered content types can be found at {\tt ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/ } . Also see the {\tt type attribute definition } for the {\tt LINK} element in HTML 4.0, and the type pseudo-attribute for the XML {\tt style sheet processing instruction } . 

Definition at line 71 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!disabled@{disabled}}
\index{disabled@{disabled}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Style\-Sheet::disabled () const}\label{classDOM_1_1StyleSheet_a6}


{\tt false} if the style sheet is applied to the document. 

{\tt true} if it is not. Modifying this attribute may cause a reresolution of style for the document. 

Definition at line 77 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!setDisabled@{setDisabled}}
\index{setDisabled@{setDisabled}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Style\-Sheet::set\-Disabled (bool)}\label{classDOM_1_1StyleSheet_a7}


see disabled 



Definition at line 83 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!ownerNode@{ownerNode}}
\index{ownerNode@{ownerNode}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOM::Node} Style\-Sheet::owner\-Node () const}\label{classDOM_1_1StyleSheet_a8}


The node that associates this style sheet with the document. 

For HTML, this may be the corresponding {\tt LINK} or {\tt STYLE} 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 89 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!parentStyleSheet@{parentStyleSheet}}
\index{parentStyleSheet@{parentStyleSheet}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Style\-Sheet} Style\-Sheet::parent\-Style\-Sheet () const}\label{classDOM_1_1StyleSheet_a9}


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 95 of file css\_\-stylesheet.cpp.

Referenced by DOM::CSSRule::parent\-Style\-Sheet().\index{DOM::StyleSheet@{DOM::Style\-Sheet}!href@{href}}
\index{href@{href}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Style\-Sheet::href () const}\label{classDOM_1_1StyleSheet_a10}


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 {\tt href attribute definition } for the {\tt LINK} element in HTML 4.0, and the href pseudo-attribute for the XML {\tt style sheet processing instruction } . 

Definition at line 101 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!title@{title}}
\index{title@{title}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Style\-Sheet::title () const}\label{classDOM_1_1StyleSheet_a11}


The advisory title. 

The title is often specified in the {\tt owner\-Node} . See the {\tt title attribute definition } for the {\tt LINK} element in HTML 4.0, and the title pseudo-attribute for the XML {\tt style sheet processing instruction } . 

Definition at line 107 of file css\_\-stylesheet.cpp.\index{DOM::StyleSheet@{DOM::Style\-Sheet}!media@{media}}
\index{media@{media}!DOM::StyleSheet@{DOM::Style\-Sheet}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Media\-List} Style\-Sheet::media () const}\label{classDOM_1_1StyleSheet_a12}


The intended destination media for style information. 

The media is often specified in the {\tt owner\-Node} . See the {\tt media attribute definition } for the {\tt LINK} element in HTML 4.0, and the media pseudo-attribute for the XML {\tt style sheet processing instruction } . 

Definition at line 113 of file css\_\-stylesheet.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
css\_\-stylesheet.h\item 
css\_\-stylesheet.cpp\end{CompactItemize}
