.TH "DOM::CSS2BorderSpacing" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::CSS2BorderSpacing \- The \fC \fBCSS2BorderSpacing\fP \fP interface represents the \fCborder-spacing \fP CSS Level 2 property.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <css_extensions.h>\fP
.PP
Inherits \fBDOM::CSSValue\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBCSS2BorderSpacing\fP (const  \fBCSS2BorderSpacing\fP &other)"
.br
.ti -1c
.RI "\fBCSS2BorderSpacing\fP (CSS2BorderSpacingImpl *impl)"
.br
.ti -1c
.RI "\fBCSS2BorderSpacing\fP & \fBoperator=\fP (const  \fBCSS2BorderSpacing\fP &other)"
.br
.ti -1c
.RI "unsigned short \fBhorizontalType\fP () const "
.br
.RI "\fIThe A code defining the type of the value as defined in \fC \fBCSSValue\fP \fP . \fP"
.ti -1c
.RI "unsigned short \fBverticalType\fP () const "
.br
.RI "\fIThe A code defining the type of the value as defined in \fC \fBCSSValue\fP \fP . \fP"
.ti -1c
.RI "float \fBgetHorizontalSpacing\fP (const  float horizontalType)"
.br
.RI "\fIThis method is used to get the float value in a specified unit if the \fC horizontalSpacing \fP represents a length. \fP"
.ti -1c
.RI "float \fBgetVerticalSpacing\fP (const  float verticalType)"
.br
.RI "\fIThis method is used to get the float value in a specified unit if the \fC verticalSpacing \fP represents a length. \fP"
.ti -1c
.RI "void \fBsetHorizontalSpacing\fP (const  unsigned short horizontalType, const  float value)"
.br
.RI "\fIThis method is used to set the horizontal spacing with a specified unit. \fP"
.ti -1c
.RI "void \fBsetVerticalSpacing\fP (const  unsigned short verticalType, const  float value)"
.br
.RI "\fIThis method is used to set the vertical spacing with a specified unit. \fP"
.ti -1c
.RI "void \fBsetInherit\fP ()"
.br
.RI "\fISet this property as inherit. \fP"
.in -1c
.SH "Detailed Description"
.PP 
The \fC \fBCSS2BorderSpacing\fP \fP interface represents the \fCborder-spacing \fP CSS Level 2 property. Definition at line 319 of file css_extensions.h.
.SH "Member Function Documentation"
.PP 
.SS "unsigned short CSS2BorderSpacing::horizontalType () const"
.PP
The A code defining the type of the value as defined in \fC \fBCSSValue\fP \fP . It would be one of \fC CSS_EMS \fP , \fC CSS_EXS \fP , \fC CSS_PX \fP , \fC CSS_CM \fP , \fC CSS_MM \fP , \fC CSS_IN \fP , \fC CSS_PT \fP , \fC CSS_PC \fP or \fC CSS_INHERIT \fP . Definition at line 191 of file css_extensions.cpp.
.SS "unsigned short CSS2BorderSpacing::verticalType () const"
.PP
The A code defining the type of the value as defined in \fC \fBCSSValue\fP \fP . It would be one of \fC CSS_EMS \fP , \fC CSS_EXS \fP , \fC CSS_PX \fP , \fC CSS_CM \fP , \fC CSS_MM \fP , \fC CSS_IN \fP , \fC CSS_PT \fP , \fC CSS_PC \fP or \fC CSS_INHERIT \fP . Definition at line 197 of file css_extensions.cpp.
.SS "float CSS2BorderSpacing::getHorizontalSpacing (const float horizontalType)"
.PP
This method is used to get the float value in a specified unit if the \fC horizontalSpacing \fP represents a length. If the float doesn't contain a float value or can't be converted into the specified unit, a \fC \fBDOMException\fP \fP is raised.
.PP
\fBParameters:\fP
.RS 4
\fIhorizontalType\fP The specified unit.
.RE
.PP
\fBReturns:\fP
.RS 4
The float value.
.RE
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP INVALID_ACCESS_ERR: Raises if the property doesn't contain a float or the value can't be converted. 
.RE
.PP
Definition at line 203 of file css_extensions.cpp.
.SS "float CSS2BorderSpacing::getVerticalSpacing (const float verticalType)"
.PP
This method is used to get the float value in a specified unit if the \fC verticalSpacing \fP represents a length. If the float doesn't contain a float value or can't be converted into the specified unit, a \fC \fBDOMException\fP \fP is raised. The value is \fC 0 \fP if only the horizontal value has been specified.
.PP
\fBParameters:\fP
.RS 4
\fIverticalType\fP The specified unit.
.RE
.PP
\fBReturns:\fP
.RS 4
The float value.
.RE
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP INVALID_ACCESS_ERR: Raises if the property doesn't contain a float or the value can't be converted. 
.RE
.PP
Definition at line 209 of file css_extensions.cpp.
.SS "void CSS2BorderSpacing::setHorizontalSpacing (const unsigned short horizontalType, const float value)"
.PP
This method is used to set the horizontal spacing with a specified unit. If the vertical value is a length, it sets the vertical spacing to \fC 0 \fP .
.PP
\fBParameters:\fP
.RS 4
\fIhorizontalType\fP The specified unit.
.br
\fIvalue\fP The new value.
.RE
.PP
\fBReturns:\fP
.RS 4
.RE
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP INVALID_ACCESS_ERR: Raises if the specified unit is not a length.
.RE
.PP
NO_MODIFICATION_ALLOWED_ERR: Raises if this property is readonly. Definition at line 215 of file css_extensions.cpp.
.SS "void CSS2BorderSpacing::setVerticalSpacing (const unsigned short verticalType, const float value)"
.PP
This method is used to set the vertical spacing with a specified unit. If the horizontal value is not a length, it sets the vertical spacing to \fC 0 \fP .
.PP
\fBParameters:\fP
.RS 4
\fIverticalType\fP The specified unit.
.br
\fIvalue\fP The new value.
.RE
.PP
\fBReturns:\fP
.RS 4
.RE
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP INVALID_ACCESS_ERR: Raises if the specified unit is not a length or a percentage.
.RE
.PP
NO_MODIFICATION_ALLOWED_ERR: Raises if this property is readonly. Definition at line 221 of file css_extensions.cpp.
.SS "void CSS2BorderSpacing::setInherit ()"
.PP
Set this property as inherit. \fC horizontalType \fP and \fC verticalType \fP will be inherited.
.PP
\fBReturns:\fP
.RS 4
.RE
.PP
Definition at line 227 of file css_extensions.cpp.

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