00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#ifndef _CSS_css_extensionsimpl_h_
00024
#define _CSS_css_extensionsimpl_h_
00025
00026
#include "css_valueimpl.h"
00027
#include "dom_string.h"
00028
00029
namespace DOM {
00030
00031
class CSS2AzimuthImpl :
public CSSValueImpl
00032 {
00033
public:
00034 CSS2AzimuthImpl(DocumentImpl *doc);
00035
00036 ~CSS2AzimuthImpl();
00037
00038
unsigned short azimuthType() const;
00039 DOM::
DOMString identifier() const;
00040
bool behind() const;
00041
void setAngleValue ( const
unsigned short &unitType, const
float &floatValue );
00042
float getAngleValue ( const
unsigned short &unitType );
00043
void setIdentifier ( const DOM::
DOMString &identifier, const
bool &behind );
00044 };
00045
00046
00047 class DOM::
DOMString;
00048
00049 class CSS2BackgroundPositionImpl : public CSSValueImpl
00050 {
00051
public:
00052 CSS2BackgroundPositionImpl(DocumentImpl *doc);
00053
00054 ~CSS2BackgroundPositionImpl();
00055
00056
unsigned short horizontalType() const;
00057
unsigned short verticalType() const;
00058 DOM::DOMString horizontalIdentifier() const;
00059 DOM::DOMString verticalIdentifier() const;
00060
float getHorizontalPosition ( const
float &horizontalType );
00061
float getVerticalPosition ( const
float &verticalType );
00062
void setHorizontalPosition ( const
unsigned short &horizontalType, const
float &value );
00063
void setVerticalPosition ( const
unsigned short &verticalType, const
float &value );
00064
void setPositionIdentifier ( const DOM::DOMString &horizontalIdentifier, const DOM::DOMString &verticalIdentifier );
00065 };
00066
00067
00068
00069 class CSS2BorderSpacingImpl : public CSSValueImpl
00070 {
00071
public:
00072 CSS2BorderSpacingImpl(DocumentImpl *doc);
00073
00074 ~CSS2BorderSpacingImpl();
00075
00076
unsigned short horizontalType() const;
00077
unsigned short verticalType() const;
00078
float getHorizontalSpacing ( const
float &horizontalType );
00079
float getVerticalSpacing ( const
float &verticalType );
00080
void setHorizontalSpacing ( const
unsigned short &horizontalType, const
float &value );
00081
void setVerticalSpacing ( const
unsigned short &verticalType, const
float &value );
00082
void setInherit();
00083 };
00084
00085
00086 class CSS2CounterIncrementImpl
00087 {
00088
public:
00089 CSS2CounterIncrementImpl(DocumentImpl *doc);
00090
00091 ~CSS2CounterIncrementImpl();
00092
00093
short increment() const;
00094
void setIncrement( const
short & );
00095 };
00096
00097
00098 class CSS2CounterResetImpl
00099 {
00100
public:
00101 CSS2CounterResetImpl(DocumentImpl *doc);
00102
00103 ~CSS2CounterResetImpl();
00104
00105
short reset() const;
00106
void setReset( const
short & );
00107 };
00108
00109
00110 class CSS2CursorImpl : public CSSValueImpl
00111 {
00112
public:
00113 CSS2CursorImpl(DocumentImpl *doc);
00114
00115 ~CSS2CursorImpl();
00116
00117
unsigned short cursorType() const;
00118
void setCursorType( const
unsigned short & );
00119
00120
CSSValueList uris() const;
00121 };
00122
00123
00124 class CSS2FontFaceSrcImpl
00125 {
00126
public:
00127 CSS2FontFaceSrcImpl(DocumentImpl *doc);
00128
00129 ~CSS2FontFaceSrcImpl();
00130
00131
CSSValueList format() const;
00132 };
00133
00134
00135 class CSS2FontFaceWidthsImpl
00136 {
00137
public:
00138 CSS2FontFaceWidthsImpl(DocumentImpl *doc);
00139
00140 ~CSS2FontFaceWidthsImpl();
00141
00142
CSSValueList numbers() const;
00143 };
00144
00145
00146 class CSS2PageSizeImpl : public CSSValueImpl
00147 {
00148
public:
00149 CSS2PageSizeImpl(DocumentImpl *doc);
00150
00151 ~CSS2PageSizeImpl();
00152
00153
unsigned short widthType() const;
00154
unsigned short heightType() const;
00155 DOM::DOMString identifier() const;
00156
float getWidth ( const
float &widthType );
00157
float getHeightSize ( const
float &heightType );
00158
void setWidthSize ( const
unsigned short &widthType, const
float &value );
00159
void setHeightSize ( const
unsigned short &heightType, const
float &value );
00160
void setIdentifier ( const DOM::DOMString &identifier );
00161 };
00162
00163
00164 class CSS2PlayDuringImpl : public CSSValueImpl
00165 {
00166
public:
00167 CSS2PlayDuringImpl(DocumentImpl *doc);
00168
00169 ~CSS2PlayDuringImpl();
00170
00171
unsigned short playDuringType() const;
00172
bool mix() const;
00173
00174
void setMix( const
bool & );
00175
bool repeat() const;
00176
00177
void setRepeat( const
bool & );
00178 };
00179
00180
00181 class CSS2PropertiesImpl
00182 {
00183
public:
00184 CSS2PropertiesImpl(DocumentImpl *doc);
00185
00186 ~CSS2PropertiesImpl();
00187 };
00188
00189
00190
class CSS2TextShadowImpl
00191 {
00192
public:
00193 CSS2TextShadowImpl(DocumentImpl *doc);
00194
00195 ~CSS2TextShadowImpl();
00196
00197
CSSValue color() const;
00198
CSSValue horizontal() const;
00199
CSSValue vertical() const;
00200
CSSValue blur() const;
00201 };
00202
00203
00204 };
00205
00206 #endif