fix logic
[personal-kdelibs.git] / khtml / css / css_extensionsimpl.cpp
blobfbbf267b369e7707136df44b523ed99b4a606341
1 /**
2 * This file is part of the DOM implementation for KDE.
4 * Copyright 1999 Lars Knoll (knoll@kde.org)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #include "DOMException.h"
23 #include "DOMString.h"
25 #include "CSS2AzimuthImpl.h"
26 using namespace DOM;
28 CSS2AzimuthImpl::CSS2AzimuthImpl(DocumentImpl *doc) : CSSValueImpl(doc)
32 CSS2AzimuthImpl::~CSS2AzimuthImpl()
36 unsigned short CSS2AzimuthImpl::azimuthType() const
40 DOMString CSS2AzimuthImpl::identifier() const
44 bool CSS2AzimuthImpl::behind() const
48 void CSS2AzimuthImpl::setAngleValue( const unsigned short &unitType, const float &floatValue )
52 float CSS2AzimuthImpl::getAngleValue( const unsigned short &unitType )
56 void CSS2AzimuthImpl::setIdentifier( const DOMString &identifier, const bool &behind )
64 #include "CSS2BackgroundPositionImpl.h"
65 CSS2BackgroundPositionImpl::CSS2BackgroundPositionImpl(DocumentImpl *doc) : CSSValueImpl(doc)
69 CSS2BackgroundPositionImpl::~CSS2BackgroundPositionImpl()
73 unsigned short CSS2BackgroundPositionImpl::horizontalType() const
77 unsigned short CSS2BackgroundPositionImpl::verticalType() const
81 DOMString CSS2BackgroundPositionImpl::horizontalIdentifier() const
85 DOMString CSS2BackgroundPositionImpl::verticalIdentifier() const
89 float CSS2BackgroundPositionImpl::getHorizontalPosition( const float &horizontalType )
93 float CSS2BackgroundPositionImpl::getVerticalPosition( const float &verticalType )
97 void CSS2BackgroundPositionImpl::setHorizontalPosition( const unsigned short &horizontalType, const float &value )
101 void CSS2BackgroundPositionImpl::setVerticalPosition( const unsigned short &verticalType, const float &value )
105 void CSS2BackgroundPositionImpl::setPositionIdentifier( const DOMString &horizontalIdentifier, const DOMString &verticalIdentifier )
113 #include "CSS2BorderSpacingImpl.h"
114 CSS2BorderSpacingImpl::CSS2BorderSpacingImpl(DocumentImpl *doc) : CSSValueImpl(doc)
118 CSS2BorderSpacingImpl::~CSS2BorderSpacingImpl()
122 unsigned short CSS2BorderSpacingImpl::horizontalType() const
126 unsigned short CSS2BorderSpacingImpl::verticalType() const
130 float CSS2BorderSpacingImpl::getHorizontalSpacing( const float &horizontalType )
134 float CSS2BorderSpacingImpl::getVerticalSpacing( const float &verticalType )
138 void CSS2BorderSpacingImpl::setHorizontalSpacing( const unsigned short &horizontalType, const float &value )
142 void CSS2BorderSpacingImpl::setVerticalSpacing( const unsigned short &verticalType, const float &value )
146 void CSS2BorderSpacingImpl::setInherit()
154 #include "CSS2CounterIncrementImpl.h"
155 CSS2CounterIncrementImpl::CSS2CounterIncrementImpl(DocumentImpl *doc)
159 CSS2CounterIncrementImpl::~CSS2CounterIncrementImpl()
163 short CSS2CounterIncrementImpl::increment() const
167 void CSS2CounterIncrementImpl::setIncrement( const short & )
175 #include "CSS2CounterResetImpl.h"
176 CSS2CounterResetImpl::CSS2CounterResetImpl(DocumentImpl *doc)
180 CSS2CounterResetImpl::~CSS2CounterResetImpl()
184 short CSS2CounterResetImpl::reset() const
188 void CSS2CounterResetImpl::setReset( const short & )
195 #include "CSSValueList.h"
196 #include "CSS2CursorImpl.h"
197 CSS2CursorImpl::CSS2CursorImpl(DocumentImpl *doc) : CSSValueImpl(doc)
201 CSS2CursorImpl::~CSS2CursorImpl()
205 unsigned short CSS2CursorImpl::cursorType() const
209 void CSS2CursorImpl::setCursorType( const unsigned short & )
213 CSSValueList CSS2CursorImpl::uris() const
217 #include "CSS2FontFaceSrcImpl.h"
218 CSS2FontFaceSrcImpl::CSS2FontFaceSrcImpl(DocumentImpl *doc)
222 CSS2FontFaceSrcImpl::~CSS2FontFaceSrcImpl()
226 CSSValueList CSS2FontFaceSrcImpl::format() const
233 #include "CSS2FontFaceWidthsImpl.h"
234 CSS2FontFaceWidthsImpl::CSS2FontFaceWidthsImpl(DocumentImpl *doc)
238 CSS2FontFaceWidthsImpl::~CSS2FontFaceWidthsImpl()
242 CSSValueList CSS2FontFaceWidthsImpl::numbers() const
249 #include "CSS2PageSizeImpl.h"
250 CSS2PageSizeImpl::CSS2PageSizeImpl(DocumentImpl *doc) : CSSValueImpl(doc)
254 CSS2PageSizeImpl::~CSS2PageSizeImpl()
258 unsigned short CSS2PageSizeImpl::widthType() const
262 unsigned short CSS2PageSizeImpl::heightType() const
266 DOMString CSS2PageSizeImpl::identifier() const
270 float CSS2PageSizeImpl::getWidth( const float &widthType )
274 float CSS2PageSizeImpl::getHeightSize( const float &heightType )
278 void CSS2PageSizeImpl::setWidthSize( const unsigned short &widthType, const float &value )
282 void CSS2PageSizeImpl::setHeightSize( const unsigned short &heightType, const float &value )
286 void CSS2PageSizeImpl::setIdentifier( const DOMString &identifier )
293 #include "CSS2PlayDuringImpl.h"
294 CSS2PlayDuringImpl::CSS2PlayDuringImpl(DocumentImpl *doc) : CSSValueImpl(doc)
298 CSS2PlayDuringImpl::~CSS2PlayDuringImpl()
302 unsigned short CSS2PlayDuringImpl::playDuringType() const
306 bool CSS2PlayDuringImpl::mix() const
310 void CSS2PlayDuringImpl::setMix( const bool & )
314 bool CSS2PlayDuringImpl::repeat() const
318 void CSS2PlayDuringImpl::setRepeat( const bool & )
326 #include "CSS2PropertiesImpl.h"
327 CSS2PropertiesImpl::CSS2PropertiesImpl(DocumentImpl *doc)
331 CSS2PropertiesImpl::~CSS2PropertiesImpl()
338 #include "CSSValue.h"
340 #include "CSS2TextShadowImpl.h"
341 CSS2TextShadowImpl::CSS2TextShadowImpl(DocumentImpl *doc)
345 CSS2TextShadowImpl::~CSS2TextShadowImpl()
349 CSSValue CSS2TextShadowImpl::color() const
353 CSSValue CSS2TextShadowImpl::horizontal() const
357 CSSValue CSS2TextShadowImpl::vertical() const
361 CSSValue CSS2TextShadowImpl::blur() const