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