.TH "DOM::CSS2BorderSpacing" kde3 "11 Jun 2005" "Version Version 3.4.1" "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
.ti -1c
.RI "unsigned short \fBverticalType\fP () const "
.br
.ti -1c
.RI "float \fBgetHorizontalSpacing\fP (const float horizontalType)"
.br
.ti -1c
.RI "float \fBgetVerticalSpacing\fP (const float verticalType)"
.br
.ti -1c
.RI "void \fBsetHorizontalSpacing\fP (const unsigned short horizontalType, const float value)"
.br
.ti -1c
.RI "void \fBsetVerticalSpacing\fP (const unsigned short verticalType, const float value)"
.br
.ti -1c
.RI "void \fBsetInherit\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fC\fBCSS2BorderSpacing\fP\fP interface represents the \fCborder-spacing \fP CSS Level 2 property. 
.PP
Definition at line 317 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 . 
.PP
It would be one of \fCCSS_EMS\fP , \fCCSS_EXS\fP , \fCCSS_PX\fP , \fCCSS_CM\fP , \fCCSS_MM\fP , \fCCSS_IN\fP , \fCCSS_PT\fP , \fCCSS_PC\fP or \fCCSS_INHERIT\fP . 
.PP
Definition at line 190 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 . 
.PP
It would be one of \fCCSS_EMS\fP , \fCCSS_EXS\fP , \fCCSS_PX\fP , \fCCSS_CM\fP , \fCCSS_MM\fP , \fCCSS_IN\fP , \fCCSS_PT\fP , \fCCSS_PC\fP or \fCCSS_INHERIT\fP . 
.PP
Definition at line 196 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 \fChorizontalSpacing\fP represents a length. 
.PP
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

.PP
Definition at line 202 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 \fCverticalSpacing\fP represents a length. 
.PP
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 \fC0\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

.PP
Definition at line 208 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. 
.PP
If the vertical value is a length, it sets the vertical spacing to \fC0\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. 
.PP
Definition at line 214 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. 
.PP
If the horizontal value is not a length, it sets the vertical spacing to \fC0\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. 
.PP
Definition at line 220 of file css_extensions.cpp.
.SS "void CSS2BorderSpacing::setInherit ()"
.PP
Set this property as inherit. 
.PP
\fChorizontalType\fP and \fCverticalType\fP will be inherited.
.PP
\fBReturns:\fP
.RS 4
.RE
.PP

.PP
Definition at line 226 of file css_extensions.cpp.

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